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

请问在安卓手机中,network怎么设置 #82

Open
tiantianlikeu opened this issue Apr 12, 2023 · 0 comments
Open

请问在安卓手机中,network怎么设置 #82

tiantianlikeu opened this issue Apr 12, 2023 · 0 comments

Comments

@tiantianlikeu
Copy link

sudo ip link set wlan0 promisc on
创建了网络
docker network create -d macvlan --subnet=192.168.123.0/24 --gateway=192.168.123.1 -o parent=wlan0 macnet
run v8
docker run --restart always --name openwrt -d --network macnet --privileged sulinggg/openwrt:armv8 /sbin/init

进入容器后:
修改为config interface 'wan'
option type 'bridge'
option ifname 'wlan0'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.123.100'
option gateway '192.168.123.1'
option dns '192.168.123.1'

无法访问管理界面

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