通过USB的Beaglebone黑色持久性互联网-Debian映像2016-05.13 am335x_evm.sh [英] Beaglebone Black Persistent Internet Over USB - Debian Image 2016-05.13 am335x_evm.sh
问题描述
我过去通过usb上网只是在BBB上工作,但是现在每次启动时,我都必须手动添加
My internet over usb used to just work on my BBB but now every time I boot I have to manually add
route add default gw 192.168.7.1
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
我遵循本指南,但在/opt/scripts/boot/am335x_evm.sh
我找不到
/sbin/ifconfig usb0 192.168.7.2 netmask 255.255.255.252
/usr/sbin/udhcpd -S /etc/udhcpd.conf`
所以我可以添加/sbin/route add default gw 192.168.7.1 metric 1
我可以在哪里添加此行?
Where can I add this line?
主机是Windows 10.
edit: Host computer is windows 10.
推荐答案
内核维护者会为 daily 芯片家族更新内核,因此您应该git pull
您提到的/opt目录和然后在/opt/path/to/tools中运行./kernel_update
.
The kernel maintainers update the kernel for that chip-family daily, so you should git pull
that /opt directory you mentioned and then run the ./kernel_update
in /opt/path/to/tools.
BBB上所有可以通过这种方式更新的目录位于 https://github.com/RobertCNelson .
All of the directories on the BBB that can be updated in this manner are on https://github.com/RobertCNelson.
ps.我还更新了设备树文件.
ps. I also updated my device tree files.
这篇关于通过USB的Beaglebone黑色持久性互联网-Debian映像2016-05.13 am335x_evm.sh的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!