Installing Telnet

This article explains how to enable Telnet access on your O2 Joggler.

Unless you have a specific reason for wanting to use Telnet, it is recommended to skip this and go straight to Enabling SSH (Secure Shell).

SSH connections are more secure and flexible than Telnet. = Method 1 =

Installing Telnet

 * 1) download either http://awooga.nl/stuff/telnet.zip or http://awooga.nl/stuff/telnet.tar
 * 2) unpack the file downloaded to the root of a suitable usb stick formatted in vfat (Windows FAT16 or FAT32 doesnt seem to matter, but not all sticks work for some weird reason). All the below 4 files need to be present:
 * 3) .sum (beware that this file may be hidden from view on some operating systems)
 * 4) opupdt.run
 * 5) opupdt.tgz
 * 6) boothacks
 * 7) power down joggler
 * 8) insert usb stick
 * 9) power up joggler
 * 10) wait patiently

If the Joggler reboots, then it will have succesfully enabled telnet. You can remove the usb stick. If it doesnt reboot, then either telnet is already enabled, or the usb stick is not recognised. In that case you need to start from step 2, but change to another stick :)

Please note: Do not run this if you've already enabled Telnet using the previous method. You'll end up with two entries in the /etc/passwd file for the user 'letmein'.

'''

= Method 2 = '''

'''

Installing Telnet
'''

This describes, how you get permanent telnet access working on your device:

1.) UnRAR the archive to your USB stick. The Joggler does not acceppt all sticks, so you might try severals. I got it working with a 1 GB SD-Card in an USB-SD-Card-Reader.

2.) When you see the o2-Screen-Menu, you should be able to login using telnet. Both wlan und lan will work. Telnet your IP Adress and you should see to login prompt. Type "letmein" and press Enter. You can use "telnet YOUR_IP" in linux or programs such as "putty" for windows.

3.) When you have a working login, comment out the lines 13,14,15 and 17 in the file ...using vi, for starting telnet also when nvram net.login is set to NO.
 * 1) /etc/init.d/boot.d/S56boot.daemons

4.) reboot to see if it works. '''

Advice
''' When you start vi, you can press "i" to get into insert mode. Go to the specified lines (with the arrow keys) and type "#" at the beginning of these four lines.

It should now look like this:

Code: startdaemons { echo ${n} "Starting daemons: " ${c} telnetd echo "done" }
 * 1) if [ `nvram -sr net.login`x = "NO"x ] ; then
 * 2) echo ${n} " (skipping telnet) "
 * 3) else
 * fi

When having done, press ESCAPE, then enter ":w" to write changes and ":q" to quit.

'''