LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 06-04-2007, 11:44 AM   #1
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,506

Rep: Reputation: 233Reputation: 233Reputation: 233
BCM43XX fails, ndiswrapper works, want BCM43XX


I've been trying to get the bcm43xx thing to work for me. Everything appears to be setup correctly, but I always get the below when bringing up the interface.

ADDRCONF(NETDEV_UP): wlan0: link is not ready

I have a bash script which sets all of the iwconfig and ifconfig and route attributes when I run it. Or at least it does with ndiswrapper. But several of them fail with bcm43xx. To include the essid only showing "k" in iwconfig instead of "katrina". Although if I run iwconfig wlan0 essid "katrina" by itself that works. Yes, I also have /etc/network/interfaces setup, but for the sake of testing and speeding up the boot process I'm not currently using it.

Anyway onto the issue. I want to use bcm43xx. If only as a fallback when ndiswrapper gets a little quirky. I've been doing that roaming wireless type stuff recently because I'm 1.4G's behind in updates and don't really want to spend an entire month of dedicated downloads on dialup to get up to date. I figure with bcm43xx, I might have better success connecting with foreign networks like Schlotzky's cool cloud network.

I do have ndiswrapper working at the moment. Although the latest version seems a little unstable when under a load. But stable when operating at dialup speeds.


The issue:

ADDRCONF(NETDEV_UP): wlan0: link is not ready
(regardless of however close I get to setting this up.)


The details:

Kernel - 2.6.21.3
Distro - Debian (sid, but six months out of date)
Device - Broadcom BCM 4318

The machine:
Compaq Presario v5305wm laptop

The specs:
cpu - Mobile AMD Sempron(tm) Processor 3300+
bogomips - 3982.07
ram - 512MB
hdd - 60GB (4 partitions)
video - ATI Radeon Xpress 200M 5955 (PCIE)

lspci:
06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

lspci -n:
06:02.0 0280: 14e4:4318 (rev 02)

lsmod:
ieee80211softmac 30976 0
ieee80211_crypt_wep 5184 0
ieee80211_crypt_tkip 11008 0
ieee80211_crypt_ccmp 7424 0
ieee80211 33352 1 ieee80211softmac
ieee80211_crypt 5952 4 ieee80211_crypt_wep,ieee80211_crypt_tkip,ieee80211_crypt_ccmp,ieee80211
(plus bcm43xx, when I'm trying to use it. I'm currently using ndiswrapper.)

dmesg:
Code:
bcm43xx driver
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 21 (level, low) -> IRQ 20
bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 3, Type 2, Revision 7
bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
bcm43xx: set security called, .active_key = 0, .level = 1, .enabled = 1, .encrypt = 1, .auth_mode = 1
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: Radio enabled by hardware
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
ADDRCONF(NETDEV_UP): wlan0: link is not ready
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
The link not ready stuff comes into play when I reach the ifconfig's of the below script.

The script:
Code:
f_WLAN0_HOME() {
  echo "Setting up WLAN0 for home network..."
  iwconfig wlan0 power all
  iwconfig wlan0 txpower auto
  iwconfig wlan0 rate auto
  iwconfig wlan0 channel 7
  iwconfig wlan0 essid "katrina"
  iwconfig wlan0 mode "Ad-Hoc"
  iwconfig wlan0 key restricted "FFFF-FFFF-FFFF-FFFF-FFFF-FFFF-FF"
  ifconfig wlan0 192.168.2.4 netmask 255.255.255.0 up
  ifconfig wlan0 mtu 576
  route add default gw 192.168.2.1
}
The key is 128 bit WEP at home. This works fine for ndiswrapper. Although bcm43xx has issues with the power settings. Even when I do this setup manually I still get the above dmesg output.

I've used fwcutter and the wl_apsta.o file. Along with every bcmwl5.sys I've come across. To include the ones shipped with the laptop. And have yet to get it working. Everything appears to be setup, but I can't get past the wlan0 link not ready. I don't consider myself a linux newbie and this is bugging me that I haven't gotten this up and running. Especially since others have reported success with similar/same equipment.
 
Old 06-04-2007, 12:19 PM   #2
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
I am using bcm43xx on the same series of laptop with WPA encryption without a much problem, is the module loaded? What is the output of iwconfig?

I am going to switch to ndiswrapper my laptop will not properly shut down as long as the bcm43xx module is loaded. Also with bcm43xx you are limited to 11Mb ndiswrapper will handle anything.

Last edited by moosedaddy; 06-04-2007 at 12:29 PM.
 
Old 06-04-2007, 12:22 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Device - Broadcom BCM 4318
I hate to say it, but that may be the problem right there. The 4318 is hands down the most problematic of the Broadcom chipsets for bcm43xx. Even the bcm43xx teams doesn't really recommend using bcm43xx with that chipset.

From the looks of what you've posted, you've done everything exactly right, which is why I'm leaning towards thinking this is a problem with the chipset.
 
Old 06-04-2007, 01:21 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,506

Original Poster
Rep: Reputation: 233Reputation: 233Reputation: 233
I'm not one to accept that, as it works with ndiswrapper. I'll agree that there's better devices/hardware out there, but my wirless is integrated into the laptop and I really don't want to use an external one. Especially since others have gotten it working.

Per the requests...

iwconfig after script:

Code:
wlan0     IEEE 802.11b/g  ESSID:"k"  Nickname:"Broadcom 4318"
          Mode:Ad-Hoc  Frequency=2.442 GHz  Cell: Invalid   
          Bit Rate=1 Mb/s   Tx-Power=18 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:FFFF-FFFF-FFFF-FFFF-FFFF-FFFF-FF   Security mode:restricted
          Link Quality=0/100  Signal level=-256 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
iwconfig after doing the script manually on the cli:
Code:
wlan0     IEEE 802.11b/g  ESSID:"katrina"  Nickname:"Broadcom 4318"
          Mode:Ad-Hoc  Frequency=2.442 GHz  Cell: Invalid   
          Bit Rate=1 Mb/s   Tx-Power=18 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:FFFF-FFFF-FFFF-FFFF-FFFF-FFFF-FF   Security mode:restricted
          Link Quality=0/100  Signal level=-256 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
route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0

ping 192.168.2.1:
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
From 192.168.2.4 icmp_seq=2 Destination Host Unreachable
From 192.168.2.4 icmp_seq=3 Destination Host Unreachable
From 192.168.2.4 icmp_seq=4 Destination Host Unreachable

--- 192.168.2.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3999ms
, pipe 3

ifconfig:
Code:
wlan0     Link encap:Ethernet  HWaddr 00:14:A5:E6:7B:1D  
          inet addr:192.168.2.4  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:616  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:150 (150.0 b)
          Interrupt:10 Base address:0x4000
Per a fresh kernel compile with enhanced debugging information:
Code:
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'TKIP'
ieee80211_crypt: registered algorithm 'WEP'
bcm43xx driver
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 21 (level, low) -> IRQ 20
bcm43xx: Chip ID 0x4318, rev 0x2
bcm43xx: Number of cores: 4
bcm43xx: Core 0: ID 0x800, rev 0xd, vendor 0x4243
bcm43xx: Core 1: ID 0x812, rev 0x9, vendor 0x4243
bcm43xx: Core 2: ID 0x804, rev 0xc, vendor 0x4243
bcm43xx: Core 3: ID 0x80d, rev 0x7, vendor 0x4243
bcm43xx: PHY connected
bcm43xx: Detected PHY: Analog: 3, Type 2, Revision 7
bcm43xx: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx: Radio turned off
bcm43xx: Radio turned off
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
bcm43xx: set security called, .active_key = 0, .level = 1, .enabled = 1, .encrypt = 1, .auth_mode = 1
bcm43xx: PHY connected
bcm43xx: Microcode rev 0x127, pl 0xe (2005-04-18  02:36:27)
bcm43xx: Radio turned on
bcm43xx: Radio enabled by hardware
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
bcm43xx: WARNING: Writing invalid LOpair (low: -96, high: 92, index: 120)
 [<dcd7bbb4>] bcm43xx_phy_lo_adjust+0x94/0x290 [bcm43xx]
 [<dcd7cca2>] bcm43xx_phy_initb6+0x1e2/0x710 [bcm43xx]
 [<dcd7d209>] bcm43xx_phy_initg+0x39/0xf80 [bcm43xx]
 [<c011c3ca>] vprintk+0x2ca/0x340
 [<c01cfc49>] delay_tsc+0x9/0x20
 [<c01cfc96>] __delay+0x6/0x10
 [<dcd73cbb>] bcm43xx_radio_selectchannel+0xcb/0x4d0 [bcm43xx]
 [<dcd7f00f>] bcm43xx_phy_init+0x29f/0x690 [bcm43xx]
 [<dcd6df45>] bcm43xx_chip_init+0x465/0xaf0 [bcm43xx]
 [<c0135ff8>] tick_handle_oneshot_broadcast+0x78/0xc0
 [<dcd6fb5f>] wireless_core_up+0x8f/0x700 [bcm43xx]
 [<dcd6d0ff>] bcm43xx_switch_core+0x2f/0x60 [bcm43xx]
 [<dcd7043c>] bcm43xx_select_wireless_core+0x26c/0x600 [bcm43xx]
 [<dcd6d0ff>] bcm43xx_switch_core+0x2f/0x60 [bcm43xx]
 [<dcd7fdd3>] bcm43xx_pctl_init+0x53/0x1b0 [bcm43xx]
 [<dcd70914>] bcm43xx_init_board+0x84/0x130 [bcm43xx]
 [<c0128c5b>] blocking_notifier_call_chain+0x3b/0x50
 [<c027cef0>] dev_open+0x30/0x70
 [<c027b8a5>] dev_change_flags+0x55/0x120
 [<c02d8a4c>] devinet_ioctl+0x54c/0x6c0
 [<c027cb3e>] dev_ifsioc+0x10e/0x380
 [<c027c60e>] dev_load+0x1e/0x70
 [<c02710d0>] sock_ioctl+0x0/0x210
 [<c027118f>] sock_ioctl+0xbf/0x210
 [<c02710d0>] sock_ioctl+0x0/0x210
 [<c016fa9b>] do_ioctl+0x2b/0x90
 [<c016fb5c>] vfs_ioctl+0x5c/0x2b0
 [<c016fded>] sys_ioctl+0x3d/0x70
 [<c0104048>] syscall_call+0x7/0xb
 =======================
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
bcm43xx: WARNING: Writing invalid LOpair (low: -96, high: 92, index: 120)
 [<dcd7bbb4>] bcm43xx_phy_lo_adjust+0x94/0x290 [bcm43xx]
 [<dcd7d366>] bcm43xx_phy_initg+0x196/0xf80 [bcm43xx]
 [<c011c3ca>] vprintk+0x2ca/0x340
 [<c01cfc49>] delay_tsc+0x9/0x20
 [<dcd7f00f>] bcm43xx_phy_init+0x29f/0x690 [bcm43xx]
 [<dcd6df45>] bcm43xx_chip_init+0x465/0xaf0 [bcm43xx]
 [<c0135ff8>] tick_handle_oneshot_broadcast+0x78/0xc0
 [<dcd6fb5f>] wireless_core_up+0x8f/0x700 [bcm43xx]
 [<dcd6d0ff>] bcm43xx_switch_core+0x2f/0x60 [bcm43xx]
 [<dcd7043c>] bcm43xx_select_wireless_core+0x26c/0x600 [bcm43xx]
 [<dcd6d0ff>] bcm43xx_switch_core+0x2f/0x60 [bcm43xx]
 [<dcd7fdd3>] bcm43xx_pctl_init+0x53/0x1b0 [bcm43xx]
 [<dcd70914>] bcm43xx_init_board+0x84/0x130 [bcm43xx]
 [<c0128c5b>] blocking_notifier_call_chain+0x3b/0x50
 [<c027cef0>] dev_open+0x30/0x70
 [<c027b8a5>] dev_change_flags+0x55/0x120
 [<c02d8a4c>] devinet_ioctl+0x54c/0x6c0
 [<c027cb3e>] dev_ifsioc+0x10e/0x380
 [<c027c60e>] dev_load+0x1e/0x70
 [<c02710d0>] sock_ioctl+0x0/0x210
 [<c027118f>] sock_ioctl+0xbf/0x210
 [<c02710d0>] sock_ioctl+0x0/0x210
 [<c016fa9b>] do_ioctl+0x2b/0x90
 [<c016fb5c>] vfs_ioctl+0x5c/0x2b0
 [<c016fded>] sys_ioctl+0x3d/0x70
 [<c0104048>] syscall_call+0x7/0xb
 =======================
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
bcm43xx: WARNING: Writing invalid LOpair (low: -96, high: 92, index: 120)
 [<dcd7bbb4>] bcm43xx_phy_lo_adjust+0x94/0x290 [bcm43xx]
 [<dcd7aeb2>] bcm43xx_phy_init_pctl+0xf2/0x250 [bcm43xx]
 [<dcd7d3ce>] bcm43xx_phy_initg+0x1fe/0xf80 [bcm43xx]
 [<c011c3ca>] vprintk+0x2ca/0x340
 [<c01cfc49>] delay_tsc+0x9/0x20
 [<dcd7f00f>] bcm43xx_phy_init+0x29f/0x690 [bcm43xx]
 [<dcd6df45>] bcm43xx_chip_init+0x465/0xaf0 [bcm43xx]
 [<c0135ff8>] tick_handle_oneshot_broadcast+0x78/0xc0
 [<dcd6fb5f>] wireless_core_up+0x8f/0x700 [bcm43xx]
 [<dcd6d0ff>] bcm43xx_switch_core+0x2f/0x60 [bcm43xx]
 [<dcd7043c>] bcm43xx_select_wireless_core+0x26c/0x600 [bcm43xx]
 [<dcd6d0ff>] bcm43xx_switch_core+0x2f/0x60 [bcm43xx]
 [<dcd7fdd3>] bcm43xx_pctl_init+0x53/0x1b0 [bcm43xx]
 [<dcd70914>] bcm43xx_init_board+0x84/0x130 [bcm43xx]
 [<c0128c5b>] blocking_notifier_call_chain+0x3b/0x50
 [<c027cef0>] dev_open+0x30/0x70
 [<c027b8a5>] dev_change_flags+0x55/0x120
 [<c02d8a4c>] devinet_ioctl+0x54c/0x6c0
 [<c027cb3e>] dev_ifsioc+0x10e/0x380
 [<c027c60e>] dev_load+0x1e/0x70
 [<c02710d0>] sock_ioctl+0x0/0x210
 [<c027118f>] sock_ioctl+0xbf/0x210
 [<c02710d0>] sock_ioctl+0x0/0x210
 [<c016fa9b>] do_ioctl+0x2b/0x90
 [<c016fb5c>] vfs_ioctl+0x5c/0x2b0
 [<c016fded>] sys_ioctl+0x3d/0x70
 [<c0104048>] syscall_call+0x7/0xb
 =======================
bcm43xx: Chip initialized
bcm43xx: 32-bit DMA initialized
bcm43xx: Keys cleared
bcm43xx: Selected 802.11 core (phytype 2)
bcm43xx: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/bcm43xx/bcm43xx_phy.c:1484:bcm43xx_find_lopair()
bcm43xx: WARNING: Writing invalid LOpair (low: -96, high: 92, index: 120)
 [<dcd7bbb4>] bcm43xx_phy_lo_adjust+0x94/0x290 [bcm43xx]
 [<dcd7c466>] bcm43xx_phy_lo_g_measure+0x6b6/0xd10 [bcm43xx]
 [<dcd6c3ae>] bcm43xx_shm_read32+0x2e/0xd0 [bcm43xx]
 [<dcd7f660>] bcm43xx_power_saving_ctl_bits+0x60/0x70 [bcm43xx]
 [<dcd70e30>] bcm43xx_periodic_work_handler+0x0/0x530 [bcm43xx]
 [<dcd710f7>] bcm43xx_periodic_work_handler+0x2c7/0x530 [bcm43xx]
 [<c034700f>] schedule+0x29f/0x650
 [<dcd70e30>] bcm43xx_periodic_work_handler+0x0/0x530 [bcm43xx]
 [<c012b860>] run_workqueue+0xa0/0x180
 [<c012bf37>] worker_thread+0x147/0x170
 [<c0117749>] __wake_up_common+0x39/0x60
 [<c01186c0>] default_wake_function+0x0/0x10
 [<c012bdf0>] worker_thread+0x0/0x170
 [<c012ed58>] kthread+0xa8/0xe0
 [<c012ecb0>] kthread+0x0/0xe0
 [<c0104b93>] kernel_thread_helper+0x7/0x14
 =======================
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
ADDRCONF(NETDEV_UP): wlan0: link is not ready
SoftMAC: Canceling existing associate request!
SoftMAC: Queueing Authentication Request to ba:35:6d:44:04:92
SoftMAC: Cannot associate without being authenticated, requested authentication
SoftMAC: Sent Authentication Request to ba:35:6d:44:04:92.
SoftMAC: Sent Authentication Request to ba:35:6d:44:04:92.
SoftMAC: Sent Authentication Request to ba:35:6d:44:04:92.
SoftMAC: Sent Authentication Request to ba:35:6d:44:04:92.
SoftMAC: Sent Authentication Request to ba:35:6d:44:04:92.
SoftMAC: Authentication timed out with ba:35:6d:44:04:92
There appears to be a SoftMAC issue.
 
Old 06-04-2007, 01:33 PM   #5
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
Are you connecting to another computer or a wireless access point? I am using the managed mode instead of Ad-hoc to connect to a router.

You may also try "ifup wlan0" after you script if you are running dhcpcd
 
Old 06-04-2007, 01:36 PM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
I'm not one to accept that, as it works with ndiswrapper.
This isn't a case of whether or not the device works, its a case of whether or not the driver supports it. In the case of ndiswrapper, you're using a Windows driver written by Broadcom, who certainly should understand how their card works. In the case of bcm43xx, the driver is written by a group of dedicated programmers working off of some reverse engineered specifications and Broadcom is nowhere to be seen. These guys are working almost completely in the dark and according to their own site, several of the chipsets are unstable. The 4318 falls into this category. Heck, I've got a 4306, and it is only with the 2.6.21 kernel that it has gotten stable enough to use on a regular basis, despite it's being "supported" since day one.

Quote:
but my wirless is integrated into the laptop and I really don't want to use an external one.
You don't have to unless you have ethical objections to using ndiswrapper.
Quote:
There appears to be a SoftMAC issue.
I'm not sure I agree. It could be a firmware issue and SoftMAC is having problems because it can't really use the card. However, if you think it is, you might try creating a kernel with a Devicescape stack. You'll have to learn how to use git, but it isn't that hard, and I've got instructions on creating a Devicescape kernel on my help site.

And do pay attention to moosedaddy's comment. If you're trying to connect to an access point, you can't use Ad-Hoc mode.

Last edited by Hangdog42; 06-04-2007 at 01:38 PM.
 
Old 06-04-2007, 02:03 PM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,506

Original Poster
Rep: Reputation: 233Reputation: 233Reputation: 233
I'm not connecting to an access point. The router is another debian based computer running in Ad-Hoc mode. An old 800MHz box with a flakey onboard video card. All IPs and stuff are hardcoded on it. There are no dhcp clients/servers on this network.

One of the reasons I wanted to get bcm43xx working is because ndiswrapper 1.45 had a large file transfer issue which directly affected me. 1.46 is out now, but it'd be nice to have a backup for when upgrades don't go as planned. Or if I'm connecting to another network type that bcm43xx is better suited to connect to. With ndiswrapper there's certain networks where I almost have to setup the entire connection manually including IPs before dhclient3 wlan0 will work correctly.
 
Old 06-04-2007, 02:21 PM   #8
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
Looking back at your OP the chipset of your BCM4318 in you Compaq V5305 that you purchased from Wal-Mart is different from my Compaq V5000 from Office Depot. My built in card works for the first time with kernel 2.6.21-3, except the laptop will not shutdown with the BCM43xx module loaded. Due to the shutdown issues, reliability of the connection, and speed I will be going back to ndiswrapper. Sorry I can not help further.
 
Old 01-26-2013, 04:24 PM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,506

Original Poster
Rep: Reputation: 233Reputation: 233Reputation: 233
I can't believe I'm still using this laptop. But BCM4318 issues again. Sort of. More of a quirk, specifically bridging.

I have two bootable usb linux installs (even though I have to boot a grub cd to use them on this relic). One is debian squeeze (stable) and that works swell(cruzer U3). One is debian sid (i386) on a 16GB SDHC card with a reader. The b43 drivers work in both. But....... When setting up a bridge (the exact same way I have it in squeeze), the wireless device led button light thing does not light up. At least not with the /etc/network/interfaces route. It does light up, but only after ifconfig is invoked and assigns wlan0 an ip address. Which you have to do "BEFORE" running dhclient. I do not have to do any of this in debian squeeze, it just works. (after it's initial configuration)

The issue I'm having is that brctl will not let me add wlan0 to the br0 bridge. Even after wlan0's led light is active. This means that the dhcp discovery of wlan0 at boot time from /etc/network/interfaces fails. I can get the wireless device to work, but because I have to workaround the way I want to do it, I cannot get bridging to work. Most of this ancient relic of techs function at the moment is to act as a wireless card for my desktop that lacks pci slots to add said card. Yes I have a stand alone router that does basically the same task, but it's in use elsewhere at the moment.

Any tips for getting brctl to let me add wlan0? Or to make it less quirky?
 
Old 01-27-2013, 08:11 AM   #10
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,506

Original Poster
Rep: Reputation: 233Reputation: 233Reputation: 233
Code:
# brctl addif br0 wlan0
can't add wlan0 to bridge br0: Operation not supported
This actually works in debian squeeze. Although you don't actually get past the bridge machine until you add the ebtables rules.

This error seems to be a common theme. Effectively the only difference besides squeeze vs sid on my two USB options is the kernel versions differ. 2.6.32-5-686 for squeeze and 3.2.0-4-686-pae for sid. And of course I cannot just try to downgrade the kernel in sid without rolling my own or downloading a .deb manually. As every package managed linux-image is a virtual package all pointing at the same kernel by the looks of things.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bcm43xx or ndiswrapper? FC6 Broadcom Wireless Issues. webgovernor Linux - Wireless Networking 18 05-18-2007 11:45 PM
bcm43xx jelgavchik Linux - Hardware 1 11-26-2006 01:37 PM
bcm43xx and ndiswrapper BCarey Linux - Wireless Networking 3 09-15-2006 04:52 PM
Linksys WPC54G v 1.2, bcm43xx, ubuntu 6.06 - module fails - no wireless Benanzo Linux - Wireless Networking 4 09-06-2006 04:16 PM
FC5...1.2174 installs the bcm43xx driver, replacing ndiswrapper PTrenholme Fedora 2 08-14-2006 04:49 PM


All times are GMT -5. The time now is 02:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration