lede 修改默认开启wifi 修改wan和lan口位置

    --- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh  
    +++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh  
    @@ -116,13 +116,13 @@ detect_mac80211() {  
                            set wireless.radio${devidx}.hwmode=11${mode_band}  
                            ${dev_id}  
                            ${ht_capab}  
    -                       set wireless.radio${devidx}.disabled=1  
    +                       set wireless.radio${devidx}.disabled=0  
       
                            set wireless.default_radio${devidx}=wifi-iface  
                            set wireless.default_radio${devidx}.device=radio${devidx}  
                            set wireless.default_radio${devidx}.network=lan  
                            set wireless.default_radio${devidx}.mode=ap  
    -                       set wireless.default_radio${devidx}.ssid=LEDE  
    +                       set wireless.default_radio${devidx}.ssid=www.xcgui.com  
                            set wireless.default_radio${devidx}.encryption=none  
     EOF  
                    uci -q commit wireless  
    diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network  
    index 91f1aaacbe..2048bbd252 100755  
    --- a/target/linux/ramips/base-files/etc/board.d/02_network  
    +++ b/target/linux/ramips/base-files/etc/board.d/02_network  
    @@ -275,6 +275,11 @@ ramips_setup_interfaces()  
                    ucidef_add_switch "switch0" \  
                            "1:lan" "2:lan" "0:wan" "6@eth0"  
                    ;;  
    +       dir-620-d1|\  
    +       DIR-620-D1)  
    +               ucidef_add_switch "switch0" \  
    +                       "0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6@eth0"  
    +       ;;  
            *)

本文章由作者:佐须之男 整理编辑,原文地址: lede 修改默认开启wifi 修改wan和lan口位置
本站的文章和资源来自互联网或者站长的原创,按照 CC BY -NC -SA 3.0 CN协议发布和共享,转载或引用本站文章应遵循相同协议。如果有侵犯版权的资 源请尽快联系站长,我们会在24h内删除有争议的资源。欢迎大家多多交流,期待共同学习进步。
分享到:更多

相关推荐

网友评论(0)