Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 3795  / 1 Year ago, mon, march 13, 2023, 1:36:26

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.


More From » wireless

 Answers
6

Please set up DNS nameservers. I suggest the gateway and Google's DNS: 192.168.2.1 and 8.8.8.8.


[#31760] Tuesday, March 14, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
poefor

Total Points: 379
Total Questions: 95
Total Answers: 115

Location: Serbia
Member since Tue, Jul 26, 2022
2 Years ago
poefor questions
;