http://klaus.ede.ase.au.dk/index.php?title=BBB_First_Boot&feed=atom&action=historyBBB First Boot - Revision history2024-03-28T09:29:15ZRevision history for this page on the wikiMediaWiki 1.23.13http://klaus.ede.ase.au.dk/index.php?title=BBB_First_Boot&diff=1077&oldid=prevKlaus: Created page with 'First boot with BeagleBone Black is best done by using a serial communication program like CuteCom or Putty. Attach the USB connector to your PC and issue this command to find t…'2015-05-02T07:36:12Z<p>Created page with 'First boot with BeagleBone Black is best done by using a serial communication program like CuteCom or Putty. Attach the USB connector to your PC and issue this command to find t…'</p>
<p><b>New page</b></p><div>First boot with BeagleBone Black is best done by using a serial communication program like CuteCom or Putty.<br />
<br />
Attach the USB connector to your PC and issue this command to find the tty-port that will be created:<br />
<br />
<source lang="bash"><br />
$ ls -lart /dev<br />
</source><br />
<br />
<source lang="text"><br />
drwxr-xr-x. 2 root root 80 Aug 16 13:19 bsg<br />
crw-rw----. 1 root disk 21, 1 Aug 16 13:19 sg1<br />
drwxr-xr-x. 2 root root 3900 Aug 16 13:19 char<br />
drwxr-xr-x. 22 root root 3560 Aug 16 13:19 .<br />
brw-rw----. 1 root disk 8, 16 Aug 16 13:19 sdb<br />
drwxr-xr-x. 6 root root 120 Aug 16 13:19 disk<br />
drwxr-xr-x. 2 root root 200 Aug 16 13:19 block<br />
crw-rw-rw-. 1 root dialout 166, 3 Aug 16 13:19 ttyACM3<br />
crw-rw-rw-. 1 root tty 5, 0 Aug 16 13:20 tty<br />
crw-rw-rw-. 1 root tty 5, 2 Aug 16 13:21 ptmx<br />
</source><br />
<br />
The above list show the devices created when attaching the USB cable. The line of interest here is the '''ttyACM3''' - might differ on other systems.<br />
<br />
Since normal users normally not are member of the '''dialout''' group the quickest way to gain access to the tty-port is to issue this command:<br />
<br />
<source lang="bash"><br />
$ sudo chmod o+rw /dev/ttyACM3<br />
</source><br />
<br />
This will give a normal user access to the port.<br />
<br />
Alternatively modify the /etc/group to allow the login to be member of the dialout group.<br />
<br />
Now open the CuteCom or Putty port on a serial line using '''/dev/ttyACM3''' and '''115200 bps''' as settings.<br />
<br />
An output like this can be seen:<br />
<br />
<source lang="text"><br />
Login timed out after 60 seconds.<br />
<br />
\0x1b[r\0x1b[H\0x1b[J<br />
<br />
Debian GNU/Linux 7 kolles-beaglebone ttyGS0<br />
<br />
default username:password is [debian:temppwd]<br />
<br />
Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian<br />
<br />
The IP Address for usb0 is: 192.168.7.2<br />
kolles-beaglebone login: <br />
</source><br />
<br />
Now login using the defaults given.<br />
<br />
Also try to issue<br />
<br />
<source lang="bash"><br />
$ ssh debian@192.168.7.2<br />
</source><br />
<br />
This will open an '''ssh''' connection over the USB cable, which also supports networked traffic, to the BBB.</div>Klaus