OPENWRT NETWORK配置
OPENWRT NETWORK配置
蔡清华 发表于3年前
OPENWRT NETWORK配置
  • 发表于 3年前
  • 阅读 65
  • 收藏 0
  • 点赞 0
  • 评论 0

新睿云服务器60天免费使用,快来体验!>>>   

 

root@OpenWrt :/etc/config# cat network                                          
                                                                               
config interface 'loopback'                                                    
        option ifname 'lo'                                                     
        option proto 'static'                                                  
        option ipaddr '127.0.0.1'                                              
        option netmask '255.0.0.0'                                             
                                                                               
config globals 'globals'                                                       
        option ula_prefix 'fd2d:98d6:6c01::/48'                                
                                                                               
config interface 'lan'                                                         
        #option ifname 'eth1'                                                  
        option type 'bridge'                                                   
        option proto 'static'                                                  
        option ipaddr '192.168.1.253'                                          
        option netmask '255.255.255.0'                                         
                                                                               
config interface 'wan'                                                         
        option proto dhcp                                                      
root@OpenWrt :/etc/config# cat wireless                                         
config wifi-device  radio0                                                     
        option type     mac80211                                               
        option channel  11                                                     
        option hwmode   11g                                                    
        option path     'platform/ar933x_wmac'                                 
        option htmode   HT20                                                   
                                                                               
config wifi-iface                                                              
        option device   radio0                                                 
        option network  wan                                                    
        option mode     sta                                                    
        option ssid     openwrt
        option encryption psk-mixed                                            
        option key 12345678

 

 

mtd -r write openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin firmware   

  • 打赏
  • 点赞
  • 收藏
  • 分享
共有 人打赏支持
粉丝 1
博文 35
码字总数 16347
×
蔡清华
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: