Fixed. Turned out to be an issue on the host PC.
Thanks,

On Thursday, March 9, 2017 at 1:22:47 PM UTC-5, Mike Davis wrote:
>
> Hello all,
> My usb0 interface has suddenly stopped working and will not start properly.
> Things were working well but after a power-off and reboot via SW2, usb0 no 
> longer comes up.
> Luckily I have a serial port adapter attached to the BBB J1. Otherwise I 
> would be dead since I can no longer ssh into BBB from the host pc.
>
> I am running the latest Debian image on a BBB with this kernel:
>
> Linux beaglebone 4.4.52-bone16 #1 Tue Feb 28 06:56:05 UTC 2017 armv7l 
> GNU/Linux
>
> ifconfig usb shows:
> usb0      Link encap:Ethernet  HWaddr d0:5f:b8:d2:78:b6
>           inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
>           inet6 addr: fe80::d25f:b8ff:fed2:78b6/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> Note that there are NO RX/TX packets. This is the first clue.
>
> /etc/network/interfaces contains:
>
> # Ethernet/RNDIS gadget (g_ether)
> # Used by: /opt/scripts/boot/autoconfigure_usb0.sh
> auto usb0
> iface usb0 inet static
>     address 192.168.7.2
>     netmask 255.255.255.252
>     network 192.168.7.0
>     gateway 192.168.7.1
>
>
> Taking usb0 down gets:
>
> debian@beaglebone:~$ sudo ifdown usb0
> ifdown: interface usb0 not configured
>
> Restarting networking gets:
>
> debian@beaglebone:~$ sudo /etc/init.d/networking restart
> Restarting networking (via systemctl): networking.serviceJob for 
> networking.service failed because the control process exited with error 
> code.
> See "systemctl status networking.service" and "journalctl -xe" for details.
>  failed!
>
> and systemctl status networking.service shows:
>
> debian@beaglebone:~$ systemctl status networking.service
> ● networking.service - Raise network interfaces
>    Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor 
> prese
>   Drop-In: /run/systemd/generator/networking.service.d
>            └─50-insserv.conf-$network.conf
>    Active: failed (Result: exit-code) since Sat 2016-05-21 19:12:46 EDT; 
> 35s ago
>      Docs: man:interfaces(5)
>  Main PID: 1910 (code=exited, status=1/FAILURE)
>
> May 21 19:12:44 beaglebone systemd[1]: Starting Raise network interfaces...
> May 21 19:12:45 beaglebone ifup[1910]: RTNETLINK answers: File exists
> May 21 19:12:45 beaglebone ifup[1910]: Failed to bring up usb0.
> May 21 19:12:46 beaglebone systemd[1]: networking.service: Main process 
> exited,
> May 21 19:12:46 beaglebone systemd[1]: Failed to start Raise network 
> interfaces.
> May 21 19:12:46 beaglebone systemd[1]: networking.service: Unit entered 
> failed s
> May 21 19:12:46 beaglebone systemd[1]: networking.service: Failed with 
> result 'e
> lines 1-15/15 (END)
>
> The message "*Failed to start Raise network interfaces*" is seen as boot 
> messages scroll by on the console.
>
> Any help would be greatly appreciated!!!
> Mike Davis
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e26d42ee-f530-4821-bb52-cfdb56b7bed0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to