User Tools

Site Tools


netmode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
netmode [2018/03/02 02:58] adminnetmode [2025/10/14 06:22] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====模式简介==== ====模式简介====
-板子有四种工作模式,分别是中继器,客户端,路由器,家庭宽带拨号,通过widora_mode命令切换,切换后,以后NEO上电会记忆住模式名字。 \\ +网口模式和WI-FI模式介绍如下(如果不支持以下命令请将固件升级到最新): 
-使用方法如下+===0.1.8及以后=== 
 +查看网络模式命令ethmode,(不受恢复出厂设置影响) 
 +^ ethmode命令 ^ 网口状态 ^ 
 +| ethmode l | 单网口0,LAN | 
 +| ethmode w | 单网口0,WAN | 
 +| ethmode wllll | 五网口,Port0为WAN,其余为LAN | 
 +| ethmode lllll | 五网口,均为LAN |
  
-^ 网络域/模式 ^ 未设置任何模式,最初固件 中继器 ^ 客户端 ^ 路由器 宽带拨号 +设置WI-FI模式命令wifimode: 
-DHCP服务是否开启(LAN) | NO | NO | YES | YES | YES +wifimode命令 状态 
-LAN域 eth0 ap |eth0 ap apcli0 | eth0 ap(默认隐藏SSID) | ap | ap | +wifimode ap | 仅AP热点,AP为LAN | 
-WAN域 | |  | apcli0 | eth0 | eth0 +wifimode sta 仅STA(apcli0),STA为WAN | 
-从LAN域访问的地址 192.168.1.1 | ifconfig br-lan查看由上级分配 | 192.168.1.1 | 192.168.1.1 | 192.168.1.1 | +wifimode apsta 以上两者共存AP为LAN,STA为WAN |
-| 从WAN域访问的地址(需要关闭防火墙) |  | ifconfig apcli0 | ifconfig eth0 | ifconfig pppoe | +
-几种模式对应的命令(如果没有密码,key不填即可): +
-<code bash> +
-“widora_mode repeater” or “widora_mode repeater ssid key”  +
-“widora_mode client” or “widora_mode client ssid key”  +
-“widora_mode router”  +
-“widora_mode pppoe” or “widora_mode pppoe name key” +
-</code> +
-==切换到客户端模式==+
  
-==切换到单口路由器模式==+<wrap hi>20180405以前的固件,默认关地址br-lan192.168.1.1,以后的固件为192.168.8.1</wrap> \\
  
- +===0.1.7=== 
- +^ MODE ^  REPEATER   ^ CLIENT  ^ ROUTER ^ PPPOE ^ 
- +| LAN | eth0 ap apcli0 | eth0 ap | ap | ap | 
- +| WAN | none | apcli0 | eth0 | eth0 | 
- +  "widora_mode repeater" or "widora_mode repeater ssid key" or "widora_mode repeater ssid"  
-==切换到中继器模式(扩充无线网络覆盖,WI-FI转有线)==+  "widora_mode client" or "widora_mode client ssid key" or "widora_mode client ssid"  
 +  "widora_mode router"  
 +  "widora_mode pppoe" or "widora_mode pppoe name key" 
netmode.1519959518.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki