你好,
我是从PocketBeagle这个话题发来的 - Linux上的Linux - eewiki。
基本上我按照说明启动了基于iMX的评估板。
我用
rootfs的https://rcn-ee.com/rootfs/eewiki ... f-2017-12-09.tar.xz。
电路板启动正常,我登录确定(ubuntu / tempwd,从串口登录),无法ping 8.8.8.8。
我可以从网络中的其他计算机ping板,但由于权限问题,板本身无法ping通。
我知道我是root,因为我可以做dd命令等...我可以调用“ping --help”但不能执行“ping 8.8.8.8”。
我按照某人注意“setcap cap_net_raw + p / bin / ping”但遇到消息“无法设置CAP_SETFCAP有效功能:操作不允许”。
我找不到任何其他提示来解决这个问题。
你能帮忙吗?
顺便说一句,当我做“sudo ping 8.8.8.8”时,我遇到了消息“sudo / usr / bin / sudo必须由uid 0拥有并且设置了setuid位”
以上来自于谷歌翻译以下为原文
hello,
I was sent from this topic PocketBeagle - Linux on ARM - eewiki. Basically I followed the instructions to boot up an iMX based evaluation board. I use
https://rcn-ee.com/rootfs/eewiki ... f-2017-12-09.tar.xz for rootfs. The board booted up fine and I logged in ok (ubuntu/tempwd, logged in from the serial port), faiLED to ping 8.8.8.8.
I can ping the board from other computer in the network but the board itself cannot ping because of permission issue. I know I am root, as I can do dd command, etc… I can call “ping --help” but cannot do “ping 8.8.8.8”.
I followed someone note “setcap cap_net_raw+p /bin/ping” but met with message “unable to set CAP_SETFCAP effective capability: Operation not permitted”.
I cannot find any other hints to solve this problem. Can you please help ?
By the way, when I do “sudo ping 8.8.8.8”, I was met with message “sudo /usr/bin/sudo must be owned by uid 0 and have the setuid bit set”
0