LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Fedora Core 2/BCM4309 - scan works but no IP address... (https://www.linuxquestions.org/questions/linux-wireless-networking-41/fedora-core-2-bcm4309-scan-works-but-no-ip-address-246263/)

webqs 10-23-2004 05:36 AM

Fedora Core 2/BCM4309 (Truemobile 1400) - scan works but no IP address...
 
Hi
This is my first ever post here... :D

I'm using Fedora Core 2 with KDE 3.3.1 on a Dell Inspiron 8600, I've installed ndiswrapper to allow my "truemobile 1400" aka Broadcom Corporation BCM4309 802.11a/b/g (rev 02) wireless card to access my AP, a D Link 724p+

The install of ndiswrapper looks to have run ok with a simple make install. These messages have been logged:

Oct 23 07:45:38 localhost kernel: ndiswrapper version 0.11 loaded (preempt=no,smp=no)
Oct 23 07:45:38 localhost kernel: ndiswrapper: using irq 7
Oct 23 07:45:38 localhost kernel: wlan0: ndiswrapper ethernet device <mac addr> using driver bcmwl5a
Oct 23 07:45:38 localhost kernel: ndiswrapper: driver bcmwl5a (Broadcom,06/25/2004, 3.40.73.0) added

I can add the essid and wep key via iwconfig ok with no problems... and an iwlist wlan0 scan gives me a result (but only when I set the essid parameter in iwconfig)
I can only set the wep key before the essid is set.

]# iwconfig
wlan0 IEEE 802.11g ESSID:"celery" Nickname:"miso"
Mode:Auto Frequency:2.412GHz Access Point: <mac addr reported in iwconfig/iwlist>
Bit Rate=54Mb/s Tx-Power:88 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:<my wep key> Security mode:open
Power Management:off
Link Quality:100/100 Signal level:-57 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:16 Missed beacon:0

]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: <mac addr reported in iwconfig/iwlist>
ESSID:"celery"
Protocol:IEEE 802.11b
Mode:Ad-Hoc
Frequency:2.412GHz
Quality:0 Signal level:0 Noise level:0
Encryption key:on
Bit Rate:6Mb/s
Bit Rate:9Mb/s
Bit Rate:12Mb/s
Bit Rate:18Mb/s
Bit Rate:24Mb/s
Bit Rate:36Mb/s
Bit Rate:48Mb/s
Bit Rate:54Mb/s
Extra:bcn_int=100

This is where it gets interesting... the Cell 01 - Address value doesn't match the MAC address of my Wireless Access point. (and the Protocol in iwlist differs from that in iwconfig) I believe this may be causing the problems I'm finding.
This may even be my neighbour's AP which is unsecured. This is a bit weird given my AP is 3 metres away and my neighbours AP is "somewhere".

Anyway, when I try to get an IP address on wlan0 I get nothing. If I'm connecting to my AP *or* the neighbours I should get some form of 192.168 address ?

ifconfig results:

]# ifconfig
//eth0 reports a 192.168 IP address given by DHCP in my router.
wlan0 Link encap:Ethernet HWaddr <same mac addr reported in ndiswrapper logs above>
inet6 addr: fe80::290:4bff:fe1b:be9e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:392 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:125568 (122.6 Kb)
Interrupt:7 Memory:faff6000-faff7fff

ifup results

]# ifup wlan0
Determining IP information for wlan0... failed.

logs report:
Oct 23 10:24:31 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
Oct 23 10:24:41 localhost dhclient: No DHCPOFFERS received.

So is it the wireless router or the card or the driver, this is the bit I have yet to work out?

I can ping 192.168.0.1 via eth0 but not via wlan0, if I unplug my cable on eth0, I get no connectivity at all.

Hope someone can help?

bushidozen 10-23-2004 06:01 AM

Did you create a ifcfg-wlan0 file? it goes in /etc/sysconfig/network-scripts.

luchnkov 11-05-2004 09:31 AM

I am experiencing exactly the same situation as described above. Any ideas?
BTW, I had no problems with Gentoo 2004.2, 2.4 kernel.

One question I do have - iwconfig wlan0 shows IEEE 802.11g, but my access
point is 802.11b. Do I have to manually force the card into the 802.11b mode?
If so, how?

webqs 12-11-2004 08:47 PM

fixed!
 
so... its fixed and now working with the ndiswrapper drivers from sourceforge... hoorah!

Fault :
Finally decided that it was a bad Wireless card... as I plugged in a linksys PC card into the PC slot and associated in about 30 seconds. Also the 1400 didn't work in Windows XP SP2 (useful having a dual boot sometimes).

Solution:
Called Dell support, onsite repair under warranty. Replaced my motherboard and wireless card (and they dropped in a new screen hinge assembly to stop the freeplay problem with the LCD :D).

Result:
Works fine and can associate and scan using wireless-tools and the usual ifup/ifconfig scripts.

Hurrah! I'd suggest anyone else experiencing the same problem to get another wireless card or try plugging your Broadcom mini pc card into another laptop and see if that associates - you may have a faulty 1400/Broadcom card.

Links:

ndiswrapper
http://ndiswrapper.sourceforge.net/
wireless-tools
http://www.hpl.hp.com/personal/Jean_...nux/Tools.html

Cheers
James


All times are GMT -5. The time now is 10:15 PM.