This is a discussion on WLAN connected yet I can't ping anything on the network! within the Linux Networking forums, part of the Linux Forums category; Hi, I've just managed to get my wireless network card to work using ndiswrapper. Strange thing is, everything shows ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
> 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. |
|
|||
|
"Allen McIntosh" <nospam@mouse-potato.com> wrote in message news:WipMd.556$SH6.426@fe10.lga... > > 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. |