I am using Lubuntu 12.10 as a local server and I am trying to get a static IP from my wireless network. I don't have a problem connecting to the server, I can ssh and view webpages on the same network using 192.168.2.xx, and also with my external IP when on another network.
I change the settings by:
1. Clicking on the wireless tab, selecting my network, and clicking edit.
2. I then click the IPv4 tab and change DHCP to Manual.
3. I add an address: 192.168.2.xx, mask: 255.255.255.0, gateway: 192.168.2.1.
4. I click save.
My problem is I cannot access the internet using domain names when on the Lubuntu machine. I can ping Google's IP Address, but not the domain name. The same thing happens in Chromium.
Ping result: ping: unknown host google.com
Chromium result: Error 137 (net::ERR_NAME_RESOLUTION_FAILED): Unknown Error.
I change my network settings back to DHCP from Manual and it works.
I tried editing /etc/resolvconf/resolv.conf.d/base
and adding nameserver 192.168.2.xx
, but that did not help.
I also tried adding the following to /etc/network/interfaces (but have it commented out now)
auto wlan0
iface wlan0 inet manual
My /etc/hosts
and /etc/resolv.conf
are empty. /etc/network/interfaces
only has eth0
data in it.