You are not logged in.

#1 2012-03-08 23:43:01

oldpond
Member
Registered: 2010-01-26
Posts: 43

No DNS from Linux, but working DNS from Windows (Solved)

I have a strange problem.  The building I'm in has a wired network.  I have two Arch partitions and one Crunchbang livecd here with me, and when I boot any of them I get an IP address, but no DNS.  Can't ping the router, can't use a browser.  For each of those Linux partitions I get a dhcp address, and it's always the same address.

When I boot the windows partition, i get a different IP address, and dns works fine.  What could be the problem?

Last edited by oldpond (2012-03-17 04:12:36)


oldpond = glide

Offline

#2 2012-03-09 00:02:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: No DNS from Linux, but working DNS from Windows (Solved)

Check your logs for dhcp-related messages. Also, see if a static IP works.

Offline

#3 2012-03-09 00:05:41

oldpond
Member
Registered: 2010-01-26
Posts: 43

Re: No DNS from Linux, but working DNS from Windows (Solved)

tomk wrote:

Check your logs for dhcp-related messages. Also, see if a static IP works.

Will do.  Thx Tomk.  BTW, I can connect to the crappy wireless router they have here no problem from this Arch partition.


oldpond = glide

Offline

#4 2012-03-09 08:19:11

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: No DNS from Linux, but working DNS from Windows (Solved)

oldpond wrote:

Can't ping the router

*This* is the problem you should be looking at. DNS is not the issue - misleading topic title?

Offline

#5 2012-03-11 20:01:19

kazimir
Member
Registered: 2012-01-20
Posts: 81

Re: No DNS from Linux, but working DNS from Windows (Solved)

You could try opendns dns servers: 208.67.222.222 and 208.67.220.220

But I think brebs is right, the problem is probably not dns if you can't ping the router. You should try setting the connection manually and see if it works that way.

Offline

#6 2012-03-11 20:07:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,926

Re: No DNS from Linux, but working DNS from Windows (Solved)

What is the output of ip route  ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2012-03-17 04:11:57

oldpond
Member
Registered: 2010-01-26
Posts: 43

Re: No DNS from Linux, but working DNS from Windows (Solved)

Very strange.  Got home, booted up to my home network, no dns.  Switch (again) from network to networkmanager, and it's working again.  I hope it stays working. smile


oldpond = glide

Offline

Board footer

Powered by FluxBB