View Single Post
Old 05-16-2007, 11:25 PM   #19
wagnerian
Musicology Student
wagnerian began at the beginning.
 
wagnerian's Avatar
 
Posts: 55
Karma: 45
Join Date: Oct 2006
Location: Seoul, Korea (R.O.K.)
Device: iLiad, BlackBerry Bold 9000, Zaurus C1000
Quote:
Originally Posted by hudson
I just run 'ifup eth0'. If you are using my /etc/network/interfaces file it will automatically load the smc91x kernel module and configure the interface. Likewise, 'ifdown eth0' will unload the module to save on battery.
It works great and even faster than 'connectionMgr' command. Thank you so much!

By the way, 'ifdown' command does not work at once. The SSH connection is closed after that command, but the lamp on the LAN port is still on. The lamp turns off when I execute the same command once again. So I made a semi-wise script:

Code:
ifdown eth0
sleep 1
ifdown eth0

Last edited by wagnerian; 05-16-2007 at 11:28 PM.
wagnerian is offline   Reply With Quote