Uable to connect to the BeagleBone Black

Already do so.

below…

Already do so.

thanks for having the list in cc.

Cc beagleboard@googlegroups.com and I will reply.

Hi Jason,

I was trying to reconnect my BBB via usb this morning. Everything works fine yesterday. I can log into the BBB via Putty but today, I can’t login via SSH. I did ping 192.168.7.2 it does not work. I also see two LEDs flashing when I plug the BBB and after a little while the LED 3 turns off. I think there’s some eMMc configure issue going on.

The most common failure mode for the network connection once drivers are installed properly is a lack of the board providing a DHCP lease. This represents an issue with the flash imaged that wasn’t caught on some versions. The work-around is to either wait a long time for the DHCP lease to work or manually assign your computer the IP address 192.168.7.1 (mask 255.255.255.252, no gateway) on that interface.

USR3 should stop blinking once the system boot becomes stable. USR3 is the eMMC access indicator by default. USR0 should continue to blink in a heartbeat fashion. The default LED modes are shown on https://beagleboard.org/getting-started.

You can confirm the issue by using a serial adapter to capture the kernel log. Alternatively, there is a virtual serial adapter that should be functioning fine if your drivers were installed properly. Log in and store the output of ‘dmesg’ and ‘journalctl’ to see if the issue can be shown.

I wonder if I can get any suggestion from you.

Work with serial access for the time-being and provide a log so that we can suggest a better long-term fix to avoid the issue, which I suspect is related to not providing your host with a DHCP lease.

Please be sure to provide the image version stored in ID.txt or /etc/dogtag.

Hi Jason,

You are right after a long time of wait I can log into the BBB again. I use the ‘dmesg’ and ‘journalctl’, I found the following:

>>is interface usb0 up and configured?: Cannot assign requested address

can’t open ‘/var/lib/misc/udhcpd.leases’: No such file or directory

Feb 13 14:49:07 beaglebone udhcpd[1176]: Starting very small Busybox based DHCP server: udhcpd.

Feb 13 14:49:07 beaglebone systemd[1]: Started LSB: Start busybox udhcpd at boot time.

Feb 13 14:49:08 beaglebone sh[759]: Starting udhcpd (via systemctl): udhcpd.service.

Feb 13 14:49:08 beaglebone systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE

Feb 13 14:49:08 beaglebone systemd[1]: lightdm.service: Unit entered failed state.

Feb 13 14:49:08 beaglebone systemd[1]: lightdm.service: Failed with result ‘exit-code’.

Line 2:

Failed to bind UDP listener socket

Feb 13 14:49:37 beaglebone connmand[817]: Failed to bind TCP listener socket

Feb 13 14:49:37 beaglebone connmand[817]: DHCP server: option_code 1 option_value 255.255.255.0

Feb 13 14:49:37 beaglebone connmand[817]: DHCP server: option_code 3 option_value 192.168.0.1

Feb 13 14:49:37 beaglebone connmand[817]: DHCP server: option_code 6 option_value 192.168.0.1

Feb 13 14:49:37 beaglebone connmand[817]: tether {create} index 5 type 1

Feb 13 14:49:37 beaglebone connmand[817]: tether {update} flags 4098

Feb 13 14:49:37 beaglebone connmand[817]: tether {newlink} index 5 address BE:D6:BC:C1:14:58 mtu 1500

Feb 13 14:49:37 beaglebone connmand[817]: tether {newlink} index 5 operstate 2

Feb 13 14:49:37 beaglebone connmand[817]: tether {add} address 192.168.0.1/24 label tether family 2

Feb 13 14:49:37 beaglebone connmand[817]: tether {update} flags 102467 <UP,RUNNING,LOWER_UP>

Feb 13 14:49:37 beaglebone connmand[817]: tether {newlink} index 5 address BE:D6:BC:C1:14:58 mtu 1500

Feb 13 14:49:37 beaglebone connmand[817]: tether {newlink} index 5 operstate 0

Feb 13 14:49:37 beaglebone connmand[817]: tether {add} route 192.168.0.0 gw 0.0.0.0 scope 253

Feb 13 14:49:37 beaglebone connmand[817]: tether {add} route fe80:: gw :: scope 0

Feb 13 14:49:37 beaglebone connmand[817]: wlan0 {newlink} index 4 address 40:A5:EF:0E:E7:25 mtu 1500

Line 3:

Using interface wlan0 with hwaddr 40:a5:ef:0e:e7:25 and ssid "BeagleBone-792D"

Feb 13 14:49:38 beaglebone wpa_supplicant[1027]: WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance

Feb 13 14:49:38 beaglebone kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Feb 13 14:49:38 beaglebone kernel: device wlan0 entered promiscuous mode

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {add} route fe80:: gw :: scope 0

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {update} flags 102403 <UP,LOWER_UP>

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 address 40:A5:EF:0E:E7:25 mtu 1500

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 operstate 5

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 address 40:A5:EF:0E:E7:25 mtu 1500

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 operstate 5

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 address 40:A5:EF:0E:E7:25 mtu 1500

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 operstate 5

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 address 40:A5:EF:0E:E7:25 mtu 1500

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 operstate 5

Feb 13 14:49:38 beaglebone connmand[817]: tether {RX} 0 packets 0 bytes

Feb 13 14:49:38 beaglebone connmand[817]: tether {TX} 10 packets 1882 bytes

Feb 13 14:49:38 beaglebone connmand[817]: tether {newlink} index 5 address BE:D6:BC:C1:14:58 mtu 1500

Feb 13 14:49:38 beaglebone connmand[817]: tether {newlink} index 5 operstate 0

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 address 40:A5:EF:0E:E7:25 mtu 1500

Feb 13 14:49:38 beaglebone connmand[817]: wlan0 {newlink} index 4 operstate 5

Feb 13 14:49:38 beaglebone connmand[817]: tether {RX} 0 packets 0 bytes

Line4:

Could not generate persistent MAC address for tether: No such file or directory

Feb 13 14:49:41 beaglebone systemd-udevd[644]: error changing net interface name ‘wlan0’ to ‘wlx40a5ef0ee725’: Device or resource busy

Feb 13 14:49:41 beaglebone systemd-udevd[644]: could not rename interface ‘4’ from ‘wlan0’ to ‘wlx40a5ef0ee725’: Device or resource busy

Feb 13 14:49:42 beaglebone systemd[1]: Started Load/Save RF Kill Switch Status.

Feb 13 14:49:47 beaglebone kernel: eqep 48300180.eqep: ver. 1.0

Feb 13 14:49:47 beaglebone kernel: eqep 48302180.eqep: ver. 1.0

Feb 13 14:49:47 beaglebone kernel: eqep 48304180.eqep: ver. 1.0

Feb 13 14:49:48 beaglebone systemd[1]: Reached target Sound Card.

Feb 13 14:49:48 beaglebone kernel: CAN device driver interface

Feb 13 14:49:48 beaglebone connmand[817]: can0 {newlink} index 6 address 00:00:00:00:00:00 mtu 16

Feb 13 14:49:48 beaglebone connmand[817]: can0 {newlink} index 6 operstate 2

Feb 13 14:49:48 beaglebone kernel: c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=198)

Feb 13 14:49:48 beaglebone connmand[817]: can1 {newlink} index 7 address 00:00:00:00:00:00 mtu 16

Feb 13 14:49:48 beaglebone connmand[817]: can1 {newlink} index 7 operstate 2

Feb 13 14:49:48 beaglebone kernel: c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=199)

Feb 13 14:49:55 beaglebone bonescript-autorun[734]: info: Starting bonescript autorun service

Feb 13 14:49:57 beaglebone dbus[784]: [system] Activating via systemd: service name=‘org.freedesktop.UDisks2’ unit=‘udisks2.service’

Feb 13 14:49:57 beaglebone systemd[1]: Starting Disk Manager…

Feb 13 14:49:57 beaglebone bonescript[1106]: info: Opening port systemd to serve up /usr/share/bone101

Feb 13 14:49:57 beaglebone udisksd[2246]: udisks daemon version 2.1.3 starting

Feb 13 14:49:57 beaglebone dbus[784]: [system] Activating via systemd: service name=‘org.freedesktop.PolicyKit1’ unit=‘polkit.service’

Feb 13 14:49:57 beaglebone systemd[1]: Starting Authorization Manager…

Feb 13 14:49:58 beaglebone polkitd[2254]: Started polkitd version 0.113

Feb 13 14:49:58 beaglebone polkitd[2254]: Loading rules from directory /etc/polkit-1/rules.d

Feb 13 14:49:58 beaglebone polkitd[2254]: Loading rules from directory /usr/share/polkit-1/rules.d

Feb 13 14:49:58 beaglebone polkitd[2254]: Finished loading, compiling and executing 2 rules

Feb 13 14:49:58 beaglebone dbus[784]: [system] Successfully activated service ‘org.freedesktop.PolicyKit1’

Feb 13 14:49:58 beaglebone systemd[1]: Started Authorization Manager.

Feb 13 14:49:58 beaglebone polkitd[2254]: Acquired the name org.freedesktop.PolicyKit1 on the system bus

Feb 13 14:49:58 beaglebone dbus[784]: [system] Successfully activated service ‘org.freedesktop.UDisks2’

Feb 13 14:49:58 beaglebone systemd[1]: Started Disk Manager.

Feb 13 14:49:58 beaglebone udisksd[2246]: Acquired the name org.freedesktop.UDisks2 on the system message bus

Feb 13 14:49:59 beaglebone polkitd[2254]: Registered Authentication Agent for unix-session:1 (system bus name :1.20 [lxqt-policykit-agent], object path /org/lxqt/PolicyKit1/AuthenticationAg

Feb 13 14:50:00 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:50:00 beaglebone org.gtk.Private.AfcVolumeMonitor[1765]: Volume monitor alive

Feb 13 14:50:14 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:50:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:50:32 beaglebone sshd[2482]: Accepted none for root from 192.168.7.1 port 49221 ssh2

Feb 13 14:50:38 beaglebone sshd[2533]: Accepted none for root from 192.168.7.1 port 49229 ssh2

Feb 13 14:50:44 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:50:59 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:51:14 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:51:29 beaglebone connmand[817]: usb0 {add} route 0.0.0.0 gw 192.168.7.1 scope 0

Feb 13 14:51:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:51:44 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:00 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:15 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:44 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:59 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:53:14 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:53:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:53:44 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:53:59 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:54:15 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:54:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

…skipping…

Feb 13 14:49:48 beaglebone systemd[1]: Reached target Sound Card.

Feb 13 14:49:48 beaglebone kernel: CAN device driver interface

Feb 13 14:49:48 beaglebone connmand[817]: can0 {newlink} index 6 address 00:00:00:00:00:00 mtu 16

Feb 13 14:49:48 beaglebone connmand[817]: can0 {newlink} index 6 operstate 2

Feb 13 14:49:48 beaglebone kernel: c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=198)

Feb 13 14:49:48 beaglebone connmand[817]: can1 {newlink} index 7 address 00:00:00:00:00:00 mtu 16

Feb 13 14:49:48 beaglebone connmand[817]: can1 {newlink} index 7 operstate 2

Feb 13 14:49:48 beaglebone kernel: c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=199)

Feb 13 14:49:55 beaglebone bonescript-autorun[734]: info: Starting bonescript autorun service

Feb 13 14:49:57 beaglebone dbus[784]: [system] Activating via systemd: service name=‘org.freedesktop.UDisks2’ unit=‘udisks2.service’

Feb 13 14:49:57 beaglebone systemd[1]: Starting Disk Manager…

Feb 13 14:49:57 beaglebone bonescript[1106]: info: Opening port systemd to serve up /usr/share/bone101

Feb 13 14:49:57 beaglebone udisksd[2246]: udisks daemon version 2.1.3 starting

Feb 13 14:49:57 beaglebone dbus[784]: [system] Activating via systemd: service name=‘org.freedesktop.PolicyKit1’ unit=‘polkit.service’

Feb 13 14:49:57 beaglebone systemd[1]: Starting Authorization Manager…

Feb 13 14:49:58 beaglebone polkitd[2254]: Started polkitd version 0.113

Feb 13 14:49:58 beaglebone polkitd[2254]: Loading rules from directory /etc/polkit-1/rules.d

Feb 13 14:49:58 beaglebone polkitd[2254]: Loading rules from directory /usr/share/polkit-1/rules.d

Feb 13 14:49:58 beaglebone polkitd[2254]: Finished loading, compiling and executing 2 rules

Feb 13 14:49:58 beaglebone dbus[784]: [system] Successfully activated service ‘org.freedesktop.PolicyKit1’

Feb 13 14:49:58 beaglebone systemd[1]: Started Authorization Manager.

Feb 13 14:49:58 beaglebone polkitd[2254]: Acquired the name org.freedesktop.PolicyKit1 on the system bus

Feb 13 14:49:58 beaglebone dbus[784]: [system] Successfully activated service ‘org.freedesktop.UDisks2’

Feb 13 14:49:58 beaglebone systemd[1]: Started Disk Manager.

Feb 13 14:49:58 beaglebone udisksd[2246]: Acquired the name org.freedesktop.UDisks2 on the system message bus

Feb 13 14:49:59 beaglebone polkitd[2254]: Registered Authentication Agent for unix-session:1 (system bus name :1.20 [lxqt-policykit-agent], object path /org/lxqt/PolicyKit1/AuthenticationAg

Feb 13 14:50:00 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:50:00 beaglebone org.gtk.Private.AfcVolumeMonitor[1765]: Volume monitor alive

Feb 13 14:50:14 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:50:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:50:32 beaglebone sshd[2482]: Accepted none for root from 192.168.7.1 port 49221 ssh2

Feb 13 14:50:38 beaglebone sshd[2533]: Accepted none for root from 192.168.7.1 port 49229 ssh2

Feb 13 14:50:44 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:50:59 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:51:14 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:51:29 beaglebone connmand[817]: usb0 {add} route 0.0.0.0 gw 192.168.7.1 scope 0

Feb 13 14:51:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:51:44 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:00 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:15 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:44 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:52:59 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:53:14 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:53:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:53:44 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:53:59 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:54:15 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

Feb 13 14:54:29 beaglebone udhcpd[1188]: Sending ACK to 192.168.7.1

After I manually set up the IP interface under IPv4 of my computer. It still take a long time to log in the beaglebone. Also,

After I command “/sbin/route add default gw 192.168.7.1”

I was unable to ping 8.8.8.8, it will automatically stop there is no packets exchange.

Regards,

Jiye