My BBB is powered by an external 5V power supply.
It runs the standard Angstrom distro, flashed to the latest version.
The only mods to the standard OS is the following commands:
opkg update
opkg install boost
opkg install gdbserver
My problem is this: The ssh port on the usb0 interface is only usable sometimes. Most of the time after a reboot I am NOT able to ssh into 192.168.2.7 from my PC. But the Linux File-CD Gadget always comes up, and I can always access http://192.168.7.2/Support/bone101/, even when the ssh access does not work.
By connecting a eth cable I can also always access the BBB. But I prefer USB access since the router is very far away
Any tips on what could be causing this would be appreciated…
ssh’ing in over eth I see the following:
root@beaglebone:~# ifconfig
eth0 Link encap:Ethernet HWaddr C8:A0:30:B9:9E:FF
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::caa0:30ff:feb9:9eff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1801 errors:0 dropped:0 overruns:0 frame:0
TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:471222 (460.1 KiB) TX bytes:55260 (53.9 KiB)
Interrupt:56
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:410 (410.0 B) TX bytes:410 (410.0 B)
usb0 Link encap:Ethernet HWaddr B6:B9:14:D7:ED:55
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:417 errors:0 dropped:0 overruns:0 frame:0
TX packets:562 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57627 (56.2 KiB) TX bytes:220752 (215.5 KiB)
On the PC I see this:
user@laptop:~$ ifconfig
…
eth1 Link encap:Ethernet HWaddr c8:a0:30:b9:9f:81
inet addr:192.168.7.1 Bcast:192.168.7.3 Mask:255.255.255.252
inet6 addr: fe80::caa0:30ff:feb9:9f81/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:749 errors:0 dropped:0 overruns:0 frame:0
TX packets:529 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:221900 (221.9 KB) TX bytes:95607 (95.6 KB)
…
user@laptop:~$ wget http://192.168.7.2/Support/bone101/
–2013-10-12 17:22:34-- http://192.168.7.2/Support/bone101/
Connecting to 192.168.7.2:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 23300 (23K) [text/html]
Saving to: ‘index.html’
100%[============================================================================================================================>] 23 300 --.-K/s in 0,008s
2013-10-12 17:22:35 (2,95 MB/s) - ‘index.html’ saved [23300/23300]
user@laptop:~$ ssh root@192.168.2.7
ssh: connect to host 192.168.2.7 port 22: Connection timed out
user@laptop:~$