Change NIC characteristic in linux
For some reason, my debian box does not enable my NIC’s gigabit capability. The manual way is :
1. apt-get install ethtool
2. ethtool <interface> -s speed <link speed> duplex full autoneg off – e.g. ethtool eth0 -s speed 100 duplex full autoneg off
3. ifconfig eth0 down
4. ifconfig eth0 up
5. route add default gw <gateway> – e.g. route add default gw 192.168.0.1
run “ethtool eth0″ to check the interface speed.
To make it permanent, add the following to /etc/network/interfaces :
post-up /usr/bin/ethtool eth0 -s speed 100 duplex full autoneg off
post-up route add default gw 192.168.0.1
Cheers !!!
Related posts:
- Configure IPV6 on Apple and Windows Do you have IPV6 network ready in your office?...
- ifconfig – NIC capabilities / functions find out what is the capability of an network interface,...
January 15th, 2008 at 12:58 am
ethtool is damm powerful
March 31st, 2008 at 3:34 pm
Planet Lowyat : yap, it does a great job of changing the settings of the network…