Beaglebone Black Persistent Internet Over USB - Debian Image 2016-05.13 am335x_evm.sh

岁酱吖の 提交于 2020-01-26 04:20:12

问题


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

I as following this guide but in /opt/scripts/boot/am335x_evm.sh

I can no longer find

/sbin/ifconfig usb0 192.168.7.2 netmask 255.255.255.252
/usr/sbin/udhcpd -S /etc/udhcpd.conf`

so I can add /sbin/route add default gw 192.168.7.1 metric 1

Where can I add this line?

edit: Host computer is windows 10.


回答1:


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.

All of the directories on the BBB that can be updated in this manner are on https://github.com/RobertCNelson.

ps. I also updated my device tree files.



来源:https://stackoverflow.com/questions/40434281/beaglebone-black-persistent-internet-over-usb-debian-image-2016-05-13-am335x-e

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!