My internet connection in Ubuntu 13.10 doesn't work. I can use IP addresses to open websites but not URLs. The DNS server that I connect to is the IP address of my Router. When I connect to the VPN of my employer I can access the web.
I found the following hint to resolve a similar problem on this post. It recommends typing
sudo mv /etc/resolv.conf /etc/backup.resolv.conf
to remove the resolv.conf
file.
This made the problem even worse. When I now try to connect to the VPN it says
The VPN connection failed due to unsuccessful domain name resolution.
I am a rookie on Ubuntu and thus really lost. Any recommendations of what to do?
:~$ cat /etc/network/interface
cat: /etc/network/interface: No such file or directory
:~$ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:cc:5f:25:5b
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:20 Memory:d2500000-d2520000
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:65536 Metric:1
RX packets:884 errors:0 dropped:0 overruns:0 frame:0
TX packets:884 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:69077 (69.0 KB) TX bytes:69077 (69.0 KB)
wlan0 Link encap:Ethernet HWaddr 8c:a9:82:a7:3e:da
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: 2a02:908:f423:4f80:8ea9:82ff:fea7:3eda/64 Scope:Global
inet6 addr: 2a02:908:f423:4f80:11ee:29c5:5d3b:588d/64 Scope:Global
inet6 addr: fe80::8ea9:82ff:fea7:3eda/64 Scope:Link
inet6 addr: 2a02:908:f423:4f80::/128 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:61 errors:0 dropped:0 overruns:0 frame:0
TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8738 (8.7 KB) TX bytes:26478 (26.4 KB)