openwrt系統的無線WiFi配置文件


一、最近一直在MTK Realtek Broadcom的linux系統方案中換來換去,有多半年沒摸openwrt了,openwrt開發方法忘得差不多了,這是應了那句:好記性不如亂筆頭。更何況我記性還很差,差就罷了,還不愛記,經常用愛因斯坦的那句話來安慰自己:我從不記書本上已經有的知識。確實,做軟件開發的要記的太多,平台、工具、命令一大堆,何必這么累自己,寫寫博客園不就都完事了,哈哈。

 

二、openwrt無線WiFi配置文件

目錄:/etc/config/wireless

內容如下:

root@OpenWrt:/etc/config# cat wireless
config wifi-device      mt7610e
        option type     mt7610e
        option vendor   ralink
        option band     5G
        option channel  0
                option autoch   2

config wifi-iface
        option device   mt7610e
        option ifname   rai0
        option network  lan
        option mode     ap
        option ssid     mt7610e-7629
        option encryption psk2
        option key      12345678

config wifi-device      mt7628
        option type     mt7628
        option vendor   ralink
        option band     2.4G
        option channel  0
        option auotch   2

config wifi-iface
        option device   mt7628
        option ifname   ra0
        option network  lan
        option mode     ap
        option ssid     mt7628-7629
        option encryption psk2
        option key      12345678

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM