Thursday, November 27, 2008

recover network setting after stop SSL VPN tunnel.

I use ubuntu in my laptop for the work, and access corporate network with SSL VPN "network connection" . it works well on establishing tunneling, and maintaining connection. the "network connection" creates a tunnel interface tun0-00 with alllocated IP from coportation network, and addes coporates defaut gateway in the routing table along with my home default gateway. It works well .
However, I alway lost internet connection after I signout or stop "network connection". I found that "network connection" not only deleted coporate default gateway entry, but also deleted my home default gateway entry, and caused no default gateway setting.
Big issue? In windows, It may be, however, in ubuntu, I do not think so. To recover all the network setting include default gateway entery, I use a single command : /etc/init.d/networking restart.

Friday, November 7, 2008

New iPod apps

The Top cool ipod apps I used so far:
1. note2self, I can send my voice greeting to my friends instantly
2. say who, voice recognition app, I got person's phone number by just saying his/her name
3. Pandora, instant music
4. Camera, I sent pic instantly to my friend with email.

cool nmap

I like to use nmap to scan the servers in the lab


Starting Nmap 4.53 ( http://insecure.org ) at 2008-11-07 16:03 PST
Interesting ports on server( x.x.x.x):
Not shown: 1707 closed ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
80/tcp open http
280/tcp open http-mgmt
515/tcp open printer
631/tcp open ipp
9100/tcp open jetdirect

Nmap done: 1 IP address (1 host up) scanned in 10.579 seconds