View Full Version : [ubuntu] I gave wrong eth0 location while configuring network. How do I correct?

July 8th, 2011, 04:47 PM
I tried to configure the network connection in Ubuntu 10.04 LTS by these commands (for ADSL modem):
sudo ifconfig eth0 netmask up
sudo route add default gw eth0
sudo route add default gw
sudo pppoeconf
and following the instructions. Notice that by mistake I have written after eth0 where I should have written 192. May be because of this the network configuration has suffered, though it is working. I can no longer load the page in mozilla firefox. How do I correct this mistake?

July 8th, 2011, 11:39 PM
I presume you've tried re-entering the command with the proper address?
What are the results of ifconfig -a?
The (wrong) changes hold after reboot?