On Fri, May 8, 2020 at 11:09 AM KenUnix <[email protected]> wrote:
>
>
> /etc/default/bb-boot
>
> Specifically this section:
>
> USB_CONFIGURATION=enable
> #Its assumed usb0 is always enabled, usb1 can be disabled...
> USB0_SUBNET=192.168.137                 <=== 137 for Internet sharing on 
> Windows-10
> USB0_ADDRESS=192.168.137.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
>
> I followed the above settings however this is the resule
>
> debian@beaglebone:~$ route
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.6.0       0.0.0.0         255.255.255.0   U     0      0        0 usb1
> 192.168.137.0   0.0.0.0         255.255.255.0   U     0      0        0 usb0
>
> debian@beaglebone:~$ ping 8.8.8.8
> connect: Network is unreachable
>
> I can ping 192.168.137.1

https://github.com/RobertCNelson/boot-scripts/blob/master/network/usb_windows_ics.sh

Windows ics is stupid, the above script just makes it work.. aka:

sudo ip addr flush dev usb0
sudo dhclient usb0

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/CAOCHtYhjfW%2Bz6rR_ZSnDyo_id1gfcjrfYmiGjjpp-PrEU3PUSg%40mail.gmail.com.

Reply via email to