Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

WLAN connected yet I can't ping anything on the network!

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2005, 08:04 AM
Default WLAN connected yet I can't ping anything on the network!



Hi,

I've just managed to get my wireless network card to work using ndiswrapper.
Strange thing is, everything shows up correctly in 'ifconfig' and 'iwconfig'
yet I can't seem to ping the Internet or even the gateway on my network. I
get a 'destination host unreachable'. I looked at the routine tables using
'route' and used the Mandrake graphical utillities but I can't get it to
work or even figure out what the problem might be. HardDrake says the DNS
server is set to the same address as the gateway (which is correct) which I
confirmed using /etc/resolv.conf.
Anyone have an idea what could be wrong?

I have both an ADSL router (with built in firewal) and a wireless router
(firewall turned off). The two other wireless clients on the network can
access the internet just fine. There's also a PC directly connected to the
ADSL router via Ethernet.

I can see that there's data being transferred over the wireless card (the
bytes send/received show up in 'ipconfig') but I don't have a clue where
it's going.

One thing: I have to startup the wireless connection as root (using 'su') by
issueing a 'modprobe ndiswrapper'. So it could have to do with permissions,
but I'm not sure. I tried putting 'ndiswrapper' in the /etc/modules but that
didn't seem to make any difference as the card doesn't start up at boot, I
have to start it manually.

Thanks in advance for the help.

H.





Henk Boonsma
Reply With Quote
  #2  
Old 02-03-2005, 12:54 PM
Allen McIntosh
Guest
 
Posts: n/a
Default Re: WLAN connected yet I can't ping anything on the network!

> Anyone have an idea what could be wrong?
You really haven't given us enough information to answer that question.
>
> I have both an ADSL router (with built in firewal) and a wireless router
> (firewall turned off). The two other wireless clients on the network can
> access the internet just fine. There's also a PC directly connected to the
> ADSL router via Ethernet.

Are the other two wireless clients Linux boxes? If so, you ought to be
able to compare configurations.

Does the wireless router have an IP address, and is it supposed to be
doing NAT? If so, can you ping it by IP address? Is there a firewall
on your Linux box, and is it turned off? Is your wireless router
configurable from a web browser, and if so can you reach that? (Try
telnet to port 80.) If you can't reach the wireless router, try running
tcpdump or ethereal/tethereal and see if your system gets a reply when
it ARPs for the router's MAC address. Can you ping the other wireless
clients? If they are Linux boxes, run tcpdump on them & see if they can
see any traffic from the problem machine.
Reply With Quote
  #3  
Old 02-03-2005, 02:56 PM
Henk Boonsma
Guest
 
Posts: n/a
Default Re: WLAN connected yet I can't ping anything on the network!


"Allen McIntosh" <(E-Mail Removed)> wrote in message
news:WipMd.556$(E-Mail Removed)...
> > Anyone have an idea what could be wrong?

> You really haven't given us enough information to answer that question.
> >
> > I have both an ADSL router (with built in firewal) and a wireless router
> > (firewall turned off). The two other wireless clients on the network can
> > access the internet just fine. There's also a PC directly connected to

the
> > ADSL router via Ethernet.

> Are the other two wireless clients Linux boxes? If so, you ought to be
> able to compare configurations.
>
> Does the wireless router have an IP address, and is it supposed to be
> doing NAT? If so, can you ping it by IP address? Is there a firewall
> on your Linux box, and is it turned off? Is your wireless router
> configurable from a web browser, and if so can you reach that? (Try
> telnet to port 80.) If you can't reach the wireless router, try running
> tcpdump or ethereal/tethereal and see if your system gets a reply when
> it ARPs for the router's MAC address. Can you ping the other wireless
> clients? If they are Linux boxes, run tcpdump on them & see if they can
> see any traffic from the problem machine.


The wireless router doesn't do NAT and I can ping both the wireless router
and ADSL modem/router from the other clients within the network. The
firewall on my Linux box isn't turned on. Neither the wireless router nor
the ADSL router can be reached by browser on the Linux box (they both have
web interfaces and other clients on the network can reach them).

I installed and ran 'tcpdump' and I get something like:

arp who has 10.0.0.2 tell 10.0.0.6
arp reply 10.0.0.2 is at c0:ef:19:c9 etc etc

so it seems that it is receiving the ADSL router's MAC address. It keeps
calling out continuously, though. It never stops.


Reply With Quote
Reply

Tags
connected, network, ping, wlan

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
Forum Jump


All times are GMT. The time now is 07:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.