Anonymous

Changes

From Pumping Station One
1,127 bytes added ,  23:29, 9 March 2015
m
Bot: Cosmetic changes
Line 1: Line 1:  +
== Getting Access ==
 +
 +
Assuming your client machine has access to bonjour/avahi style name resolution:
 +
 +
<syntaxhighlight lang=bash>
 +  +
echo new_host_name > /etc/hostname
 +
</syntaxhighlight>
 +
 +
=== Hosts File ===
 +
<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.
 +
 +
== Removing Stuff You Don't Need ==
 +
<syntaxhighlight lang=bash>
 +
apt-get remove apache2 xorg
 +
</syntaxhighlight>
 +
 
== Upgrades ==
 
== Upgrades ==
    
edit <code>/etc/apt/sources.list</code>
 
edit <code>/etc/apt/sources.list</code>
 +
* replace wheezy with jessie
 +
* comment out debian.beagleboard.org, there is no jessie-bbb
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
 
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
Line 19: Line 51:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
== Upgrades ==
+
=== dist-upgrade ===
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
apt-get update
 
apt-get update
 +
apt-get dist-upgrade
 +
apt-get autoremove
 +
</syntaxhighlight>
   −
</syntaxhighlight>
+
This process usually fails a couple times, and even causes the beaglebone to lock up. Expect to reboot and receive errors. The errors usually come with further instructions like <code>apt-get install -f</code> and <code>dpkg --configure -a</code>
 +
 
 +
The dist-upgrade command will take many hours to complete.
WikiBots
1,397

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.