RuralHunter / CoreELEC

This is CoreELEC for Phicomm N1 device only. Run ./mkn1 to build.
https://coreelec.org
593 stars 106 forks source link

有哪位朋友,docker安装op做旁路由成功了的么? #45

Open soundghost opened 3 years ago

soundghost commented 3 years ago

coreelec的配置跟armbian不一样,虽然可以用遥控器在ui界面里手动设置静态ip,但是好像设置完后coreelec是上不了网的。 改网关为op的地址也不行,网卡开启了混杂模式也不行。

不知道有哪位朋友用19.1的镜像尝试过op旁路由模式呢?

xinhua16 commented 3 years ago

9.2.7使用下来没问题,就是蓝牙遥控器不能配对

xplay2017 commented 3 years ago

9.2装过OP docker,当时用macvlan方式,容器不能和宿主机通信,后来没有深入研究

qpwoei0814 commented 3 years ago

试了下19.1的镜像尝试的op旁路由模式,一样的容器不能和宿主机通信,所以目前宿主机就先没有过旁路由

518512 commented 2 years ago

试了下19.1的镜像尝试的op旁路由模式,一样的容器不能和宿主机通信,所以目前宿主机就先没有过旁路由

其他设备可以通过 容器 上网嘛? 我这里其他设备设备 容器为网关 无法上网

即便后期使用如下脚本,使宿主机与容器互通了,问题依旧

!/bin/sh

ifconfig eth0 promisc /opt/sbin/ip addr flush dev eth0 /opt/sbin/ip link add macvlan link eth0 type macvlan mode bridge /opt/sbin/ip link set macvlan up /opt/sbin/ip route del 192.168.1.0/24 dev eth0 /opt/sbin/ip route del default /opt/sbin/ip route add 192.168.1.0/24 dev macvlan /opt/sbin/ip route add default via 网关地址 dev macvlan connmanctl services |grep -vi $(ifconfig eth0|grep HW|awk -F: '{print $7}')|awk '{system("connmanctl config "$3" --ipv4 manual IP地址 255.255.255.0 网关地址")}' connmanctl services | grep eth|awk '{system("connmanctl config "$3" --nameservers DNS地址")}'

518512 commented 2 years ago

9.2.7使用下来没问题,就是蓝牙遥控器不能配对

请问是用的是RuralHunter发布的 9.2.7 吗?

op镜像是哪个?

flamingo7777 commented 2 years ago

我之前成功过

518512 commented 2 years ago

我之前成功过

CoreELEC-Phicomm-N1.arm-9.2-Erick.9.2.2.img

目前测试只有这个,可以成功!其他都不行

yesky84 commented 2 years ago

9.2.7使用下来没问题,就是蓝牙遥控器不能配对

在coreelec里无法配对,但可以在ssh用命令配对。我试过。

xiaole51 commented 1 year ago

要跑docker的OP的话需要重新编译内核, 默认内核缺少ipset等网络依赖所以无法路由.

YinghaoFu commented 1 year ago

改英文,蓝牙可以吧。

Zas09 commented 1 year ago

If you want to run the OP of docker, you need to recompile the kernel. The default kernel lacks network dependencies such as ipset, so it cannot be routed.

Can show how to do it? Sorry for my bad english

Zas09 commented 1 year ago

I have succeeded before

CoreELEC-Phicomm-N1.arm-9.2-Erick.9.2.2.img

Only this is the current test, it can be successful! nothing else

Link firmware please