Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit 5bb58a6

Browse files
author
icymind
committed
update readme
1 parent bc770fb commit 5bb58a6

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,8 @@ VRouter 在后台运行一个 openwrt 的虚拟机, 通过更改系统的默认
3232
- 可以是独立的IP, 如 `123.123.123.123`
3333
- 也可以是IP段, 如 `123.123.123.0/8` 将会匹配 `123.123.123.0~123.123.123.255` 之间的IP地址. `123.123.0.0/16`将匹配 `123.123.0.0 ~ 123.123.255.255`之间的IP地址
3434

35-
### 恢复网关
36-
37-
如果出 bug 造成无法上网或者无法解析域名, 而 VRouter 又无法恢复系统默认网关.可以手动恢复:
38-
39-
```bash
40-
# 查找你的路由器地址, 假设命令输出1.2.3.4
41-
/usr/sbin/networksetup -getinfo Wi-Fi | grep Router
42-
43-
# 恢复网关
44-
sudo /sbin/route change default 1.2.3.4
45-
46-
# 恢复DNS
47-
sudo networksetup -setdnsservers Wi-Fi 1.2.3.4
48-
49-
# 确认网关已恢复
50-
/usr/sbin/netstat -nr | grep default | awk '{print $2}'
51-
52-
# 确认DNS已恢复
53-
/usr/sbin/networksetup -getdnsservers Wi-Fi
54-
```
35+
### [免密码切换网关](https://github.com/icymind/VRouter/wiki/%E9%81%BF%E5%85%8D%E6%AF%8F%E6%AC%A1%E5%88%87%E6%8D%A2%E7%BD%91%E5%85%B3%E9%83%BD%E8%BE%93%E5%85%A5%E5%AF%86%E7%A0%81)
36+
### [手动恢复网关](https://github.com/icymind/VRouter/wiki/%E6%89%8B%E5%8A%A8%E6%81%A2%E5%A4%8D%E7%BD%91%E5%85%B3)
5537

5638
### FAQ
5739

0 commit comments

Comments
 (0)