Re: b43 and WPA-PSK

2010-02-23 Thread Larry Finger
On 02/22/2010 02:03 PM, Yan Seiner wrote:
 I'm trying to get the b43 driver working on a Linksys WRTSL54GS router. 
 It's running Openwrt with the 2.6.32 kernel.  The good news is that the
 driver picks up a lot of APs with ease, far more than the binary blob. 
 The bad news is that I can't get encryption working.  The output from
 iwlist scan is here:
 
 https://forum.openwrt.org/viewtopic.php?pid=103469#p103469
 
 I can't configure it to use WPA-PSK or WPA-PSK2; it simply doesn't see
 encryption.  I don't have any WEP APs around so I can't test around those.
  It connects to open APs quite well.  (I haven't tested it much as the
 open AP is one of my neighbors, and I really don't want to steal his
 broadband.)

I was hoping someone else would answer your mail, but as no one has come
forward, I will try.

I am not an expert on openWRT. I am using the version of Kamikaze with a 2.4
kernel on a WRT54GL, but the firmware is out of the box.

What I do know is that the BCM4318 does work with WPA/WPA2, although my device
is Cardbus format in an old laptop. Using Broadcom's proprietary firmware, as
you seem to be doing, the encryption/decryption is done in the hardware.

I'm a little confused on your usage of the device. As an AP, I see no need to
scan. Are you using it as a station, or as a wireless bridge? In these modes,
would not the bridging code to eth0 get in the way?

Larry
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: b43 and WPA-PSK

2010-02-23 Thread Yan Seiner

On Tue, February 23, 2010 4:57 pm, Larry Finger wrote:

 What I do know is that the BCM4318 does work with WPA/WPA2, although my
 device
 is Cardbus format in an old laptop. Using Broadcom's proprietary firmware,
 as
 you seem to be doing, the encryption/decryption is done in the hardware.

The issues seems to be with the version of wireless utils in the latest
openwrt snapshot.  Sure looked like a driver issue,though.


 I'm a little confused on your usage of the device. As an AP, I see no need
 to
 scan. Are you using it as a station, or as a wireless bridge? In these
 modes,
 would not the bridging code to eth0 get in the way?

I am using it in STA mode.

I set up a separate network for the wireless and do not use bridging.  I
have to wan ports in effect - one for the wireless and one for wired.  I
don't use the wired port.

It works quite well (or did, until I tried the b43 drivers at which point
I also got the broken version of iwconfig/iwlist.)

--Yan

-- 
If you have eight hours to chop down a tree
spend six sharpening your axe.
--Abraham Lincoln

___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: b43 and WPA-PSK

2010-02-23 Thread Hauke Mehrtens
Yan Seiner wrote:
 On Tue, February 23, 2010 4:57 pm, Larry Finger wrote:
 What I do know is that the BCM4318 does work with WPA/WPA2, although my
 device
 is Cardbus format in an old laptop. Using Broadcom's proprietary firmware,
 as
 you seem to be doing, the encryption/decryption is done in the hardware.
 
 The issues seems to be with the version of wireless utils in the latest
 openwrt snapshot.  Sure looked like a driver issue,though.
 
 I'm a little confused on your usage of the device. As an AP, I see no need
 to
 scan. Are you using it as a station, or as a wireless bridge? In these
 modes,
 would not the bridging code to eth0 get in the way?
 
 I am using it in STA mode.
 
 I set up a separate network for the wireless and do not use bridging.  I
 have to wan ports in effect - one for the wireless and one for wired.  I
 don't use the wired port.
 
 It works quite well (or did, until I tried the b43 drivers at which point
 I also got the broken version of iwconfig/iwlist.)
 
 --Yan
 
Hi,

Someone reports that the station mode is not working for him in OpenWRT
with ath9k driver after the last update of compat-wireless in OpenWRT.
It was reported in https://dev.openwrt.org/ticket/6712 probably this is
not an issue in the ath9k/b43 driver but in some other part of OpenWRT.

Please try if it helps using an older version of compat-wireless or
using an older version of the hostapd/wpa-supplicant combination. (Just
go back some revisions in the svn for that directories)

Hauke



signature.asc
Description: OpenPGP digital signature
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: b43 and WPA-PSK

2010-02-23 Thread Yan Seiner

On Tue, February 23, 2010 8:38 pm, Hauke Mehrtens wrote:
 Yan Seiner wrote:
 On Tue, February 23, 2010 4:57 pm, Larry Finger wrote:
 What I do know is that the BCM4318 does work with WPA/WPA2, although my
 device
 is Cardbus format in an old laptop. Using Broadcom's proprietary
 firmware,
 as
 you seem to be doing, the encryption/decryption is done in the
 hardware.

 The issues seems to be with the version of wireless utils in the latest
 openwrt snapshot.  Sure looked like a driver issue,though.

 I'm a little confused on your usage of the device. As an AP, I see no
 need
 to
 scan. Are you using it as a station, or as a wireless bridge? In these
 modes,
 would not the bridging code to eth0 get in the way?

 I am using it in STA mode.

 I set up a separate network for the wireless and do not use bridging.  I
 have to wan ports in effect - one for the wireless and one for wired.
 I
 don't use the wired port.

 It works quite well (or did, until I tried the b43 drivers at which
 point
 I also got the broken version of iwconfig/iwlist.)

 --Yan

 Hi,

 Someone reports that the station mode is not working for him in OpenWRT
 with ath9k driver after the last update of compat-wireless in OpenWRT.
 It was reported in https://dev.openwrt.org/ticket/6712 probably this is
 not an issue in the ath9k/b43 driver but in some other part of OpenWRT.

 Please try if it helps using an older version of compat-wireless or
 using an older version of the hostapd/wpa-supplicant combination. (Just
 go back some revisions in the svn for that directories)

Yes, that is the conclusion I came to.  I opened a ticket earlier today.

https://dev.openwrt.org/ticket/6732

I'll attach it to the other ticket.


-- 
If you have eight hours to chop down a tree
spend six sharpening your axe.
--Abraham Lincoln

___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Turn broadcom 4311 into master mode

2010-02-23 Thread D1e6o!
Hello, I'm getting problems to turn my laptop in master mode.

When I try to change the mode I get an error:

sudo iwconfig wlan0 mode master
Error for wireless request Set Mode (8B06) :
SET failed on device wlan0 ; Invalid argument.

I followed the guide to install the drivers and the problem persists
(http://linuxwireless.org/en/users/Drivers/b43/devices), also tried to
use the drivers installed from repositories of ubuntu karmic desktop,
with and without networkmanager running

The board is running fine, I have an broadcom 4311 rev 2 and running
the driver b43

The kernel is from ubuntu, do I need any special compilation of it?

lsmod | grep b43
b43   136552  0
ssb40944  1 b43
mac80211  209912  1 b43
cfg80211  109144  2 b43,mac80211
led_class   5256  1 b43

The driver creates two interfaces, with iwconfig:
(other interfaces of my computer)
...
wmaster0  no wireless extensions.

wlan0 IEEE 802.11bg  ESSID:
 Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
 Tx-Power=20 dBm
 Retry  long limit:7   RTS thr:off   Fragment thr:off
 Encryption key:off
 Power Management:off
 Link Quality:0  Signal level:0  Noise level:0
 Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
 Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Why I get Invalid Argument? The argument Isn't recognized...

Thanks!
___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev


Re: Turn broadcom 4311 into master mode

2010-02-23 Thread Larry Finger
On 02/23/2010 08:43 PM, D1e6o! wrote:
 Hello, I'm getting problems to turn my laptop in master mode.
 
 When I try to change the mode I get an error:
 
 sudo iwconfig wlan0 mode master
 Error for wireless request Set Mode (8B06) :
 SET failed on device wlan0 ; Invalid argument.
 
 I followed the guide to install the drivers and the problem persists
 (http://linuxwireless.org/en/users/Drivers/b43/devices), also tried to
 use the drivers installed from repositories of ubuntu karmic desktop,
 with and without networkmanager running
 
 The board is running fine, I have an broadcom 4311 rev 2 and running
 the driver b43
 
 The kernel is from ubuntu, do I need any special compilation of it?
 
 lsmod | grep b43
 b43   136552  0
 ssb40944  1 b43
 mac80211  209912  1 b43
 cfg80211  109144  2 b43,mac80211
 led_class   5256  1 b43
 
 The driver creates two interfaces, with iwconfig:
 (other interfaces of my computer)
 ...
 wmaster0  no wireless extensions.
 
 wlan0 IEEE 802.11bg  ESSID:
  Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
  Tx-Power=20 dBm
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:off
  Link Quality:0  Signal level:0  Noise level:0
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
 Why I get Invalid Argument? The argument Isn't recognized...

That is not the correct way to set master or AP mode. One way is described in
the first post in the openSYSE Wireless Forum at http://tinyurl.com/yzlp7nm. It
contains the scripts needed to implement an AP using hostapd and DHCP. The
firewall is left to you. This way will work with b43 as long as hostapd is 0.6.0
or later. Version 0.5.X will not work.

Larry

___
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev