Jump to content

Mandrake 10.1 and ndiswrapper - almost there...


netsoul
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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 by Steve Scrimpshire
Link to comment
Share on other sites

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 by netsoul
Link to comment
Share on other sites

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)

 

 

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

Link to comment
Share on other sites

It did something. Before:

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

 

After

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

 

You should be able to do

ifconfig wlan0

and see an ip now. If your AP uses dhcp that is.

Link to comment
Share on other sites

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.

 

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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).

 

Well, I don't use DHCP on the access point... Don't know if it's worth trying.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...