LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Unable to resolve ulr. /et/resolve.conf looks fine? (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-resolve-ulr-et-resolve-conf-looks-fine-620783/)

TheBrick 02-13-2008 05:24 AM

Unable to resolve ulr. /et/resolve.conf looks fine?
 
Hello,

Little problem I hope you can all help me with.

Working from home this morning I plug my laptop into my router. I attempt to connect to the internet with no joy. The only way I can get pages up is to type in the ip addresses directly. I have tried pinging as well but to no avail. The other computer connected to the router (this one) works fine. The laptop works fine at work.

I am running Gentoo 2.6.22 on a Intel Pentium M.

My /etc/conf.d/net
Code:

config_eth0=("dhcp")
dhcp_eth0="nodns nontp nonis"


I added the line

dns_servers=( "192.164.6.112" )

and tried running

Code:
ifconfig eth0


to see if that would help.

I also remover a -N from dhcp_eth0 as I could not find out what that did.

My /etc/resolve.conf

Code:

search math.ucl.ac.uk #This would have come from work I guess to search the local intranet.
nameserver 144.82.100.41
nameserver 144.82.100.97
nameserver 144.82.100.1
nameserver 158.152.1.58
nameserver 207.132.116.5
# I added this next one when I added the dns_server bit to /etc/conf.d/net
nameserver 194.164.6.112


I am by no means an expert so to me this seems very strange. Any help would be greatly recived. I have tried my best googling but all the results I get seem to come down to not haing any info in the /etc/resolve.conf.

Thanks in advance.

P.S my router is a Dynamode 4 port adsl router.

acid_kewpie 02-13-2008 06:29 AM

the file is resolv.conf not resolve.conf... that's be a good reason it wasn't working i guess.

TheBrick 02-13-2008 07:53 AM

No sorry typo on my part, plus remember I have no problems at work.

acid_kewpie 02-14-2008 04:13 AM

ok, so at what point do this stop working? can you ping google by IP? can you do a dig for google.com to get it's IP? can you ping the nameserver ip addresses? can you ping the router? does a traceroute to a public IP head through the router? do you get any subsequent hops before it stops?


All times are GMT -5. The time now is 12:02 AM.