乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      開(kāi)發(fā)筆記| [轉(zhuǎn)載]OpenWrt常用命令 – initphp的代碼世界,專(zhuān)注PHP,Java!腳踏實(shí)地,一步一個(gè)腳印 – 博客頻道 – CSDN.NET | Mikel

       我的技術(shù)大雜燴 2015-05-03
      uci set network.lan.ipaddr=[lan ip]

       

       

      使用pppoe設(shè)置

       

      Shell代碼

       

      uci set network.wan.proto=pppoe    //設(shè)置wan口類(lèi)型為pppoe

       

      uci set network.wan.username=[上網(wǎng)帳戶]

       

      uci set network.wan.password=[上網(wǎng)密碼]    //這兩行設(shè)置pppoe用戶名和密碼

       

       

      如果要掛在上級(jí)路由下面,就需要進(jìn)行下面的設(shè)置

       

      Shell代碼

       

      uci set network.wan.proto=none    //關(guān)掉wan

       

      uci set network.lan.gateway=[上級(jí)路由ip]    //網(wǎng)關(guān)指向上級(jí)路由

       

      uci set network.lan.dns=[上級(jí)路由ip]    //dns指向上級(jí)路由

       

      uci set dhcp.lan.ignore=1    //關(guān)掉lan的dhcp

       

       

      最后對(duì)無(wú)線網(wǎng)絡(luò)進(jìn)行配置

       

      Shell代碼

       

      uci set wireless.@wifi-device[0].disabled=0    //打開(kāi)無(wú)線

       

      uci set wireless.@wifi-device[0].txpower=17    //設(shè)置功率為17dbm 太高會(huì)燒無(wú)線模塊

       

      uci set wireless.@wifi-device[0].channel=6    //設(shè)置無(wú)線信道為6

       

      uci set wireless.@wifi-iface[0].mode=ap    //設(shè)置無(wú)線模式為ap

       

      uci set wireless.@wifi-iface[0].ssid=[自己設(shè)置SSID]    //設(shè)置無(wú)線SSID

       

      uci set wireless.@wifi-iface[0].network=lan    //無(wú)線鏈接到lan上

       

      uci set wireless.@wifi-iface[0].encryption=psk2    //設(shè)置加密WPA2-PSK

       

      uci set wireless.@wifi-iface[0].key=[密碼]    //設(shè)置無(wú)線密碼

       

       

      提交應(yīng)用配置

       

      Shell代碼

       

      uci commit    //應(yīng)用

       

      /etc/init.d/network restart    //重啟網(wǎng)絡(luò)服務(wù)

       

       

       

      安裝luci管理界面

       

      Shell代碼

       

      opkg update // 更新軟件列表

       

      opkg list-installed // 查看已安裝軟件

       

      opkg install luci // 安裝LUCI

       

      opkg install luci-i18n-chinese // 支持中文

      luci-app-firewall – 0.10.0-1
      luci-i18n-english – 0.10.0-1
      luci-lib-core – 0.10.0-1
      luci-lib-ipkg – 0.10.0-1
      luci-lib-lmo – 0.10.0-1
      luci-lib-nixio – 0.10.0-1
      luci-lib-sys – 0.10.0-1
      luci-lib-web – 0.10.0-1
      luci-mod-admin-core – 0.10.0-1
      luci-mod-admin-full – 0.10.0-1
      luci-proto-core – 0.10.0-1
      luci-proto-ppp – 0.10.0-1
      luci-sgi-cgi – 0.10.0-1
      luci-theme-base – 0.10.0-1
      luci-theme-openwrt – 0.10.0-1

       

       

      即可完成LUCI的安裝。

       

      輸入以下命令開(kāi)啟支持web服務(wù)的uhttpd,并設(shè)置其為自啟動(dòng):

       

      Shell代碼

       

      /etc/init.d/uhttpd enable # 開(kāi)機(jī)自啟動(dòng)

      /etc/init.d/uhttpd start # 啟動(dòng)uhttpd

      – Wifidog
      你可以嘗試執(zhí)行以下命令安裝Wifidog:
        opkg update # Optional
      opkg install wifidog

      –sftp安裝
      opkg update
      opkg install vsftpd openssh-sftp-server
      /etc/init.d/vsftpd enable
      /etc/init.d/vsftpd start


      0



      標(biāo)簽: ,

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買(mǎi)等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類(lèi)似文章 更多