Hardware Reference
In-Depth Information
Solution
Sometimes, you can't connect to the Bone via SSH, but you have a network working over
USB to the Bone. There is a way to access the command line to fix things without requiring
extra hardware. ( Recipe 5.5 shows a way that works even if you don't have a network
working over USB, but it requires a special serial-to-USB cable.)
First, check to ensure that the serial port is there. On the host computer, run the following
command:
host$ ls -ls /dev/ttyACM0
0 crw-rw---- 1 root dialout 166, 0 Jun 19 11:47 /dev/ttyACM0
/dev/ttyACM0 is a serial port on your host computer that the Bone creates when it boots up.
The letters crw-rw---- show that you can't access it as a normal user. However, you
can access it if you are part of dialout group. Just add yourself to the group:
host$ sudo adduser $USER dialout
You have to run adduser only once. Your host computer will remember the next time you
boot up. Now, install and run the screen command:
host$ sudo apt-get install screen
host$ screen /dev/ttyACM0 115200
Debian GNU/Linux 7 beaglebone ttyGS0
default username:password is [debian:temppwd]
Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
The IP Address for usb0 is: 192.168.7.2
beaglebone login:
The /dev/ttyACM0 parameter specifies which serial port to connect to, and 115200
tells the speed of the connection. In this case, it's 115,200 bits per second.
Search WWH ::




Custom Search