On Mon, 6 Jan 2020 06:57:32 -0500, Michael Ascenzi
<[email protected]> declaimed the
following:

>
>What  is not clear to me is the use of the scripts used to configure USB0.
>/boot/uboot/scripts/setup-ubuntu-armhf-3.8.13-bone30.sh makes changes at
>bootup to configure for the static IP that is used on USB0. I'm not sure
>how I would modify it for my needs. Or if there are other things I need to
>worry about.
>

        Since your original post mentions the plan to use a USB<>Ethernet NIC
adapter... I'm presuming you have the USB host port available (I don't
think the client/power port has OTG capability to drive any such adapter)

... Just leave the existing USB network alone -- that's an RNDIS style USB
gadget. The USB<>Ethernet NIC should have its own driver and probably
appears as a different ETH# device. Likely it will even attempt DHCP
negotiation when connected to a live network.

        I'd probably just connect that USB<>Ethernet NIC, hook to a local
router/switch, and see what shows up on the network. If the BBB shows up on
the router, SSH to the assigned IP and check the network names and
configuration for it.

        Just tried an experiment with an old SIIG USB<>Ethernet NIC. Connected
to a regular BBB, moved my CAT-5 from the on-board Ethernet port to the
SIIG, and booted.

debian@beaglebone:~$ ifconfig
eth0: flags=-28669<UP,BROADCAST,MULTICAST,DYNAMIC>  mtu 1500
        ether d0:39:72:18:3e:e5  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 55

eth1: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 192.168.1.92  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::250:b6ff:fe5c:9084  prefixlen 64  scopeid 0x20<link>
        inet6 2600:1700:e630:890::47  prefixlen 64  scopeid 0x0<global>
        inet6 2600:1700:e630:890:250:b6ff:fe5c:9084  prefixlen 64  scopeid
0x0<global>
        ether 00:50:b6:5c:90:84  txqueuelen 1000  (Ethernet)
        RX packets 100  bytes 10874 (10.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 150  bytes 25270 (24.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 320  bytes 23680 (23.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 320  bytes 23680 (23.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.2  netmask 255.255.255.252  broadcast 192.168.7.3
        inet6 fe80::d239:72ff:fe18:3ee7  prefixlen 64  scopeid 0x20<link>
        ether d0:39:72:18:3e:e7  txqueuelen 1000  (Ethernet)
        RX packets 237  bytes 37904 (37.0 KiB)
        RX errors 0  dropped 4  overruns 0  frame 0
        TX packets 45  bytes 10460 (10.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.6.2  netmask 255.255.255.252  broadcast 192.168.6.3
        ether d0:39:72:18:3e:ea  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

debian@beaglebone:~$

        Board has network connectivity over the SIIG unit (USB0 is showing only
since that is how I powered the BBB). Removing the SIIG and plugging into
the on-board Ethernet (and waiting while PuTTY times out a few times)
produced

debian@beaglebone:~$ ifconfig
eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 192.168.1.69  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 2600:1700:e630:890:d239:72ff:fe18:3ee5  prefixlen 64  scopeid
0x0<global>
        inet6 fe80::d239:72ff:fe18:3ee5  prefixlen 64  scopeid 0x20<link>
        ether d0:39:72:18:3e:e5  txqueuelen 1000  (Ethernet)
        RX packets 399  bytes 33810 (33.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 147  bytes 22696 (22.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 55

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 320  bytes 23680 (23.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 320  bytes 23680 (23.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.2  netmask 255.255.255.252  broadcast 192.168.7.3
        inet6 fe80::d239:72ff:fe18:3ee7  prefixlen 64  scopeid 0x20<link>
        ether d0:39:72:18:3e:e7  txqueuelen 1000  (Ethernet)
        RX packets 505  bytes 65150 (63.6 KiB)
        RX errors 0  dropped 4  overruns 0  frame 0
        TX packets 83  bytes 18187 (17.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.6.2  netmask 255.255.255.252  broadcast 192.168.6.3
        ether d0:39:72:18:3e:ea  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

debian@beaglebone:~$



-- 
Dennis L Bieber

-- 
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/h3r61f1873fecfs8g9uqlrrvj1349p41jd%404ax.com.

Reply via email to