字體:小 中 大 | |
|
|
2022/01/10 15:51:29瀏覽63|回應0|推薦0 | |
kernel : Linux mylinkit 3.18.23
usb wifi dongle : rtl8188cu
opkg update
opkg install iw
opkg install kmod-crypto-core
opkg install kmod-crypto-arc4
opkg install kmod-crypto-aes
opkg install kmod-cfg80211
opkg install kmod-mac80211
opkg install kmod-rtlwifi
opkg install kmod-rtlwifi-usb
opkg install kmod-rtl8192c-common
opkg install kmod-rtl8192cu
vi /etc/config/wireless
內容如下:
config wifi-device radio1
option type mac80211
option channel 11
option hwmode 11g
option path 101c0000.ehci/usb1/1-1/1-1.1/1-1.1:1.0
option htmode HT20
# REMOVE THIS LINE TO ENABLE WIFI:
#option disabled 1
config wifi-iface
option ifname wlan0
option device radio1
option network lan
option mode ap
option ssid OpenWrt
option encryption none
101c0000.ehci/usb1/1-1/1-1.1/1-1.1:1.0
怎麼來的?
cd /sys/
find -name wlan0
./devices/101c0000.ehci/usb1/1-1/1-1.1/1-1.1:1.0/net/wlan0
./devices/virtual/net/br-lan/brif/wlan0
./class/net/wlan0
path, 參考
/sys/devices/101c0000.ehci/usb1/1-1/1-1.1/1-1.1:1.0/net/wlan0
reboot
|
|
( 不分類|不分類 ) |