Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linksys WMP55AG gets IP address but no DNS

Reply
Thread Tools Display Modes

Linksys WMP55AG gets IP address but no DNS

 
 
Thomas Hedden
Guest
Posts: n/a

 
      07-26-2006, 01:49 PM
I am trying to configure a Linksys WMP55AG wireless PCI adapter
on SuSE Linux 9.0 (with numerous upgrades).
I already have an integrated wired NIC and a wired 3Com NIC.
Both of those work fine when they are plugged in to the router.
I installed the WMP55AG and ran YaST.
I specified the SSID.
I am not using any encryption.
If I unplug both wired NICs (eth0 and eth1) and boot the computer,
of course they time out without returning an IP address.
The wireless NIC (wlan0) does get an IP address, but when I launch
a browser I am not getting DNS service from the router.
Does anyone have any idea how to get this to work?
Thanks in advance,
Tom
 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      07-26-2006, 03:09 PM
Thomas Hedden <thomas@MAPS_ON_hedden_NO_SPAM.org> writes:

>I am trying to configure a Linksys WMP55AG wireless PCI adapter
>on SuSE Linux 9.0 (with numerous upgrades).
>I already have an integrated wired NIC and a wired 3Com NIC.
>Both of those work fine when they are plugged in to the router.
>I installed the WMP55AG and ran YaST.
>I specified the SSID.
>I am not using any encryption.
>If I unplug both wired NICs (eth0 and eth1) and boot the computer,
>of course they time out without returning an IP address.
>The wireless NIC (wlan0) does get an IP address, but when I launch


OK, so the nic works. Now you need to look at
/etc/resolv.conf
route -n

Can you ping the wireless nic? Can you ping the address in
/etc/resolv.conf? Is it the same as teh address you get for your wired
nics?

>a browser I am not getting DNS service from the router.
>Does anyone have any idea how to get this to work?
>Thanks in advance,
>Tom

 
Reply With Quote
 
Thomas Hedden
Guest
Posts: n/a

 
      07-26-2006, 04:30 PM
Thanks for your quick response and suggestions.

> Now you need to look at
> /etc/resolv.conf
> route -n


[with eth0 up]
$ cat /etc/resolv.conf
[comments removed]
search local
nameserver 192.168.1.1

[with eth0 down]
$ cat /etc/resolv.conf
[comments removed]
search local
[=> no nameserver line! <=]

[with eth0 up]
$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

[with eth0 down]
$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

> Can you ping the wireless nic?

$ ping 192.168.1.109
PING 192.168.1.109 (192.168.1.109) 56(84) bytes of data.
64 bytes from 192.168.1.109: icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from 192.168.1.109: icmp_seq=2 ttl=64 time=0.030 ms
64 bytes from 192.168.1.109: icmp_seq=3 ttl=64 time=0.031 ms
[same with eth0 up or down]

> Can you ping the address in /etc/resolv.conf?

$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.278 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.204 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.284 ms
[same with eth0 up or down]

> Is it the same as the address you get for your wired nics?

With eth0 up, /etc/resolv.conf has "nameserver 192.168.1.1".
I can ping this address whether or not eth0 is up. However,
this nameserver line is absent from /etc/resolv.conf if I
try to connect with wlan0 instead of eth0.

I wonder whether the problem has to do with DHCP. I think
that things are set up so that the nameserver data is
updated via DHCP.

Do you have any ideas?

Thanks in advance.

Tom
--
Unruh wrote:
[snip]
 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      07-26-2006, 06:38 PM
Thomas Hedden <thomas@MAPS_ON_hedden_NO_SPAM.org> writes:

>Thanks for your quick response and suggestions.


> > Now you need to look at
> > /etc/resolv.conf
> > route -n


>[with eth0 up]
>$ cat /etc/resolv.conf
>[comments removed]
>search local
>nameserver 192.168.1.1


>[with eth0 down]
>$ cat /etc/resolv.conf
>[comments removed]
>search local
>[=> no nameserver line! <=]


Well, you will certainly not be able to do anything. with that.
Either dhcp is screwed up or you did not tell it to give you a dns or you
have setup the router not to give dns to wireless clients.


>[with eth0 up]
>$ /sbin/route -n
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use Iface
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
>0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0


>[with eth0 down]
>$ /sbin/route -n
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use Iface
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0


Again, no default destination. I suspect that your router is set up to not
give dns or net access to wireless clients.



> > Can you ping the wireless nic?

>$ ping 192.168.1.109
>PING 192.168.1.109 (192.168.1.109) 56(84) bytes of data.
>64 bytes from 192.168.1.109: icmp_seq=1 ttl=64 time=0.034 ms
>64 bytes from 192.168.1.109: icmp_seq=2 ttl=64 time=0.030 ms
>64 bytes from 192.168.1.109: icmp_seq=3 ttl=64 time=0.031 ms
>[same with eth0 up or down]


> > Can you ping the address in /etc/resolv.conf?

>$ ping 192.168.1.1
>PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
>64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.278 ms
>64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.204 ms
>64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.284 ms
>[same with eth0 up or down]


> > Is it the same as the address you get for your wired nics?

>With eth0 up, /etc/resolv.conf has "nameserver 192.168.1.1".
>I can ping this address whether or not eth0 is up. However,
>this nameserver line is absent from /etc/resolv.conf if I
>try to connect with wlan0 instead of eth0.


>I wonder whether the problem has to do with DHCP. I think
>that things are set up so that the nameserver data is
>updated via DHCP.


Yes, it has to do with dhcp. It is not delivering dns or gateway info for
wireless clients. Misconfiguration of the modem or of the computer.
Now you could just have a little script
echo nameserver 192.168.1.1 >>/etc/resolv.conf
route add default gw 192.168.1.1 wlan0
after you bring up your wireless or find out where the misconfiguration is.



>Do you have any ideas?


>Thanks in advance.


>Tom
>--
>Unruh wrote:
>[snip]

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't access my linksys router's ip address Emmy Network Routers 9 05-29-2007 12:14 AM
Linksys one Mac address grizzle56@gmail.com Wireless Internet 0 04-15-2006 04:56 PM
How to set mac address Linksys IS Wireless Internet 8 03-14-2005 03:42 AM
linksys wmp55ag difficulties jim.strunk Wireless Internet 0 11-28-2004 11:09 PM
Linksys WGA11B and MAC Address Filtering Jon C. Hodgson Wireless Internet 1 12-04-2003 05:47 PM



1 2 3 4 5 6 7 8 9 10 11