View previous topic :: View next topic |
Author |
Message |
ouroboros1827 n00b
Joined: 10 Aug 2005 Posts: 17
|
Posted: Mon Sep 18, 2006 10:14 pm Post subject: [resolved] No DNS resolution with static ip's |
|
|
So, I just installed gentoo (just had an empty windows partition) to try out fvwm-crystal (and as we all know, gentoo's the best for most anything ). I have a router (WRT54G v4) and turned off the dhcp...I use static ip's everywhere in my house (I didn't really enjoy my ip jumping around every reboot).
I have it working on windows fine. WHAT WORKS: I can ping my router (192.168.1.1), and can ping 64.233.167.99 (that would be the ip of google.com). I cannot ping google.com
I've been up and down most every config file I know and can't find anything how to set my dns - I know what it is, I just don't know how to tell gentoo/ifconfig what it is and to use it. Any ideas? Much thanks
Last edited by ouroboros1827 on Tue Sep 19, 2006 2:22 am; edited 1 time in total |
|
Back to top |
|
|
blubyu n00b
Joined: 06 Jan 2005 Posts: 5
|
Posted: Mon Sep 18, 2006 10:37 pm Post subject: |
|
|
Hello fellow noob If I am not mistaken you need to add the following to /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx <-- ip number of your name server.
Save the file and you should be good to go |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Mon Sep 18, 2006 10:40 pm Post subject: |
|
|
For any sort of configuration look at /etc/conf.d/net.example.
In my setup I use a router, with IP of 192.168.2.1, as the gateway with static IP of 192.168.2.200.
Code: | config_eth0=( "192.168.2.200 netmask 255.255.255.0 brd 192.168.2.255" )
routes_eth0=( "default gw 192.168.2.1" )
|
|
|
Back to top |
|
|
ouroboros1827 n00b
Joined: 10 Aug 2005 Posts: 17
|
Posted: Tue Sep 19, 2006 2:21 am Post subject: |
|
|
blubyu wrote: | Hello fellow noob If I am not mistaken you need to add the following to /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx <-- ip number of your name server.
Save the file and you should be good to go |
Thank you SO MUCH
Now I'll know forever ... the ne config file I missed
Cheers |
|
Back to top |
|
|
|