Horas and konnichiwa untuk semua


日本外務省の報復?
April 19, 2005, 3:14 pm
Filed under: jp/General

インドネシアに住むインドネシア人の知り合いは今月また日本に来る予定だったが、在インドネシア日本大使館からビザの申請が却下された。今まで2回も日本にきていたし、前回と同様に日本で仕事しているその知り合いの友人の招聘でビザを申請していたのに、なぜ却下されたかが不思議です、問合せても「領事の判断で却下の理由について分からないし教えることができません」という標準回答しかなかった。

知り合いは中国系のインドネシア人なので、領事は外務省に所属しているから、もしかして中国系を含む中国人への報復?町村外務大臣は北京へいっても中国側から謝罪をもらえなかったし。

いずれにしても残念だった。

中国で会いなさいと知り合いとその友人にいってる。日本人は中国へ行くのは怖がっていて渡航のキャンセルが相次いでいるこの時期は日本から中国へ行くのは絶好のチャンスかも。



Command line PPTP on MacOS X
April 18, 2005, 1:43 am
Filed under: notes/General

In order to do PPTP by command line on MacOS X, check the command using “ps -axlww” while PPTP connection is being made from the GUI (“Internet Connection” in Application).

Take out the last part, i.e., “call VPN (PPTP) Configuration”, which I guess is related to the contents of /Library/Preferences/SystemConfiguration/preferences.plist.

Then create /etc/ppp/chap-secrets as follows:

sudo touch /etc/ppp/chap-secrets
sudo chmod 600 /etc/ppp/chap-secrets

And enter “username * password *”, the first asterisk means any server, and second one means any IP (and, of course change username and password accordingly).

Then fire the command.

Reference:
-Accessing a VPN (PPTP) via the command line
-pppd man
-Setting up the PPTP Server on Mac OS X Server 10.2