Hi Robert,
I tried the script on my PC Ubunutu host .
All commands went through except for the last two, for which the error
message was something like :
*update-alternatives: error: alternative /usr/sbin/arptables-legacy for
arptables not registered; not setting*
*update-alternatives: error: alternative /usr/sbin/ebtables-legacy for
ebtables not registered; not setting*
And after that when I ran the script on my BBB all I got was :
*debian@beaglebone:~$ sudo /opt/scripts/network/usb_linux_usb0_ics.sh
*
*SIOCADDRT: File exists
*
*PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
*
*From 192.168.7.1 icmp_seq=1 Destination Host Unreachable *
And the IP was unreachable. Is it something which is trivial and I am doing
wrong ?.
One more question in the following command :
sudo iptables --table nat --append POSTROUTING --out-interface eth0 -j
MASQUERADE
sudo iptables --append FORWARD --in-interface eth1 -j ACCEPT
I would want to use my wifi id instead of eth0 if I want the internet to go
through PC Host wifi , right ?And my eth0 is 192.168.7.1 & eth1 is 192.168.6.1.
Is it encouraged to use eth1 for BBB on Linux instead of 192.168.7.1 ?
On Tuesday, May 12, 2020 at 9:09:53 PM UTC-7, RobertCNelson wrote:
>
>
>
> On Tue, May 12, 2020, 10:58 PM Rajesh Kulkarni <[email protected]
> <javascript:>> wrote:
>
>> 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 )
>>
>
>
> Just use iptables on your Ubuntu host:
>
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/network/doc-debian-setup.md
>
> And run this script on the beagle
>
> sudo /opt/scripts/network/usb_linux_usb0_ics.sh
>
>
> Regards,
>
--
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/68dfb039-f96d-4a87-b1db-d107c8dd5939%40googlegroups.com.