I have installed the latest debian image on my BBB. And I don't know how to proceed with getting the internet to work via USB .
Does making the following changes in /etc/default/bb-boot get you a internet connection ? (I mean via Wifi as a gateway BBB via USB<-->UBUNTU<-> Wifi ) Best Rajesh On Tuesday, May 5, 2020 at 8:42:45 AM UTC-7, RobertCNelson wrote: > > On Tue, May 5, 2020 at 10:35 AM KenUnix <[email protected] <javascript:>> > wrote: > > > > > > So if I understand correctly all I need to do is add the following lines > in my network/interfaces file ? > >> > >> iface usb0 inet static > >> address 192.168.137.2 > >> netmask 255.255.0.0 > >> network 192.168.137.0 > >> gateway 192.168.137.1 > >> dns-nameservers 8.8.8.8 > >> post-up route add default gw 192.168.137.1 > >> > >> > > Make 2 changes so it reads > > > > iface usb0 inet static > > address 192.168.137.2 > > netmask 255.255.0.0 > > network 192.168.137.0 > > nameservers 8.8.8.8 > > gateway 192.168.137.1 > > > > The 192.168.137 is based on the address supplied by the host. > > > > Also this assumes you are NOT using connmanctl. That does its own thing. > > > > Let me know if this helps. > > > > The entire /etc/network/interfaces looks like (in my case) > > > > # The loopback network interface > > auto lo > > iface lo inet loopback > > > > iface usb0 inet static > > address 192.168.137.2 > > netmask 255.255.0.0 > > network 192.168.137.0 > > nameservers 8.8.8.8 > > gateway 192.168.137.1 > > HEADS up!! Starting with 2020.04.06 image's this ^ will no longer > work.. With having too many random config location for usb0 having to > coordinate with dnsmasq/softap/etc.. This was re-written to use one > location: > > /etc/default/bb-boot > > Specifically this section: > > USB_CONFIGURATION=enable > #Its assumed usb0 is always enabled, usb1 can be disabled... > USB0_SUBNET=192.168.7 > USB0_ADDRESS=192.168.7.2 > USB0_NETMASK=255.255.255.0 > > USB1_ENABLE=enable > USB1_SUBNET=192.168.6 > USB1_ADDRESS=192.168.6.2 > USB1_NETMASK=255.255.255.0 > > DNS_NAMESERVER=8.8.8.8 > > These values are then used by these 4 scripts on all board variants > (Classic, with WiFi, etc..) > > https://github.com/beagleboard/customizations/tree/master/usr/bin > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/dd0a9dfe-019d-49d5-b34c-a426c56908af%40googlegroups.com.
