mandrake 8.2 and internet question

hungrygoose

Senior member
Apr 7, 2001
360
0
0
i just recently installed mandrake 8.2 on a system for the purposes of learning linux.......i am planning on hooking this system to my existing router for internet access.....during the installation, it detected my nic and i selected it as the source of internet, and i specified the ip address as 192.168.1.10, the gateway as 192.168.1.1(router address) and i think the dns as 192.168.1.1 as well....now, whenever i attempt to use Konqueror to browse to a web page, i get an unknown host error.....what am i doing wrong???
 

BlackOmen

Senior member
Aug 23, 2001
526
0
0
While you configured the ip address and gateway correctly, the router is not a DNS server. While I can't speak for all routers, my router acquires some DNS addresses and passes them to clients who use its dhcp function. Since I don't use dhcp, I just connect to my router (Linksys), and find what it's DNS values are.

If you are able to do this with your router, see what it has for DNS address, and add them to /etc/resolv.conf. /etc/resolv.conf has the form

nameserver 10.0.0.1
nameserver 10.0.0.2
nameserver 10.0.0.3

where 10.0.0.1/3 are your dns addresses. You can specify a max of 3 in /etc/resolv.conf.

Of course, this all assumes that your ethernet interface is up. Try pinging the router. Then ping 204.152.189.113 (which is kernel.org) to check if you definitely have a dns problem. Hope it helps.
 

hungrygoose

Senior member
Apr 7, 2001
360
0
0
thanks alot blackomen....i'll give this a try tonight when i get home from work....hopefully that will fix the problem