Skip to content

树莓派5无法运行openwrt #1

@uclinch

Description

@uclinch

按教程
先打开网卡混杂
sudo ip link set eth0 promisc on
然后运行docker-compose #我宿主机网卡填写了eth0 子网和网关改成了自己的局域网网段
然后进入容器修改网段和ip
重启网络后
查看了openwet这个容器,容器的日志如下

/etc/preinit: line 58: can't create /sys/class/leds/ACT/trigger: Read-only file system
/etc/preinit: line 58: can't create /sys/class/leds/ACT/trigger: Read-only file system
Failed to find the folder holding the modules
Failed to find the folder holding the modules
Failed to find the folder holding the modules
Failed to find the folder holding the modules
mount: permission denied (are you root?)
sh: out of range

如果我打开容器的特权模式
那么日志就是

Failed to find the folder holding the modules
Failed to find the folder holding the modules
Failed to find the folder holding the modules
Failed to find the folder holding the modules
sh: out of range

依然无法运行,请问是哪里出错了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions