OPENWRT NETWORK配置

 

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   

你可能感兴趣的:(OPENWRT NETWORK配置)