netsoul Posted February 21, 2005 Report Share Posted February 21, 2005 Hi guys, I am fighting with mandrake 10.1 and D-Link DWL-650+ on Toshiba laptop. I exactly followed the instructions on the project's site - it compiled and installed successfully. But it doesn't work - no ping - it says "destination host unreachable" - looks like there is a routing problem or what? I assigned IP. but can not ping to my router. Any ideas what I dod wrong? When I look at mandrake's Control Center's Monitor Connections section it says "not connected". Any help is appreciated. Thanks. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 21, 2005 Report Share Posted February 21, 2005 (edited) This'll be alot of hand writing, I guess, but can you post the output of ifconfig wlan0 iwconfig wlano route -n cat /etc/sysconfig/network Run these from a console as root. Edited February 21, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
netsoul Posted February 21, 2005 Author Report Share Posted February 21, 2005 (edited) ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 00:80:C8:16:DC:A5 inet addr:192.168.20.3 Bcast:192.168.20.255 Mask:255.255.255.0 inet6 addr: fe80::280:c8ff:fe16:dca5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:93 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:4074 (3.9 Kb) Memory:21010000-21010fff iwconfig wlan0 wlan0 IEEE 802.11b ESSID:off/any Nickname:"LinSoul-Laptop" Mode:Managed Frequency:2.432GHz Access Point: 00:00:00:00:00:00 Bit Rate=22Mb/s Tx-Power:0 dBm Sensitivity=0/3 RTS thr=4096 B Fragment thr=4095 B Encryption key:0837-8378-3783-77 Security mode:restricted Power Management:off Link Quality:100/100 Signal level:-52 dBm Noise level:-256 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:3 Invalid misc:3 Missed beacon:0 route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.20.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 0.0.0.0 192.168.20.1 0.0.0.0 UG 0 0 0 wlan0 cat /etc/sysconfig/network HOSTNAME=LinSoul-Laptop NETWORKING=yes GATEWAY=192.168.20.1 GATEWAYDEV=wlan0 Ping to localhost is OK Edited February 21, 2005 by netsoul Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 21, 2005 Report Share Posted February 21, 2005 Try as root iwconfig wlan0 key open <<your key here>> (might want to edit out your key up there, too, so everyone doesn't see it...sorry i didn't mention it before) Quote Link to comment Share on other sites More sharing options...
netsoul Posted February 22, 2005 Author Report Share Posted February 22, 2005 Try as root iwconfig wlan0 key open <<your key here>> (might want to edit out your key up there, too, so everyone doesn't see it...sorry i didn't mention it before) <{POST_SNAPBACK}> So, I did it but nothing happened: wlan0 IEEE 802.11b ESSID:"Netsoul" Nickname:"LinSoul-Laptop" Mode:Managed Frequency:2.432GHz Access Point: 00:40:05:57:1C:08 Bit Rate=22Mb/s Tx-Power:0 dBm Sensitivity=0/3 RTS thr=4096 B Fragment thr=4095 B Encryption key:0837-8378-3783-77 Security mode:open Power Management:off Link Quality:100/100 Signal level:-54 dBm Noise level:-256 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:5 Invalid misc:5 Missed beacon:0 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 22, 2005 Report Share Posted February 22, 2005 It did something. Before: Mode:Managed Frequency:2.432GHz Access Point: 00:00:00:00:00:00Bit Rate=22Mb/s Tx-Power:0 dBm Sensitivity=0/3 RTS thr=4096 B Fragment thr=4095 B Encryption key:0837-8378-3783-77 Security mode:restricted After Mode:Managed Frequency:2.432GHz Access Point: 00:40:05:57:1C:08Bit Rate=22Mb/s Tx-Power:0 dBm Sensitivity=0/3 RTS thr=4096 B Fragment thr=4095 B Encryption key:0837-8378-3783-77 Security mode:open You should be able to do ifconfig wlan0 and see an ip now. If your AP uses dhcp that is. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 22, 2005 Report Share Posted February 22, 2005 Also, notice that before, your essid said "Off/any" and now it says "Netsoul", so it's active and talking to the AP. Quote Link to comment Share on other sites More sharing options...
netsoul Posted February 22, 2005 Author Report Share Posted February 22, 2005 Also, notice that before, your essid said "Off/any" and now it says "Netsoul", so it's active and talking to the AP. <{POST_SNAPBACK}> You are right - something happened, but I meant that I still can not ping my router or a nearby PC - "destination host unreachable", however al IP settings are OK and I can ping my localhost. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 22, 2005 Report Share Posted February 22, 2005 So your problem is probably a firewall running on the local computer that doesn't need to be there. Go to mcc -> Security -> Firewall and turn it off. Quote Link to comment Share on other sites More sharing options...
netsoul Posted February 22, 2005 Author Report Share Posted February 22, 2005 So your problem is probably a firewall running on the local computer that doesn't need to be there. Go to mcc -> Security -> Firewall and turn it off. <{POST_SNAPBACK}> It is off. I suspect that there is a problem with routing. As minimum I do not see there localhost default entry - so maybe it screwd up. Care to look at the route -n output earlier in my post? Thanks. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 22, 2005 Report Share Posted February 22, 2005 I don't have a localhost (127.0.0.0) in my routing table either and my boxes work fine. Your routing table looks just like mine except for the actual numbers: root@laptop.mdk /home/omar 0040 22-Feb-05 > 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 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 Have you tried pinging the outside world? By name and/or ip. Quote Link to comment Share on other sites More sharing options...
netsoul Posted February 22, 2005 Author Report Share Posted February 22, 2005 Have you tried pinging the outside world? By name and/or ip. Sure I did. But I even can not reach nearby computers and my router. Outside world is also unreachable... Pretty strange situation. It seems that something very obvious and simple is missiong but where? :unsure: Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 22, 2005 Report Share Posted February 22, 2005 Try using a dynamic ip also and see if the results are any different. In /etc/sysconfig/network-scripts/ifcfg-wlan0: BOOTPROTO=dhcp and comment out the IPADDR= line in there. Then restart the network (you may have to redo your iwconfig commands again). Quote Link to comment Share on other sites More sharing options...
netsoul Posted February 22, 2005 Author Report Share Posted February 22, 2005 Try using a dynamic ip also and see if the results are any different. In /etc/sysconfig/network-scripts/ifcfg-wlan0:BOOTPROTO=dhcp and comment out the IPADDR= line in there. Then restart the network (you may have to redo your iwconfig commands again). <{POST_SNAPBACK}> Well, I don't use DHCP on the access point... Don't know if it's worth trying. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 22, 2005 Report Share Posted February 22, 2005 Well, I don't use DHCP on the access point... Don't know if it's worth trying. <{POST_SNAPBACK}> Well, I'm done here, then. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.