Beaglebone Black: Difference between revisions

From Pumping Station One
No edit summary
Line 1: Line 1:
== Getting Access ==
Assuming your client machine has access to bonjour/avahi style name resolution:
<syntaxhighlight lang=bash>
ssh root@beaglebone.local
echo new_host_name > /etc/hostname
</syntaxhighlight>
<code>/etc/hosts</code>
<syntaxhighlight lang=bash>
127.0.0.1      localhost
127.0.1.1      new_host_name
</syntaxhighlight>
=== reboot ===
<syntaxhighlight lang=bash>
reboot
ssh root@new_host_name.local
</syntaxhighlight>
While the unit is rebooting, it's worth watching the lights on the beaglebone to make sure you are rebooting the right one.
== Upgrades ==
== Upgrades ==


Line 21: Line 46:
</syntaxhighlight>
</syntaxhighlight>


== Upgrades ==
=== dist-upgrade ===
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
apt-get update
apt-get update
 
apt-get dist-upgrade
</syntaxhighlight>
</syntaxhighlight>

Revision as of 22:44, 7 March 2015

Getting Access

Assuming your client machine has access to bonjour/avahi style name resolution:

ssh root@beaglebone.local
echo new_host_name > /etc/hostname

/etc/hosts

127.0.0.1       localhost
127.0.1.1       new_host_name

reboot

reboot
ssh root@new_host_name.local

While the unit is rebooting, it's worth watching the lights on the beaglebone to make sure you are rebooting the right one.

Upgrades

edit /etc/apt/sources.list

  • replace wheezy with jessie
  • comment out debian.beagleboard.org, there is no jessie-bbb
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

#deb http://ftp.debian.org/debian jessie-backports main contrib non-free
##deb-src http://ftp.debian.org/debian jessie-backports main contrib non-free

#deb [arch=armhf] http://debian.beagleboard.org/packages jessie-bbb main
#deb-src [arch=armhf] http://debian.beagleboard.org/packages jessie-bbb main

dist-upgrade

apt-get update
apt-get dist-upgrade