Skip to content

Instantly share code, notes, and snippets.

@jiahuang
Created July 2, 2015 05:58
Show Gist options
  • Save jiahuang/867f328abfa54a9bbf50 to your computer and use it in GitHub Desktop.
Save jiahuang/867f328abfa54a9bbf50 to your computer and use it in GitHub Desktop.

开关wifi: 改 /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path '10180000.wmac'
        option htmode 'HT20'
        option disabled '0'  <--- 把这个改到: 1=关,0=开

config wifi-iface
        option device 'radio0'
        option network 'wifi'
        option mode 'sta'
        option encryption 'psk2'
        option ssid 'tmTest'
        option key 'tessel01'

改完后:

/etc/init.d/network restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment