Topic: WPA-Supplicant with Broadcom drivers?

Hi Everybody,

I need urgently a device with support of WPA-Supplicant to authenticate by using EAP-PEAP (username / password credentials).
Today I played around with some Broadcom based routers like Buffalo WHR-G54S and Linksys WRT54GS without any success.

I tried both, WhiteRussian and Kamikaze tree, but Broadcom driver seems not to be compatible with WPA-Supplicant.

Yes, I know that Atheros based devices work probably with it, so I tried to purchase Accton MR3201A (known as La-Fonera) and / or Meraki Mini (still in beta) here in Germany, but there's no distributor yet. BTW: Anyone knows a source for it? smile

So my question is how I get WPA-Supplicant to work with Broadcom?!
Any solutions, or suggestions for other hardware?

Thanks a lot.
Otherwise I have to buy a third-party device, which will not be supported by OpenWRT sad

Greetz,
tux

Re: WPA-Supplicant with Broadcom drivers?

Do you want to use the router as access point or client? For an access point, you can use the "nas" program instead of wpa_supplicant. However, this doesn't seem to work in client mode.

Re: WPA-Supplicant with Broadcom drivers?

Thanks for your reply.

This device should work in client-mode. The other router is an EAP-PEAP (802.1x) enabled WL-500GP with OpenWRT.
Today I got a La-Fonera, so I can try wpa-supplicant on a atheros based device.

But it seems that there is still no source for La-Fonera / Accton MR3201A / Edge-Core WA3101 for commercial use?!

Re: WPA-Supplicant with Broadcom drivers?

WPA_supplicant seems to work on La-Fonera, read on this thread:
http://forum.openwrt.org/viewtopic.php?pid=43241#p43241

No success with Broadcom sad

Re: WPA-Supplicant with Broadcom drivers?

tux wrote:

Thanks for your reply.

This device should work in client-mode. The other router is an EAP-PEAP (802.1x) enabled WL-500GP with OpenWRT.
Today I got a La-Fonera, so I can try wpa-supplicant on a atheros based device.

But it seems that there is still no source for La-Fonera / Accton MR3201A / Edge-Core WA3101 for commercial use?!

Do you have the WL-500 runnings as 802.1x client towards WAN? I'm trying to set up my 500gP to act as PEAP/MSCHAP client towards the WAN port. As I understand I have to use wpa-supplicant to achieve that, so it sounds bad that it doesn't work with broadcom sad

Re: WPA-Supplicant with Broadcom drivers?

VillMann wrote:

Do you have the WL-500 runnings as 802.1x client towards WAN? (...) As I understand I have to use wpa-supplicant to achieve that, so it sounds bad that it doesn't work with broadcom sad

No, it's authenticating wirelessly.
Try "wpasupplicant -D wired" to use wired ports.

Re: WPA-Supplicant with Broadcom drivers?

Hi,

I was looking for a device such for long time, and finally I found a device which authenticate as a client to a wifi network, but using EAP-TTLS and not PEAP. This is the Pepwave Surf 200 BG.
This device works as a router, adquiring an IP address using DHCP in the wireless interface and doing NAT to the internal ethernet network.

    http://www.pepwave.com/products/surf/

Hope this helps

Re: WPA-Supplicant with Broadcom drivers?

I have a WHR-G54S running WHITE RUSSIAN (0.9). I need it to be a client/bridge so my Linux desktop can get IP leases through it and the D-Link WAP I have running downstairs. The D-Link WAP is connected via ethernet to my FreeBSD gateway box which is the (sole) dhcpd server for the entire LAN. After much effort the Buffalo device can get a dhcp lease for itself, but can't seem to forward dhcp requests up the chain to FreeBSD. It can ping out to the Internet if I leave ping running for a several minutes. Strange. Please don't tell me WPA is still broken on the Broadcom
chips. smile I can only ssh login to the device using a statically configured port. It cannot be accessed over the IP it gets from my server. Thanks for any help and apologies in advance if I missed the obvious answer in the docs.


root@wurt:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11-DS  ESSID:"oak" 
          Mode:Repeater  Frequency:2.422 GHz  Access Point: 00:11:95:CF:44:CF   
          Tx-Power:19 dBm   
          RTS thr=2347 B   Fragment thr=2346 B   
          Encryption key:off
          Link Signal level:-62 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:0   Missed beacon:0

vlan0     no wireless extensions.

##########################################################

ifconfig output:

eth1    Link encap:Ethernet  HWaddr 00:16:01:8D:62:23 
          inet addr:192.168.0.37  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:10467
          TX packets:26 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:744 (744.0 B)  TX bytes:3860 (3.7 KiB)
          Interrupt:2 Base address:0x5000

vlan0     Link encap:Ethernet  HWaddr 00:16:01:8D:62:22 
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:156 errors:0 dropped:0 overruns:0 frame:0
          TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18238 (17.8 KiB)  TX bytes:18245 (17.8 KiB)

##########################################################

Here's all of nvram.

opo=8
wan_device=vlan1
il0macaddr=00:16:01:8D:62:23
boardrev=0x13
et0macaddr=00:16:01:8D:62:22
wl0_akm=psk
watchdog=1000
boot_wait=on
wl0_infra=1
et0mdcport=0
hw_rev=3
reset_gpio=7
pmon_ver=CFE 1.0.37-1.08
wl0_ifname=eth1
gpio1=ses_led
ifup_interfaces=lan wl0 wifi
vlan0ports=1 2 3 4 5*
wl0_mode=wet
wl0_gmode=2
sromrev=2
boardtype=0x467
lan_netmask=255.255.255.0
wl0_ssid=oak
nvram_version=1.03
wl0id=0x4318
pmon_date=Jul 14 2006 14:09:08
ag0=2
wl0_closed=1
wl0gpio0=0
wl0_macmode=allow
wl0gpio1=0
wl0gpio2=2
wl0gpio3=0
wl0_lazywds=1
wl0_antdiv=-1
wl0_wpa_psk=Not going to post that!
melco_id=30182
wan_proto=none
memc_config=0x00048000     
pa0itssit=62               
wifi_proto=dhcp             
cctl=0                     
lan_dns=192.168.0.1         
lan_ifnames=vlan0 eth1 eth2
pa0maxpwr=0x4e             
lan_proto=static           
lan_ipaddr=192.168.0.2     
clkfreq=200                 
aa0=3                       
vlan1hwname=et0             
wl0_wep=disabled           
sdram_config=0x22           
vlan1ports=0 5             
ccode=0                     
lan_ifname=vlan0           
boardflags=0x2758           
sdram_refresh=0             
sdram_ncdl=0x20521         
gpio14=ses_button           
et0phyaddr=30               
wan_ifname=vlan1           
wan_hostname=wurt           
wl0_radio=1                 
wl0_gmode_protection=off   
pa0b0=0x168b               
pa0b1=0xfabf               
pa0b2=0xfeaf               
sdram_init=0x0100           
vlan0hwname=et0             
wl0_channel=6               
et1phyaddr=0x1f             
wl0_proto=dhcp             
language=en                 
boardnum=00                 
wl0_crypto=tkip

Monkeys are superior to men in this:
when a monkey looks into a mirror, he sees a monkey.
-- Malcolm De Chazal