3

解决 k2p 作为 ap 使用 其自身无法 access to the Internet

 2 years ago
source link: https://hellodk.cn/post/106
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

解决 k2p 作为 ap 使用 其自身无法 access to the Internet

k2p的荒野无灯老毛子固件使用AP模式时,必须定义LAN网中的DNS,否则k2p本身无法上网,但是它发射出来的WiFi还是可以的~
设置方法有两种:
①编辑/etc/resolv.conf 在domain padavan的下一行添加「nameserver 10.10.10.1」即可。

[hardRouter /home/root]# cat /etc/resolv.conf
domain padavan
nameserver 10.10.10.1

②管理网页:http://10.10.10.2 登录后,寻找:高级设置→内部网络(LAN)→内网设置→DNS服务器 1→填上10.10.10.1 就好了,这是把DNS请求往上一级网关设备丢,从而使得10.10.10.2 这个设备(即是k2p)可以上网。

标签: none

本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK