Zum Inhalt springen

Hack-A-N900/First Steps: Unterschied zwischen den Versionen

Amir (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Amir (Diskussion | Beiträge)
 
(11 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<b>WARNING:</b> That's where the pleasure and pain of N900 starts. How much pleasure and/or pain depends highly on how familiar you are with linux. So make sure you know how to accomplish simple administrative tasks via a root shell without bricking your system and do regular [http://metalab.at/wiki/Hack-A-N900/Backup backups].
<b>WARNING:</b> That's where the pleasure and pain of N900 starts. How much pleasure and/or pain depends highly on how familiar you are with linux. So make sure you know how to accomplish simple administrative tasks via a root shell without bricking your system and do regular [[Hack-A-N900/Backup | backups]].


=== ROOT ACCESS ===
=== Root Access ===
Start "Application Manager" and install package "rootsh"
Start "Application Manager", install package "rootsh" and "OpenSSH Client and Server"


Open "X-Terminal" on your N900.
Open "X-Terminal" on your N900.
Zeile 9: Zeile 9:
<pre>
<pre>
sudo gainroot
sudo gainroot
</pre>
=== Add extras-testing to /etc/apt/sources.list ===
<pre>
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
deb-src http://repository.maemo.org/extras-testing/ fremantle free
</pre>
Update apt cache:
<pre>
apt-get update
</pre>
</pre>


Zeile 29: Zeile 40:


=== OpenSSH ===
=== OpenSSH ===
Install OpenSSH client and server:
<pre>
apt-get install openssh
</pre>


Generate ssh key:
Generate ssh key:
Zeile 49: Zeile 55:
Put the public key to the right place:
Put the public key to the right place:
<pre>
<pre>
ssh root@192.168.99.2 "mv /root/.ssh/id_rsa /root/.ssh/authorized_keys"
ssh root@192.168.99.2 "mv /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys"
</pre>
</pre>


Zeile 66: Zeile 72:


<pre>
<pre>
apt-get install bash coreutils-gnu grep-gnu wget vim
apt-get install bash coreutils-gnu grep-gnu findutils-gnu tar-gnu wget vim netcat
</pre>
</pre>