OpenWrt命令行启动WiFi

# cd /etc/config

# vim /etc/config/wireless

config wifi-device  radio0

        ........

        # REMOVE THIS LINE TO ENABLE WIFI:

        #option disabled 1

# /sbin/wifi up

Configuration file: /var/run/hostapd-phy0.conf
[ 3168.440000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3168.470000] device wlan0 entered promiscuous mode
[ 3168.490000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Using interface wlan0 with hwaddr 00:03:7f:42:03:25 and ssid "OpenWrt"
[ 3168.510000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 3168.520000] br-lan: port 3(wlan0) entered forwarding state
[ 3168.520000] br-lan: port 3(wlan0) entered forwarding state
[ 3170.520000] br-lan: port 3(wlan0) entered forwarding state

你可能感兴趣的:(OpenWrt)