Anybody get the 520gU wireless (B43) to work with 2.6 kernel

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by mightyohm »

Is support for client mode working as well?
drmoo
Posts: 2
Joined: Sun Jun 27, 2010 6:55 pm

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by drmoo »

mightyohm wrote:Is support for client mode working as well?
Client mode AND WPA2 :D

The only downside is MPD won't fit in the onboard memory. I'll just use a flash drive for that though.
Roberto
Posts: 2
Joined: Sun Aug 15, 2010 11:27 pm

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by Roberto »

Please let us know the /etc/config/wireless and /etc/config/network necessary for WPA client mode with DHCP.

I just Backfire'd my WL520GU and want to create a media server (ala Pogoplug).
Roberto
Posts: 2
Joined: Sun Aug 15, 2010 11:27 pm

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by Roberto »

Would you also point me to the instructions to have my rootfs in my flash drive? :P
ilinux
Posts: 55
Joined: Mon Jul 06, 2009 2:36 am

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by ilinux »

You can try to use a previous version of makefile into mpd folder.

Look for mpd 0.13 for mpc you can use the 0.17 without problems.

I've used this version for last wrtradio firmware
dddesign
Posts: 10
Joined: Wed Apr 06, 2011 3:33 pm

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by dddesign »

jbemmel wrote:I got Backfire 10.03 (latest release) working on my Asus WL-600G
@jbemmel:
I have also a WL-600G and I'm trying to get usb-audio working with backfire10.03.1rc5 WITHOUT success. I can flash backfire with this file http://downloads.openwrt.org/snapshots/ ... fs-cfe.bin and I have installed package kmod-usb2 and kmod-usb-audio (with all dependencies). but my soundcard http://www.ebay.ch/itm/New-5-1-usb-audi ... 0765333936 is not detected (checked with lsusb). I also tried kmod-usb-ohci and kmod-usb-uhci, no success.
but I know this soundcard can work (with kamikaze and kmod-usb-uhci-iv on an other router (wl-500w))

does your wl-600g support usb-audio? what image did you flash?
thanks for any tips
j
ps: see also my post here: https://forum.openwrt.org/viewtopic.php?id=32117
lostmyshape
Posts: 6
Joined: Thu Mar 31, 2011 11:16 am

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by lostmyshape »

This thread might be dead, but I'm hoping someone out there who got this to work is still around. I'd like to mess around with pulseaudio, which can only be built on trunk. So I'm fighting with the 520gu's wireless on 2.6. The prebuilt openwrt image would freeze the router, but, thanks to the thread, I found I could build it myself with CONFIG_B43_STABLE. Now I can enable wireless without the box going haywire.

However, I can't get it to wirelessly connect to my network in client mode with WPA2. A few posts above suggests that this is possible. Could someone with a little more experience help me to troubleshoot? Here are the two config files I've changed after installation:

/etc/config/network:

Code: Select all

### VLAN configuration 
config switch eth0
   option vlan0   "1 2 3 4 5*"
   option vlan1   "0 5"


#### Loopback configuration
config interface loopback
   option ifname   "lo"
   option proto   static
   option ipaddr   127.0.0.1
   option netmask   255.0.0.0


#### LAN configuration
config interface lan
   #option type    bridge
   option ifname   "eth0.0"
   option proto   static
   option ipaddr   192.168.0.31
   option netmask   255.255.255.0
   option gateway   192.168.0.1
   option dns   8.8.8.8


#### WAN configuration
config interface   wan
   option ifname   "eth0.1"
   option proto   dhcp
/etc/config/wireless:

Code: Select all

config wifi-device  radio0
    option type     mac80211
    option channel  11
    option macaddr    xx:xx:xx:xx:xx:xx
    option hwmode    11g
   # REMOVE THIS LINE TO ENABLE WIFI:

config wifi-iface
   option device   radio0
   option network   lan
   option mode     sta
   option ssid     MYSSID 
   option encryption psk2
   option key MYWEPKEY
After starting wireless with the wifi command I get a weird error:

Code: Select all

root@OpenWrt:/# wifi
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not supported.
brctl: bridge br-lan: Operation not supported
brctl: bridge br-lan: File exists
brctl: bridge br-lan: Operation not supported
Wireless light is on, but it's not connected to my network. Any ideas? Thank you!
iggyCeltic
Posts: 6
Joined: Sun Nov 06, 2011 7:45 pm

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by iggyCeltic »

I got mine to work with the following setup in the /etc/config/wireless file.

Code: Select all

config 'wifi-iface'
	option 'device' 'wl0'
	option 'network' 'lan'
	option 'mode' 'sta'
	option 'ssid' 'SSID'
	option 'encryption' 'mixed-psk+tkip'
	option 'key'  'PASSWORD'
Not sure about your other error yet.
lostmyshape
Posts: 6
Joined: Thu Mar 31, 2011 11:16 am

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by lostmyshape »

I think the other error has to do with a bug that doesn't allow bridge mode with client mode. I've figured a way to get around that, for now. IggyCeltic, would you mind posting your complete /etc/config/network and /etc/config/wireless. I'm getting something wrong here and trying my best to understand these config files...
iggyCeltic
Posts: 6
Joined: Sun Nov 06, 2011 7:45 pm

Re: Anybody get the 520gU wireless (B43) to work with 2.6 ke

Post by iggyCeltic »

Code: Select all

cat /etc/config/network 
#### VLAN configuration 
config switch eth0
	option vlan0	"1 2 3 4 5*"
	option vlan1	"0 5"


#### Loopback configuration
config interface loopback
	option ifname	"lo"
	option proto	static
	option ipaddr	127.0.0.1
	option netmask	255.0.0.0


#### LAN configuration
config interface lan
#	option type 	bridge
	option ifname	"eth0.0"
	option proto	static
	option ipaddr	192.168.1.134
	option netmask	255.255.255.0
	option gateway  192.168.1.1
	option dns      8.8.8.8

#### WAN configuration
config interface	wan
	option proto	dhcp
	option ignore   1
and

Code: Select all

cat /etc/config/wireless 
config 'wifi-device' 'wl0'
	option 'type' 'broadcom'
	option 'channel' '6'

config 'wifi-iface'
	option 'device' 'wl0'
	option 'network' 'lan'
	option 'mode' 'sta'
	option 'ssid' 'MYSSID'
	option 'encryption' 'mixed-psk+tkip'
	option 'key'  'MYPASSWORD'
Post Reply