Ok came to know that now /etc/network/interfaces also needs a dns-
nameserver . From what I understand they are the same as in the network-
applet right?

The DNS Servers where one puts stuff. This is what I've put there.

auto lo
iface lo inet loopback

auto eth1 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 61.1.96.69, 61.1.96.71

ifconfig gives this

 sudo ifconfig -a
[sudo] password for shirish: 
eth0      Link encap:Ethernet  HWaddr some address
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:18 Base address:0xc800 

eth1      Link encap:Ethernet  HWaddr some MAC address
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: some address Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:45406 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37771 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:55521183 (55.5 MB)  TX bytes:3939451 (3.9 MB)
          Interrupt:22 Base address:0xcc00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:882 errors:0 dropped:0 overruns:0 frame:0
          TX packets:882 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:52416 (52.4 KB)  TX bytes:52416 (52.4 KB)

-- 
wired connection settings are lost after reboot
https://bugs.launchpad.net/bugs/259214
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to