I know this is broken record kind of stuff, but here are the details of how I failed to configure a libertas-based wifi client.
My serial number: DS2-1131-000542
Are the modules in /lib/modules/3.0.4/kernel/drivers/net/wireless/libertas good to go?
Did I break something with that "apt-get install libertas-firmware"?
procedure
Put a Debian Wheezy image on a new microSD card
plug in, boot up
- put microSD in standard SD adapter and into external slot
- attach JTAG board
- plug an ethernet cable into dreamplug eth0 and my home router
- boot, interrupt u-boot, configure for multi-boot
- boot OS from external SD
- log in as root
change IP address to stop interfering with my home router
- backup - cp init-setup.sh init-setup-old.sh
- vi init-setup.sh, change third octet from 1 to 2.
- backup - cp /etc/udhcpd.conf /root/
- vi /etc/udhcpd.conf, change third octet from 1 to 2.
- /etc/init.d/udhcpd stop and start
- adduser nick (that's me)
- associate my laptop with dream-uAP-1234
- test - ssh [email protected]
So it's a fresh install of a NewIT image, with little tinkering.
Then I have a go at swapping from wireless AP to wireless client, using the open source libertas tools.
First I installed some missing bits and pieces.
- apt-get install libertas-firmware
- apt-get install wireless-tools wpasupplicant
- echo 2 > /proc/uap/uap0/hwstatus
- ifconfig uap0 down
- rmmod uap8xxx
- echo 0 > /sys/class/leds/guruplug\:green\:wmode/brightness
- test - lsmod
It's all good to this point. Then I try bringing up the client.
I see this error.
libertas_sdio: failed to find firmware (-2)
I had a go before the apt-get install libertas-firmware and saw this.
libertas_sdio mmc0:0001:1: (unregistered net_device): 00:24:23:45:06:ac, fw 11.52.24p0, cap 0x00000301
libertas_sdio mmc0:0001:1: (unregistered net_device): PREP_CMD: command 0x001e failed: 2
libertas_sdio mmc0:0001:1: wlan0: PREP_CMD: command 0x001d failed: 2
libertas_sdio mmc0:0001:1: wlan0: Marvell WLAN 802.11 adapter
Many thanks,
Nick