Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to get the Ubuntu distribution

81 bytes removed, 15:08, 9 September 2010
no edit summary
I have only an ethernet cable, so I'm going on. Put these lines in /media/rootfs/etc/rc.local&nbsp;: <br>
<pre>apt-get install -y openssh-server 2&gt;&amp;1 | tee /root/install.log
useradd -G admin,root -s /bin/bash -m -pigep igepecho "igep:igep" | chpasswd
exit 0
</pre>
Plug Check /etc/interfaces for "auto eth0", then boot the board with ethernet cable, switch on the board and wait some minutes. You can verify sshd status for example with (I've used a mac so nmap may differ):<br>
<pre>sudo nmap -sS -PN -e &lt;interface&gt; -p22 &lt;ip&gt;
</pre> If you can't connect with because login password is wrongprefer passwordless ssh key authentication, you can modify your password placing:<br> <pre>echo "user:password" | chpasswd</pre> at the end of /media/rootfs/etc/rc.local or create a key with ssh-keygen and copy the content of your .ssh/id_rsa.pub in authorized_keys&nbsp;:<br> <pre>* ON&nbsp;THE IGEP *
$ cd /media/rootfs/home/igep
$ mkdir .ssh
*/etc/hosts is missing and generates a sudo error
<br>
--- That's all folks ---
[[Category:Software_distributions|Ubuntu]]
0
edits