by takbal » Fri Aug 17, 2012 9:52 pm
$this->bbcode_second_pass_quote('sethjvm', '
')Here is the process I used on a fresh install of the rootfs
I have a similar setup, but I am also using dhcpcd. My procedure is:
$this->bbcode_second_pass_code('', '
pacman -S dhcpcd
pacman -S wifi-select
mkdir /tmp/ce
mount -t ubifs -o ro ubi0:rootfs /tmp/ce
mkdir /etc/Wireless
/bin/cp -rfv /tmp/ce/etc/Wireless/RT2860STA /etc/Wireless
cp rt3390sta.ko.gz /usr/lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/wireless
depmod -a
')
edit of /etc/rc.conf:
$this->bbcode_second_pass_code('', '
...
MODULES=(gmac rt3390sta)
...
interface=eth0
address=
netmask=
broadcast=
gateway=
ra0="dhcp"
INTERFACES=(eth0 ra0)
...
')
/etc/rc.local full content:
$this->bbcode_second_pass_code('', '
#!/bin/bash
#
# /etc/rc.local: Local multi-user start-up script.
#
ifconfig ra0 up
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode=WPA2PSK
iwpriv ra0 set EncrypType=AES
iwpriv ra0 set SSID="mynetwork"
iwpriv ra0 set WPAPSK="mypassword"
dhcpcd ra0
')
Then reboot. I have both wifi and LAN working simultaneously, though the LAN cable must be connected at boot-time to get an IP through that.