opkg install kmod-usb2
opkg install usbutils
lsusb
opkg install luci
opkg install luci-app-sqm
opkg install $driver
Driver | Usb Wifi Stick - lsusb |
---|---|
kmod-ath9k-htc | Bus 001 Device 004: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n |
N/A | Bus 001 Device 006: ID 148f:761a Ralink Technology, Corp. |
kmod-rtl8xxxu, kmod-rtl8192cu | Bus 001 Device 007: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter |
kmod-net-rtl8192su | Bus 001 Device 007: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter |
cat > /tmp/wpa_supplicant.conf <<_CONF_
network={
ssid="ssid_name"
psk="password"
}
_CONF_
wpa_supplicant -i wlan0 -c /tmp/wpa_supplicant.conf
udhcpc -i wlan0