I have mandrake 10 (with kernel 2.6.3), centrino wlan 2100b card and try to use it with ndiswrapper v0.8. and wireless tools v0.6 (everything have compiled cleanly). I can successfully get an ip from my wireless router by dhcp. But I can't ping it. If i use the wired network interface, i can get an ip address (also via dhcp) and as well ping the router (and access the internet as well). Here is some sample output from various shell commands :
iwconfig wlan0
wlan0 IEEE 802.11b ESSID:"Blitzz"
Mode:Managed Frequency:2.457GHz Access Point: XX:XX:XX:XX:XX:XX
Bit Rate:11Mb/s
RTS thr:1600 B Fragment thr:2344 B
Encryption key:off
Power Management max timeout:0us mode:All packets received
Link Quality:0/100 Signal level:-53 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
(Is the Link Quality:0/100 normal with intel centrino under linux??)
if i use the eth0 interface, i get:
route
Destination Gateway Genmask Indic Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
ifconfig eth0
eth0 Lien encap:Ethernet HWaddr 00:A0:D1:D8:41:2C
inet adr:192.168.0.2 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::2a0:d1ff:fed8:412c/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9927 errors:0 dropped:0 overruns:0 frame:0
TX packets:8380 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:5598603 (5.3 Mb) TX bytes:1118563 (1.0 Mb)
Interruption:11 Adresse de base:0x1000
with wlan0, this data is consistant as well:
route
Destination Gateway Genmask Indic Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
wlan0 Lien encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet adr:192.168.0.3 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::204:23ff:fe7a:fc5/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:730 errors:0 dropped:0 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:73932 (72.1 Kb) TX bytes:15796 (15.4 Kb)
Interruption:11 Mémoire:d0001000-d0001fff
Now when i ping the router is the part i dont understand:
ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.3 icmp_seq=1 Destination Host Unreachable
From 192.168.0.3 icmp_seq=1 Destination Host Unreachable
From 192.168.0.3 icmp_seq=1 Destination Host Unreachable
From 192.168.0.3 icmp_seq=1 Destination Host Unreachable
From 192.168.0.3 icmp_seq=1 Destination Host Unreachable
From 192.168.0.3 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.0.3 icmp_seq=2 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.0.3 icmp_seq=3 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From 192.168.0.3 icmp_seq=4 Destination Host Unreachable
ping: sendmsg: Operation not permitted
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 received, +9 errors, 100% packet loss, time 3078ms
Some things to consider : wep encryption is disabled on the router side. Works under windows. Power is turned ON on the wireless card. When i boot, i get a message telling me that wlan0 interface could not be initialized successfully, looks like : "no link present. check cable?". My /etc/sysconfig/network-scripts/ifcfg-wlan0 has "TYPE=Wireless".
Please also note that my mac addresses are not really XX:XX:XX:XX:XX:XX. Sorry if some output has french text in it.
Any help would be appreciated, because i am clueless about that. Thanks
