I have been trying to configure my wifi connection so that the DNS values are correct according to what my ISP had provided. To do this I used the network configuration GUI from Ubuntu 14.04 panel and the connection works perfectly:
It might also be of importance to publish the
ifconfig's output when the wi-fi connection was alive and working:
wlan0 Link encap:Ethernet HWaddr 70:1a:04:a4:f0:31 inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::721a:4ff:fea4:f031/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4658 errors:0 dropped:0 overruns:0 frame:0 TX packets:5685 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1534231 (1.5 MB) TX bytes:1228569 (1.2 MB)
My problem occurred when out of curiosity, I tried to set the values provided by the ISP by editing
/etc/network/interfaces. I deleted the numbers from the dialog box shown above and put the below information in the
auto wlan0 iface wlan0 inet static address 192.168.1.120 netmask 255.255.255.0 broadcast 192.168.1.1 dns-nameservers 22.214.171.124 126.96.36.199
Unfortunately after running
sudo service network-manager restart in the terminal, I saw that the wi-fi connection has dropped and there is no networks available anymore.
Would you please help me understand what has been incorrect in either the process I've taken or the data I have entered into the
interfaces file ?