Odd WLAN Device Problem


 
Thread Tools Search this Thread
Operating Systems Linux Odd WLAN Device Problem
# 1  
Old 02-28-2006
Odd WLAN Device Problem

I'm trying to help convert my boss over to Linux. He has an HP/Compaq PC on which he installed Fedora Core 4 on. It's got a Linksys wireless card in it and we're using the NDIS wrapper to load the Windows driver for the chipset on that card. 'iwconfig' sees the card. We can configure the card. And when he has his wired NIC plugged in, I can actually ping both his wired AND his WIRELESS IP addresses. But as soon as he disconnects the cable, I lose contact with his wireless NIC.

Even stranger, I was actually able to ssh into his box via the wireless IP address, and do an ifdown eth0 and remain connected (as long as his wired NIC was plugged in). If I do an 'ifconfig' when his eth0 is down all I see is 'wlan0' and 'lo'. So it would SEEM that the WLAN card is working but is somehow realy being routed through his wired NIC. It doesn't make sense. I've tried configuring his system so that the wired NIC doesn't come up at boot, but then he gets no access (even though 'iwconfig' says it sees the access point). I've tried manually forcing the system to use wlan0 to get to it's default route but it can't. Oddly, if I change the encryption key for the wlan0 card, it losses contact with the access point and displays all zeros for the AP Mac address, but as soon as I put the right key back in... it gets the AP MAC address back!

This is one of the strangest issues I've ever run into and I can't seem to figure out what's causing it. Any ideas? (NOTE: The AP is a Cisco AP, not Linksys) The NIC itself appears to be using a Broadcom chip:

05:04.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

Last edited by deckard; 02-28-2006 at 12:07 PM..
# 2  
Old 02-28-2006
Additional Info regarding WLAN Problem

Here is the output of 'ifconfig':

Code:
eth0      Link encap:Ethernet  HWaddr 00:11:0A:99:62:19
         inet addr:10.128.23.26  Bcast:10.128.23.255  Mask:255.255.255.0
         inet6 addr: fe80::211:aff:fe99:6219/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:270848 errors:0 dropped:0 overruns:0 frame:0
         TX packets:265538 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:156823981 (149.5 MiB)  TX bytes:40767908 (38.8 MiB)
         Interrupt:177

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:3158 errors:0 dropped:0 overruns:0 frame:0
         TX packets:3158 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:1383009 (1.3 MiB)  TX bytes:1383009 (1.3 MiB)

wlan0     Link encap:Ethernet  HWaddr 00:12:17:7E:B1:C9
         inet addr:10.128.23.4  Bcast:10.128.23.255  Mask:255.255.255.0
         inet6 addr: fe80::212:17ff:fe7e:b1c9/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:22656 errors:0 dropped:0 overruns:0 frame:0
         TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:2011519 (1.9 MiB)  TX bytes:132 (132.0 b)
         Interrupt:185 Memory:fc510000-fc512000


Here is the output of 'iwconfig':

Code:
wlan0     IEEE 802.11g  ESSID:"MYESSID"  Nickname:"linuxhome.boss.prv"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:11:20:8D:6C:80
          Bit Rate=48 Mb/s   Tx-Power:25 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX   Security mode:open
          Power Management:off
          Link Quality:100/100  Signal level:-64 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



Here is the output of 'route':

Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.128.23.0     *               255.255.255.0   U     0      0        0 eth0
10.128.23.0     *               255.255.255.0   U     0      0        0 wlan0
169.254.0.0     *               255.255.0.0     U     0      0        0 wlan0
default         10.128.23.1     0.0.0.0         UG    0      0        0 eth0


Here is the output of 'ping' through wlan0:

Code:
[root@linuxhome ~]# ping -I wlan0 10.0.1.1
PING 10.0.1.1 (10.0.1.1) from 10.128.23.4 wlan0: 56(84) bytes of data.
From 10.128.23.4 icmp_seq=0 Destination Host Unreachable
From 10.128.23.4 icmp_seq=1 Destination Host Unreachable
From 10.128.23.4 icmp_seq=2 Destination Host Unreachable
From 10.128.23.4 icmp_seq=4 Destination Host Unreachable
From 10.128.23.4 icmp_seq=5 Destination Host Unreachable
From 10.128.23.4 icmp_seq=6 Destination Host Unreachable
From 10.128.23.4 icmp_seq=8 Destination Host Unreachable
From 10.128.23.4 icmp_seq=9 Destination Host Unreachable
From 10.128.23.4 icmp_seq=10 Destination Host Unreachable


Here is the output of 'ping' through eth0:

Code:
[root@linuxhome ~]# ping -I eth0 10.0.1.1
PING 10.0.1.1 (10.0.1.1) from 10.128.23.26 eth0: 56(84) bytes of data.
64 bytes from 10.0.1.1: icmp_seq=0 ttl=253 time=62.4 ms
64 bytes from 10.0.1.1: icmp_seq=1 ttl=253 time=59.1 ms
64 bytes from 10.0.1.1: icmp_seq=2 ttl=253 time=60.6 ms
64 bytes from 10.0.1.1: icmp_seq=3 ttl=253 time=60.6 ms

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

WLAN receiving DHCP-IP Address doesn't work

Hey guys, I run my raspberry pi with a TP-Link Wlan-USB stick. The stick works out of the box with the pi-modded debian. But eventhough the automatic connection to one of the saved WLAN-networks in the file /etc/wpa_supplicant/wpa_supplicant.conf works, my PI doesn't request or receive an... (4 Replies)
Discussion started by: zitronenschwarz
4 Replies

2. Shell Programming and Scripting

odd problem in read lines from file

Hi, I wrote a small program to read lines from a file and count the lines. The program is as below: filename=$1 count=0 cat $filename | while read -r line do printf "%5d:%s\n" $count "$line" count=$((count + 1)) done echo " $count " After I run the program, the result is... (4 Replies)
Discussion started by: jianma
4 Replies

3. IP Networking

Radvd wlan problems

Hi all, I am trying to get radvd to broadcast router advertisements on a wireless interface (wlan0). The wireless interface is running an ad-hoc wireless network. However, for some reason, radvd will say that wlan0 not running and refuse to start. The only way I can get radvd to broadcast... (0 Replies)
Discussion started by: abxccd
0 Replies

4. IP Networking

How to access others machine in my WLAN

Here is the thing. I've got a TP link router (TL-WR541G) and 3 PCs accessing to Internet through it. 2 Desktop PCs (1 with Debian and 1 WinXP) 1 laptop (with Ubuntu). In my router (192.168.1.1) I can see the MAC and IP of all machines assigned (DHCP) by the router. But when I ping to them... (3 Replies)
Discussion started by: funyotros
3 Replies

5. Cybersecurity

SSH login via wlan

Hi Is it totally safe to login via SSH through a wlan that is not encrypted? Is there anything to think about when doing it? (1 Reply)
Discussion started by: hjalle
1 Replies

6. Linux

UNIX command for Getting IP addresss of different hosts in WLAN

Is thre any command by which i can get the IP addresses of different machines present in a Wireless Local Network Area. (2 Replies)
Discussion started by: vasurake
2 Replies

7. UNIX for Dummies Questions & Answers

odd ftp problem

we migrated from a system with HPUX B.11.0 to HPUX 11.23 i64 the new server is the same IP as the old server. the old server is renumbered to something else to avoid conflict. on the old system, we had a user named "ftp" . There is one person who daily will ftp files to the host using this... (15 Replies)
Discussion started by: LisaS
15 Replies

8. Solaris

block device problem

Hi ...... I have file system problem when i try to mount get the following message : mount: /dev/rdsk/c1t4d0s7 not a block device .... I run fsck it's ok ,,,, after run newfs -N /dev/dsk/c1t4d0s7 and fsck -o b=535952 /dev/dsk/c1t4d0s7 .............it's ok ........ At the and when i try... (2 Replies)
Discussion started by: tt155
2 Replies

9. Linux

odd telnet problem

Hey, I've got a RH9 box running telnet-server 0.17-25. Now i don't know what the problem is and i've been reading all night trying to find somthing like it. I am able to open a telnet session on the box using localhost and 10.10.10.6(machines address) but if i try to do it from another... (7 Replies)
Discussion started by: byblyk
7 Replies

10. BSD

WLAN PCI Cards

Hi! I just wanted to know what network cards are supported in FreeBSD. I have looked at the list of supported cards but I can't find any of them in the stores. Is the list not updated, I would really preciate info about where (in EU, Sweden) I can buy them. /Peter (2 Replies)
Discussion started by: Barfly.se
2 Replies
Login or Register to Ask a Question