Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

设置旁路网关以后宿主机无法连接外部网络了 #75

Open
quanxin opened this issue Jan 8, 2023 · 0 comments
Open

设置旁路网关以后宿主机无法连接外部网络了 #75

quanxin opened this issue Jan 8, 2023 · 0 comments

Comments

@quanxin
Copy link

quanxin commented Jan 8, 2023

你好,我按照 https://mlapp.cn/376.html 这篇教程在我的树莓派上用docker搭建了openwrt并且给主路由设置了旁路网关。
确实如文章里面提到的,在主路由中设置了网关等信息后,宿主机(也就是树莓派)无法连接网络了。文章里面提供了解决方案,但是我遇到了一些问题,所以来请教一下:
文章中提到“需要修改宿主机的 /etc/network/interfaces 文件以修复”。但是在我的树莓派环境中,我在etc目录下没有找到network目录,也就更没有interface文件了。我想请教一下,像这种情况,是自己创建一个目录,再创建一个interface文件就可以了呢,还是需要其他处理?
谢谢

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant