This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
guides:how_to_install_debian_on_olpc_xo-1 [2024-09-18 21:03] omolini [Option 3: WPA or WPA2 encrypted WI-FI network] |
guides:how_to_install_debian_on_olpc_xo-1 [2024-09-25 04:45] (current) omolini [Restore apt-get functionality for "etch"] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to install Debian GNU/Linux on OLPC XO-1 ====== | ====== How to install Debian GNU/Linux on OLPC XO-1 ====== | ||
- | This guide will guide you through the steps of installing Debian GNU/Linux "etch" on an OLPC XO-1, and get it online with functioning apt package system. | + | This guide (updated 2024) will guide you through the steps of installing Debian GNU/Linux "etch" on an OLPC XO-1 in a dual-boot configuration, and get it online with functioning apt package system. |
From there you can install a windowing system, or upgrade your edition of Debian. | From there you can install a windowing system, or upgrade your edition of Debian. | ||
Line 19: | Line 19: | ||
In **Step 2**, the TAR command will probably not work as documented. Use the following command instead: | In **Step 2**, the TAR command will probably not work as documented. Use the following command instead: | ||
<code bash> | <code bash> | ||
- | # tar xzf /media/*/xo-debian.tgz | + | # tar xvf /media/*/xo-debian.tgz |
</code> | </code> | ||
Line 50: | Line 50: | ||
==== Option 3: WPA or WPA2 encrypted WI-FI network ==== | ==== Option 3: WPA or WPA2 encrypted WI-FI network ==== | ||
- | * Copy to root of a FAT32 formatted USB stick: | + | * Copy to root of a FAT32 formatted USB stick the following files. You can download them [[http://omolini.steptail.com/olpc/|from here]] or [[https://archive.debian.org/debian/pool/main/|here]]. |
1. wpasupplicant_05.5.5-2_i386.deb | 1. wpasupplicant_05.5.5-2_i386.deb | ||
Line 92: | Line 92: | ||
* Test by pinging **8.8.8.8** and **www.google.com** | * Test by pinging **8.8.8.8** and **www.google.com** | ||
- | + | * If previous test worked, automate WIFI connection on startup by first creating **/root/wifion.sh**: | |
- | * If previous test worked, automate WIFI connection on startup: | + | |
- | + | ||
- | * Create /root/wifion.sh: | + | |
<code bash> | <code bash> | ||
Line 104: | Line 101: | ||
</code> | </code> | ||
| | ||
- | * Make it executable: | + | |
+ | * Then make it executable: | ||
<code bash> | <code bash> | ||
Line 110: | Line 109: | ||
</code> | </code> | ||
- | * Create symbolic link to wifion.sh: | + | * Create symbolic link to **wifion.sh** to run on bootup: |
<code bash> | <code bash> | ||
Line 118: | Line 117: | ||
==== Restore apt-get functionality for "etch" ==== | ==== Restore apt-get functionality for "etch" ==== | ||
- | - Open /etc/apt/sources.list and replace the first line with the following: | + | * Open /etc/apt/sources.list and replace the first line with the following: |
deb http://archive.kernel.org/debian-archive/debian etch main | deb http://archive.kernel.org/debian-archive/debian etch main | ||
- | - Run the following commands: | + | * Run the following commands: |
+ | |||
+ | <code bash> | ||
+ | $ aptitude install debian-archive-keyring | ||
+ | $ apt-get update | ||
+ | </code> | ||
+ | |||
+ | From here you can install the rest of the system, windowing manager etc. Don't forget to set your root password! | ||
- | $ aptitude install debian-archive-keyring | + | To boot up back into Sugar OS, just hold the "O" game-key button when powering on the unit. |
- | $ apt-get update | + | |
+ | {{tag>Guides Guides:Software Guides:"OLPC XO-1"}} |