I also just ran "opkg update ; opkg upgrade" and got the newest version of everything, so maybe it's fixed...
Hi folks! I am quite happy to have received my BBB so early after ordering and so I've tinkered with it a bit. One thing that keeps cropping up is occasionally my Mac cannot see the BBB over the private USB network link between it and the bone's USB Mini-B connector.
I have the Mac drivers installed per the beaglebone's start page, the Mac can of course see the BEAGLEBONE USB mass storage volume, but that USB network link--while it does show up on both the Mac and the bone, occasionally the DHCP doesn't seem to work.
Details:
From the Mac's perspective, "en4" is the device configured for this link:
en4: flags=863<UP,BROADCAST,SMART,RUNNING,SIMPLEX> mtu 1486
ether c8:a0:30:af:99:29
inet 169.254.58.84 netmask 0xffff0000 broadcast 169.254.255.255
media: autoselect
status: active
In the System Properties>Network>BeagleBoneBlack settings I have attempted forcing it to "Renew DHCP Lease", it always seems to fail and leaves the IP address at 169.254.58.84.
From the BeagleBone Black's perspective, viewed over the FTDI serial console:
usb0 Link encap:Ethernet HWaddr A2:24:F6:7B:22:16
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25442 (24.8 KiB) TX bytes:3626 (3.5 KiB)
root@beaglebone:/lib/systemd/system# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.0 0.0.0.0 255.255.255.252 U 0 0 0 usb0
Everything looks good there, and I noticed there is a "udhcpd" service that serves out the DHCP replies:
root@beaglebone:/lib/systemd/system# ps auxwww | grep udhcp
root 759 0.0 0.1 2152 712 ? Ss 00:30 0:00 /usr/sbin/udhcpd -f -S /etc/udhcpd.conf
root 783 0.0 0.1 1960 612 ttyO0 S+ 00:38 0:00 grep udhcp
However, watch this tcpdump from the BeagleBone while I issue the "Renew DHCP Lease" from the Mac:
root@beaglebone:/lib/systemd/system# tcpdump -i usb0 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on usb0, link-type EN10MB (Ethernet), capture size 65535 bytes
00:38:54.329377 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from c8:a0:30:af:99:29, length 300
00:38:54.529492 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from c8:a0:30:af:99:29, length 300
00:38:55.717268 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from c8:a0:30:af:99:29, length 300
00:38:57.813579 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from c8:a0:30:af:99:29, length 300
00:39:02.646378 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from c8:a0:30:af:99:29, length 300
00:39:10.746119 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from c8:a0:30:af:99:29, length 300
00:39:19.651589 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from c8:a0:30:af:99:29, length 300
Obviously the USB network link is working, but I presume that "udhcpd" process isn't replying?
FYI the Ethernet is not plugged in.
While I am no stranger to Linux I am quite new to Angstrom. Is there any logfiles or other manner of obtaining syslog info that udhcpd might be kicking out to help diagnose further?
Thanks!