I want to change my duplex setting to 10Mbps full duplex in Ubuntu 12.04. The same is working fine for temporary change through ethtool eth0 cmd. But when I try to make a permanent change it is not working while I reboot system I am getting no network found and finally after certain try Ubuntu starts without full network support and in which I cannot connect to internet. Below is the code I used for changing duplex speed and link which I followed for making changes a link!
to make it permanent added following lines to /etc/network/interfaces file
sudo gedit /etc/network/interfaces
Add the following line
pre-up /usr/sbin/ethtool -s $IFACE autoneg off 10 duplex full
Save and exit the file
You need to restart networking services using the following command
sudo service network restart