CoreELEC icon indicating copy to clipboard operation
CoreELEC copied to clipboard

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

Open soundghost opened this issue 3 years ago • 12 comments

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

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

soundghost avatar Jun 05 '21 15:06 soundghost

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

xinhua16 avatar Jun 10 '21 02:06 xinhua16

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

xplay2017 avatar Jun 16 '21 01:06 xplay2017

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

qpwoei0814 avatar Jun 29 '21 14:06 qpwoei0814

试了下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 avatar Sep 04 '21 09:09 518512

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

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

op镜像是哪个?

518512 avatar Sep 05 '21 05:09 518512

我之前成功过

flamingo7777 avatar Mar 20 '22 05:03 flamingo7777

我之前成功过

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

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

518512 avatar Mar 21 '22 02:03 518512

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

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

yesky84 avatar Mar 21 '22 23:03 yesky84

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

xiaole51 avatar Jan 11 '23 10:01 xiaole51

改英文,蓝牙可以吧。

YinghaoFu avatar Jan 15 '23 02:01 YinghaoFu

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 avatar Jan 15 '23 23:01 Zas09

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

Zas09 avatar Jan 18 '23 11:01 Zas09