Revision: 25664
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 5, 2010 10:58 by voyeg3r
Initial Code
#!/bin/sh # permanent settings for network interface # http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html # edit file: /etc/init.d/100Mbs # sudo vi /etc/init.d/100Mbs #Append following lines: # chmod +x /etc/init.d/100Mbs # update-rc.d 100Mbs defaults # /etc/init.d/100Mbs start ETHTOOL="/usr/sbin/ethtool" DEV="eth0" SPEED="100 duplex full" case "$1" in start) echo -n "Setting eth0 speed 100 duplex full..."; $ETHTOOL -s $DEV speed $SPEED; echo " done.";; stop) ;; esac exit 0
Initial URL
Initial Description
Initial Title
permanent settings for network interface
Initial Tags
Initial Language
Bash