Help - Search - Members - Calendar
Full Version: Wireless LAN problem
MandrivaUsers.org > Advanced Topics > Laptops and Portable Devices
Monky
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
Gowator
hi and welcome
(Is the Link Quality:0/100 normal with intel centrino under linux??)

Erm dunno, I use kwifi on my laptop ...
this has a signal strength/quality... it shows IP etc. graphically so Its quite nice to have running and then fallback on !


what seems to be happening is the default route is somewhat confused between the wired NIC and the wlan...

a quick fix might be to
ifdown eth0
ifdown wlan0
ifup wlan0

then
ifconfig -a
and
route
(just to check)
then later you might wanna play with the link-detect on the wired NIC to stop it coming up if no cable is plugged in ?
iphitus
Gowator: At present the ndiswrapper drivers do not implement link quality and other niceties like that for the simple reason they are not part of the ndis spec and are not documented.

Monky: what model laptop do you have? Brand AND model.
drz
Hi

QUOTE
From 192.168.0.3 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: Operation not permitted

Assuming the firewall is turned on, try:

service shorewall stop

as root

cheers
drz
JonEberger
if you're running shorewall (mandrake firewall), then go to /etc/shorewall and vi the interfaces file. you can change the setting on wlan0 from local to net and that has helped me out. also, i just went through the net detection gui in mcc. that never hurts and it perfectly detected my card.
iphitus
QUOTE (JonEberger @ Nov 26 2004, 08:29 AM)
if you're running shorewall (mandrake firewall), then go to /etc/shorewall and vi the interfaces file.  you can change the setting on wlan0 from local to net and that has helped me out. also, i just went through the net detection gui in mcc.  that never hurts and it perfectly detected my card.
*


This thread is aaaaggesssss old, the guy obviously nevr returned - hence his post count of 1.

besides, now i woulda told him to get ipw2100.sf.net, the proper driver....
JonEberger
good call. i never even thought to look at the date or the post count.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.