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

Tuesday, August 26, 2008

walkie talkie at home

living in condo townhouse is not as convenient as living in single family house. in California, the popular single family is one flat floor, and condo townhouse normally is multiple floors. we live in 3 floors condo townhouse. recently we found that it is inconvenient for echo between person when they are in different rooms which in different floor in our case. one time, my wife is calling me for help from 2nd floor bath room, and I barely heard her calling since I am in the kitchen and kitchen fan is on. if I am in 3rd floor study room, she must make it real loud from first floor. sometime, she sent her royal army, i.e. my daughter, to carry message to me, this kind of service is off after 9:00p.m. since my daughter get into sleep. How to solve this inconvenient situation? We thought about walkie talkie. walkie talkie is definitely a good idea; however, today we just found a good alternative way: just carry the cellphone, and put it into speaker mode. Since talk time is free between family, we are enjoy this feature due to free!
I will always carry my cell phone, even in the house.

Saturday, May 31, 2008

google IO 2008

Keynote Speaker - Marissa Mayer

Imagination is a musicale

- Muscle need exercise periodically, so do imagination

- Exercise Imagination and build product prototype: Google book, Google map street view

Numbers, numbers, numbers

- Accuracy for prediction

- Quantity and quality

- Test methodology : Split A/B testing

Urgent drown Important

- 50% of go-live product came from 20% time

- Accuracy for prediction

URLs

You Tube

http://code.google.com/p/hello-youtube/

Open Social Lab

http://code.google.com/apis/opensocial/articles/tutorial/io.html

http://chrisschalk - evangelist web site

http://incubator.apache.org/shindig/

http://sites.google.com/a/opensocial.org/opensocial/ opensocial.org

Map API

http://imagine-it.org/google/articles/mapsapi_codelab.html

http://imagine-it.org/google/articles/mapsapi_codelab2.html

Gears API

http://imagine-it.org/google/articles/gears_codelab.html