We use cookies to provide our visitors with an optimal site experience. View our privacy notice and cookie notice to learn more about how we use cookies and how to manage your settings. By proceeding on our website you consent to the use of cookies.
I am having a weird problem with our new Rev C. boards. The USB Ethernet doesn’t initiate NDIS Client interface as a completion on Ubuntu PC (16.04 version). But I know the issue is not on the Ubuntu PC, it works on all Rev B boards. With Rev C. boards, they work on Windows 10 PC.
To summarize:
Rev B Rev C
Linux OK Not OK (see the interface info below)
Windows 10 OK OK (just move the usb from Linux PC to Win 10)
The interface info from Linux (neither 192.168.7.1 nor 6.1 are instantiated)
Tried your command, it runs but never returns, and eventually it times out. The interface still has no 192.168.7.1. ( For Rev B. It instantiates the client automatically).
I believe something wrong with board hardware ( although it works with Win10). Or it could be some timing issues (or delays in the process of instantiation ).
Feb 01 23:08:36 bbb-pwr01-ser09 sh[1358]: generic-board-startup: start
Feb 01 23:08:36 bbb-pwr01-ser09 sh[1358]: generic-board-startup: ssh
Feb 01 23:08:36 bbb-pwr01-ser09 sh[1358]: generic-board-startup: efi
Feb 01 23:08:36 bbb-pwr01-ser09 sh[1358]: generic-board-startup: model
Feb 01 23:08:37 bbb-pwr01-ser09 sh[1358]: generic-board-startup: [model=TI_AM335x_BeagleBone_Black]
Feb 01 23:08:37 bbb-pwr01-ser09 sh[1358]: generic-board-startup: [startup script=/opt/scripts/boot/am335x_evm.sh]
Feb 01 23:08:37 bbb-pwr01-ser09 sh[1358]: am335x_evm: usb_image_file=[/var/cache/doc-beaglebone-getting-started/beaglebone-getting-started-2
019-10-31.img]
Feb 01 23:08:38 bbb-pwr01-ser09 sshd[1381]: Server listening on 0.0.0.0 port 22.
Feb 01 23:08:38 bbb-pwr01-ser09 sshd[1381]: Server listening on :: port 22.
Feb 01 23:08:40 bbb-pwr01-ser09 sh[1358]: bb_generate_mac.sh /etc/cpsw_0_mac: [C8:A0:30:AB:F3:66]
Feb 01 23:08:40 bbb-pwr01-ser09 sh[1358]: bb_generate_mac.sh /etc/cpsw_1_mac: [C8:A0:30:AB:F3:68]
Feb 01 23:08:40 bbb-pwr01-ser09 sh[1358]: bb_generate_mac.sh /etc/cpsw_2_mac: [C8:A0:30:AB:F3:69]
Feb 01 23:08:40 bbb-pwr01-ser09 sh[1358]: bb_generate_mac.sh /etc/cpsw_3_mac: [C8:A0:30:AB:F3:6A]
Feb 01 23:08:40 bbb-pwr01-ser09 sh[1358]: bb_generate_mac.sh /etc/cpsw_4_mac: [C8:A0:30:AB:F3:6B]
Feb 01 23:08:40 bbb-pwr01-ser09 sh[1358]: bb_generate_mac.sh /etc/cpsw_5_mac: [C8:A0:30:AB:F3:6C]
Feb 01 23:08:41 bbb-pwr01-ser09 sh[1358]: am335x_evm: use_libcomposite
Feb 01 23:08:41 bbb-pwr01-ser09 sh[1358]: am335x_evm: modprobe libcomposite
Feb 01 23:08:41 bbb-pwr01-ser09 sh[1358]: am335x_evm: Creating g_multi
Feb 01 23:08:41 bbb-pwr01-ser09 sh[1358]: /opt/scripts/boot/am335x_evm.sh: 455: echo: echo: I/O error
Feb 01 23:08:42 bbb-pwr01-ser09 sh[1358]: am335x_evm: enable USB mass_storage /var/local/bb_usb_mass_storage.img
Feb 01 23:08:42 bbb-pwr01-ser09 sh[1358]: ln: failed to create symbolic link 'os_desc/c.1': File exists
Feb 01 23:08:42 bbb-pwr01-ser09 sh[1358]: mkdir: cannot create directory ‘functions/rndis.usb0/os_desc/interface.rndis/Icons’: File exists
Feb 01 23:08:42 bbb-pwr01-ser09 sh[1358]: mkdir: cannot create directory ‘functions/rndis.usb0/os_desc/interface.rndis/Label’: File exists
Feb 01 23:08:42 bbb-pwr01-ser09 sh[1358]: ln: failed to create symbolic link 'configs/c.1/rndis.usb0': File exists
Feb 01 23:08:43 bbb-pwr01-ser09 sh[1358]: am335x_evm: g_multi Created
Feb 01 23:08:43 bbb-pwr01-ser09 sh[1358]: am335x_evm: Starting usb0 network
Feb 01 23:08:43 bbb-pwr01-ser09 sh[1358]: am335x_evm: Starting usb1 network
Feb 01 23:08:43 bbb-pwr01-ser09 sh[1358]: am335x_evm: dnsmasq: setting up for usb0/usb1
journalctl | grep dnsmasq
debian@bbb-pwr01-ser09:~$ journalctl | grep dnsmasq
Feb 01 23:08:43 bbb-pwr01-ser09 sh[1358]: am335x_evm: dnsmasq: setting up for usb0/usb1
Feb 01 23:08:44 bbb-pwr01-ser09 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Feb 01 23:08:44 bbb-pwr01-ser09 dnsmasq[1580]: dnsmasq: syntax check OK.
Feb 01 23:08:45 bbb-pwr01-ser09 dnsmasq[1627]: started, version 2.80 cachesize 2048
Feb 01 23:08:45 bbb-pwr01-ser09 dnsmasq[1627]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify dumpfile
Feb 01 23:08:45 bbb-pwr01-ser09 dnsmasq-dhcp[1627]: DHCP, IP range 192.168.6.1 -- 192.168.6.1, lease time 20m
Feb 01 23:08:45 bbb-pwr01-ser09 dnsmasq-dhcp[1627]: DHCP, IP range 192.168.7.1 -- 192.168.7.1, lease time 20m
Feb 01 23:08:45 bbb-pwr01-ser09 dnsmasq[1627]: reading /etc/resolv.conf
Feb 01 23:08:45 bbb-pwr01-ser09 dnsmasq[1627]: using nameserver 192.168.1.2#53
Feb 01 23:08:45 bbb-pwr01-ser09 dnsmasq[1627]: using nameserver 8.8.8.8#53
Feb 01 23:08:45 bbb-pwr01-ser09 dnsmasq[1627]: read /etc/hosts - 5 addresses
Feb 01 23:08:46 bbb-pwr01-ser09 systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
The reason for slightly modifying the command is the command returns a lot of other messages in between. It is logged through my system start-up script. I don’t know those messages causing this issue or not. I can try to stop my script to see it works or not.