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

原文地址:https://www.cnblogs.com/caoyongan/p/4317723.html