LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-21-2018, 03:29 PM   #1
jy824212
Member
 
Registered: Dec 2017
Posts: 35

Rep: Reputation: Disabled
Beagle Bone Black Log in issue via USB port


Beagle Bone Black after login via USB using PuTTY then disconnected from the USB port and wont allow to log in agian
Recently I am using 8.6 IoT Debian image with 4.4.113-ti-r147 kernel configuration.

Every time when I log in the BBB via USB port, it does allow me to log in but after 10s I was disconnected from the BBB console port via USB. I still able to log in the BBB from the Wifi or Eth0 interface. Does anyone know why this could happen.

Last edited by jy824212; 02-21-2018 at 03:30 PM. Reason: change the title
 
Old 02-21-2018, 07:06 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try using the network login and have a look at the log files.
 
Old 02-22-2018, 08:41 AM   #3
jy824212
Member
 
Registered: Dec 2017
Posts: 35

Original Poster
Rep: Reputation: Disabled
Hi,
Before I plug the ethernet cable, I was performing the command dmesg and I found this:

[ 44.407262] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0
[ 44.407451] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1
[ 44.407628] gpio-of-helper ocp:cape-universal: Allocated GPIO id=2
[ 44.407802] gpio-of-helper ocp:cape-universal: Allocated GPIO id=3
[ 44.407965] gpio-of-helper ocp:cape-universal: Allocated GPIO id=4
[ 44.408130] gpio-of-helper ocp:cape-universal: Allocated GPIO id=5
[ 44.408292] gpio-of-helper ocp:cape-universal: Allocated GPIO id=6
[ 44.408457] gpio-of-helper ocp:cape-universal: Allocated GPIO id=7
[ 44.408623] gpio-of-helper ocp:cape-universal: Allocated GPIO id=8
[ 44.408783] gpio-of-helper ocp:cape-universal: Allocated GPIO id=9
[ 44.408951] gpio-of-helper ocp:cape-universal: Allocated GPIO id=10
[ 44.409111] gpio-of-helper ocp:cape-universal: Allocated GPIO id=11
[ 44.409272] gpio-of-helper ocp:cape-universal: Allocated GPIO id=12
[ 44.409445] gpio-of-helper ocp:cape-universal: Allocated GPIO id=13
[ 44.409615] gpio-of-helper ocp:cape-universal: Allocated GPIO id=14
[ 44.409776] gpio-of-helper ocp:cape-universal: Allocated GPIO id=15
[ 44.409944] gpio-of-helper ocp:cape-universal: Allocated GPIO id=16
[ 44.410091] gpio-of-helper ocp:cape-universal: Allocated GPIO id=17
[ 44.434537] gpio-of-helper ocp:cape-universal: Allocated GPIO id=18
[ 44.434597] gpio-of-helper ocp:cape-universal: Failed to request gpio 'P8_26'
[ 44.442011] gpio-of-helper ocp:cape-universal: Failed to create gpio entry

I think there is something wrong with the cape manager
 
Old 02-22-2018, 10:17 AM   #4
jy824212
Member
 
Registered: Dec 2017
Posts: 35

Original Poster
Rep: Reputation: Disabled
Also after I plug the eth0 cable and replug it back it says:
Dec 9 21:09:31 beaglebone connmand[1851]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Dec 9 21:09:31 beaglebone connmand[1851]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253 <LINK>
Dec 9 21:09:31 beaglebone connmand[1851]: usb0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Dec 9 21:09:31 beaglebone connmand[1851]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Dec 9 21:09:31 beaglebone connmand[1851]: usb0 {newlink} index 3 address 382:69:57D:16 mtu 1500
Dec 9 21:09:31 beaglebone connmand[1851]: usb0 {newlink} index 3 operstate 6 <UP>
Dec 9 21:09:31 beaglebone connmand[1851]: Ignoring interface usb0 (filtered)
Dec 9 21:09:31 beaglebone udhcpd[1947]: udhcpd (v1.22.1) started
Dec 9 21:09:31 beaglebone udhcpd[1947]: can't open '/var/lib/misc/udhcpd.leases': No such file or directory
Dec 9 21:09:31 beaglebone systemd[1]: Started Serial Getty on ttyGS0.
Dec 9 21:09:31 beaglebone sh[772]: Loading cape-universaln overlay


usb0 is the one I use to log in the BBB via USB port.
 
Old 02-22-2018, 12:42 PM   #5
jy824212
Member
 
Registered: Dec 2017
Posts: 35

Original Poster
Rep: Reputation: Disabled
also see the system log regarding the usb0 which is 192.168.7.2:

Feb 22 18:34:46 beaglebone connmand[875]: usb0 {create} index 3 type 1 <ETHER>
Feb 22 18:34:46 beaglebone connmand[875]: usb0 {update} flags 4098 <DOWN>
Feb 22 18:34:46 beaglebone kernel: [ 15.408599] usb0: HOST MAC 38:d2:69:57:dd:15
Feb 22 18:34:46 beaglebone kernel: [ 15.409297] usb0: MAC 38:d2:69:57:dd:16
Feb 22 18:34:46 beaglebone connmand[875]: usb0 {newlink} index 3 address 00:00:00:00:00:00 mtu 1500
Feb 22 18:34:46 beaglebone connmand[875]: usb0 {newlink} index 3 operstate 2 <DOWN>
Feb 22 18:34:46 beaglebone connmand[875]: Ignoring interface usb0 (filtered)
Feb 22 18:34:46 beaglebone connmand[875]: Adding interface usb0 [ gadget ]
Feb 22 18:34:46 beaglebone connmand[875]: usb0 {newlink} index 3 address 382:69:57D:16 mtu 1500
Feb 22 18:34:46 beaglebone connmand[875]: usb0 {newlink} index 3 operstate 2 <DOWN>
Feb 22 18:34:46 beaglebone connmand[875]: Ignoring interface usb0 (filtered)
Feb 22 18:34:46 beaglebone udhcpd[985]: is interface usb0 up and configured?: Cannot assign requested address
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {add} address 192.168.7.2/24 label usb0 family 2
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {update} flags 69635 <UP,LOWER_UP>
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {newlink} index 3 address 382:69:57D:16 mtu 1500
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {newlink} index 3 operstate 2 <DOWN>
Feb 22 18:34:47 beaglebone connmand[875]: Ignoring interface usb0 (filtered)
Feb 22 18:34:47 beaglebone avahi-daemon[769]: Joining mDNS multicast group on interface usb0.IPv4 with address 192.168.7.2.
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253 <LINK>
Feb 22 18:34:47 beaglebone avahi-daemon[769]: New relevant interface usb0.IPv4 for mDNS.
Feb 22 18:34:47 beaglebone avahi-daemon[769]: Registering new address record for 192.168.7.2 on usb0.IPv4.
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Feb 22 18:34:47 beaglebone avahi-daemon[769]: Withdrawing address record for 192.168.7.2 on usb0.
Feb 22 18:34:47 beaglebone avahi-daemon[769]: Leaving mDNS multicast group on interface usb0.IPv4 with address 192.168.7.2.
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {del} address 192.168.7.2/24 label usb0
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {del} route 192.168.7.0 gw 0.0.0.0 scope 253 <LINK>
Feb 22 18:34:47 beaglebone avahi-daemon[769]: Interface usb0.IPv4 no longer relevant for mDNS.
Feb 22 18:34:47 beaglebone avahi-daemon[769]: Joining mDNS multicast group on interface usb0.IPv4 with address 192.168.7.2.
Feb 22 18:34:47 beaglebone avahi-daemon[769]: New relevant interface usb0.IPv4 for mDNS.
Feb 22 18:34:47 beaglebone avahi-daemon[769]: Registering new address record for 192.168.7.2 on usb0.IPv4.
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {add} address 192.168.7.2/30 label usb0 family 2
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {add} route 192.168.7.0 gw 0.0.0.0 scope 253 <LINK>
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {newlink} index 3 address 382:69:57D:16 mtu 1500
Feb 22 18:34:47 beaglebone connmand[875]: usb0 {newlink} index 3 operstate 6 <UP>
Feb 22 18:34:47 beaglebone connmand[875]: Ignoring interface usb0 (filtered)
Feb 22 18:34:49 beaglebone avahi-daemon[769]: Joining mDNS multicast group on interface usb0.IPv6 with address fe80::3ad2:69ff:fe57:dd16.
Feb 22 18:34:49 beaglebone avahi-daemon[769]: New relevant interface usb0.IPv6 for mDNS.
Feb 22 18:34:49 beaglebone avahi-daemon[769]: Registering new address record for fe80::3ad2:69ff:fe57:dd16 on usb0.*.
root@beaglebone:~# is interface usb0 up and configured?: Cannot assign requested address
 
Old 02-23-2018, 09:12 PM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
OK, so you have a USB networking adapter? Is it wireless? Which make and model?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failing to read the correct data on Beagle bone black using ioctl and file read on I2C bus 0 jwmueckl Linux - Newbie 1 04-05-2016 11:53 AM
Boot linux on Beagle bone black with initrd shashwatsingh87 Linux - Embedded & Single-board computer 2 03-11-2015 08:07 AM
Beagle Bone Rev A5 serial communication UART4 and UART5 mux settings mandar.nandale Linux - Embedded & Single-board computer 0 05-22-2012 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration