I am trying to get my Dockstar working with a small, inexpensive wirless adapter, the AirLink 101 AWLL6075, the "Golden N Wireless Mini USB Adapter." Lsusb shows
$this->bbcode_second_pass_code('', '
Bus 001 Device 004: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191S WLAN Adapter
')
When I boot with the adapter in, dmesg.log contains (eliminating most of the lines that are always there)
$this->bbcode_second_pass_code('', '
[ 5.671692] Registered led device: status:blue:health
[ 5.672182] r8712u: DriverVersion: v7_0.20100831
[ 5.676917] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 5.682698] r8712u: USB_SPEED_HIGH with 4 endpoints
[ 5.688351] r8712u: Boot from EFUSE: Autoload OK
...
[ 6.487353] r8712u: CustomerID = 0x0000
[ 6.491205] r8712u: MAC Address from efuse = 00:21:2f:34:b9:92
[ 6.498192] usbcore: registered new interface driver r8712u
...
')
I downloaded the Realtek driver source, and found from the documentation that the 8712, so it seems suggestive, as if it could work.
The Debian Dockstar forums have postings indicating success, such as this one, but Arch Linux configures a little differently than Debian, and I am not sure how to do it.
First, I tried defining an interface in rc.conf:
$this->bbcode_second_pass_code('', '
interface=wlan0
address=
netmask=
gateway=
')
and /etc/conf.d/wireless:
$this->bbcode_second_pass_code('', '
wlan_wlan0="wlan0 mode managed essid default"
WLAN_INTERFACES=(wlan0)
')
However, upon rebooting the machine, it hangs. I tried providing an address, netmask and gateway in rc.conf, but the machine still hung, too. I had to remove the interface definition from rc.conf to get it to boot, but I did leave the definition in the "wireless" file.
I decided that I needed to look more into the wireless configuration side.
"iwconfig wlan0" shows
$this->bbcode_second_pass_code('', '
wlan0 unassociated Nickname:"rtl_wifi"
Mode:Auto Access Point: Not-Associated Sensitivity:0/0
Retry:off RTS thr:off Fragment thr: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
')
Running "ip addr", I get
$this->bbcode_second_pass_code('', '
...
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:21:2f:34:b9:92 brd ff:ff:ff:ff:ff:ff
')
I could manually set some items using iwconfig, but decided that I really should set up configuration files. I use WPA2 on my network, so following the directions on the ArchLinx Wiki
First, I tried the dynamic method. I created /etc/wpa_supplicant.conf:
$this->bbcode_second_pass_code('', '
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
')
Then I tried to run wpa_supplicant, but it didn't work
$this->bbcode_second_pass_code('', '
# wpa_supplicant -Dwext -i wlan0 -c/etc/wpa_supplicant.conf -B
Could not set interface wlan0 flags: Operation not permitted
Failed to initialize driver interface
')
By the way, /var/log/messages.log says
$this->bbcode_second_pass_code('', '
r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
')
whenever I try it. There is no /lib/firmware directory, so I don't know where it would be getting it from.
Then I tried the classic method on the wiki page. I used wpa_passphrase to create /etc/wpa_supplicant.conf with the following contents
$this->bbcode_second_pass_code('', '
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
ssid="<myssid>"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP"
psk=<long hex string>
}
')
I tried defining an interface in rc.conf:
$this->bbcode_second_pass_code('', '
interface=wlan0
address=
netmask=
gateway=
')
Then running "ip link set wlan0 up" as root yields "RTNETLINK answers: Operation not permitted"
At this point, I'm stuck. It seems like it should work, but I am not configuring it properly. Does anybody out there have any suggestions?
