NSLU2-Linux
view · edit · print · history

FAQ.EnableTelnetThroughTheWebInterface History

Hide minor edits - Show changes to markup

June 05, 2008, at 04:50 AM by mwester -- clarification; sometimes technically-correct detail simply obscures and obfuscates.
Changed lines 9-11 from:

Note: the telnet server is part of the Unslung firmware. The original Linksys firmware does not have a telnet server or any known method for remote shell access. NO., mybrAnd new slug original irmware Version: V2.3R24 have the telnet option possible.

to:

Note: the telnet server is part of the Unslung firmware. The original Linksys firmware does not have a telnet server or any known method for remote shell access. Very old Linksys versions, V2.3R24 and earlier, actually did have a telnet daemon executable in the firmware, but this is not pertinent for this article.

June 04, 2008, at 09:54 PM by SyNko --
Changed lines 10-11 from:
to:

NO., mybrAnd new slug original irmware Version: V2.3R24 have the telnet option possible.

February 15, 2008, at 02:00 PM by Pronin -- Moved text
Added lines 40-41:

$ perl -e "use MIME::Base64; print encode_base64('admin:admin');"

Deleted lines 46-47:

$ perl -e "use MIME::Base64; print encode_base64('admin:admin');"

January 10, 2008, at 07:27 PM by fcarolo -- formatting, info about original firmware
Changed lines 9-10 from:

NOTE: This page is not in release r63

to:

Note: the telnet server is part of the Unslung firmware. The original Linksys firmware does not have a telnet server or any known method for remote shell access.

Changed lines 13-16 from:

In line with other compatibility with the stock Linksys firmware, the unslung boots with telnet disabled by default, and you can visit the URL above to enable it. You will have to do this again after every reboot.

If you would like to always enable telnet - then you probably would like to use ssh rather then telnet. Hence a typical setup of an advanced unslung user would 'ipkg install openssh' and then use putty to connect with the ssh protocol. No need to change other settings, ssh will automatically load up on every reboot.

to:

In line with other compatibility with the stock Linksys firmware, Unslung boots with telnet disabled by default, and you can visit the URL above to enable it. You will have to do this again after every reboot.

If you would like to always enable telnet - then you probably would like to use ssh rather then telnet. Hence a typical setup of an advanced unslung user would 'ipkg install openssh' and then use putty to connect with the ssh protocol. No need to change other settings, ssh will automatically load up on every reboot. You can find more information about ssh in the OpenSSH HowTo.

Added line 37:
Changed lines 47-49 from:

You should receive some HTML telling you telnet is enabled now. End the telnet-session with CTRL-C and telnet into your slug via port 23...

Any help with formatting the code as code would be appreciated! --CGanser

to:

You should receive some HTML telling you telnet is enabled now. End the telnet-session with CTRL-C and telnet into your slug via port 23.

January 08, 2008, at 11:38 PM by pdhooper -- corrected
Changed lines 9-10 from:

NOTE: Make sure that the user that you are logging in as, has the "Create Private Folder (Share)" checkbox checked - this can be done via the web interface under Administration -> Users

to:

NOTE: This page is not in release r63

January 08, 2008, at 10:53 PM by pdhooper -- Add a pre-requisite
Added lines 9-10:

NOTE: Make sure that the user that you are logging in as, has the "Create Private Folder (Share)" checkbox checked - this can be done via the web interface under Administration -> Users

April 10, 2007, at 02:55 PM by Jelle Alten -- stored prev version
Changed lines 2-7 from:
  http://192.168.1.77/Management/telnet.cgi
or
  http://192.168.0.77/Management/telnet.cgi
to:

http://192.168.1.77/Management/telnet.cgi

Changed lines 42-43 from:

$ perl -e "use MIME::Base64; print encode_base64('admin:admin');"

to:

$ perl -e "use MIME::Base64; print encode_base64('admin:admin');"

April 09, 2007, at 10:45 AM by Jelle Alten -- added 192.168.0.77 as ip
Changed lines 2-4 from:

http://192.168.1.77/Management/telnet.cgi

to:
  http://192.168.1.77/Management/telnet.cgi
or
  http://192.168.0.77/Management/telnet.cgi
Changed lines 45-46 from:

$ perl -e "use MIME::Base64; print encode_base64('admin:admin');"

to:

$ perl -e "use MIME::Base64; print encode_base64('admin:admin');"

March 13, 2007, at 06:38 PM by fcarolo -- fixed link formatting
Changed lines 38-39 from:

http://<yourserver>/Management/telnet.cgi?action=Enable+Telnet

to:
 http://<yourserver>/Management/telnet.cgi?action=Enable+Telnet
March 13, 2007, at 12:20 PM by smapjb --
Added lines 37-41:

Note: You can also use an http get by specifying the parameters on the URL http://<yourserver>/Management/telnet.cgi?action=Enable+Telnet

This may even work when the web management pages fail to load.

February 05, 2007, at 09:42 PM by rickb -- section order changed
Added lines 9-16:

Background

In line with other compatibility with the stock Linksys firmware, the unslung boots with telnet disabled by default, and you can visit the URL above to enable it. You will have to do this again after every reboot.

If you would like to always enable telnet - then you probably would like to use ssh rather then telnet. Hence a typical setup of an advanced unslung user would 'ipkg install openssh' and then use putty to connect with the ssh protocol. No need to change other settings, ssh will automatically load up on every reboot.

If you have a NSLU2 without harddisk, and you really would like to use the built in telnet, because ssh doesn't fit in the flash, then you will have to look up how the unslung diversion scripts can be used to enable telnet with every reboot. The information is here in the wiki.

Deleted lines 41-49:

Background

In line with other compatibility with the stock Linksys firmware, the unslung boots with telnet disabled by default, and you can visit the URL above to enable it. You will have to do this again after every reboot.

If you would like to always enable telnet - then you probably would like to use ssh rather then telnet. Hence a typical setup of an advanced unslung user would 'ipkg install openssh' and then use putty to connect with the ssh protocol. No need to change other settings, ssh will automatically load up on every reboot.

If you have a NSLU2 without harddisk, and you really would like to use the built in telnet, because ssh doesn't fit in the flash, then you will have to look up how the unslung diversion scripts can be used to enable telnet with every reboot. The information is here in the wiki.

February 05, 2007, at 09:41 PM by rickb --
Changed lines 7-8 from:

Username and password in the default settings (with a disk connected) are admin / admin.

to:

The default username and password (with a disk connected) are admin / admin.

December 26, 2006, at 10:41 PM by serkan hamarat -- command line encode
Added lines 29-30:

$ perl -e "use MIME::Base64; print encode_base64('admin:admin');"

April 16, 2006, at 04:22 PM by thekitehunter -- spelling
Changed lines 7-8 from:

Username and password in the default settings are admin / admin.

to:

Username and password in the default settings (with a disk connected) are admin / admin.

Changed line 11 from:

Just in case you only have telnet available cou CAN activate telnet via telnet by simulating a http-post:

to:

Just in case you only have telnet available you CAN activate telnet via telnet by simulating a http-post:

Changed lines 29-30 from:

You should receive some HTML telling you telnet ist enabled now. End the telnet-session with CTRL-C and telnet into your slug via port 23...

to:

You should receive some HTML telling you telnet is enabled now. End the telnet-session with CTRL-C and telnet into your slug via port 23...

April 15, 2006, at 05:16 PM by Neil Smith -- Added [pre] formatting to use monospaced font
Changed lines 12-13 from:

(:linebreaks:)

to:

[@

Added line 15:
Added line 26:

@]

March 01, 2006, at 05:05 PM by CGanser -- added: enabling telnet via telnet
Added lines 9-30:

Enable via Telnet

Just in case you only have telnet available cou CAN activate telnet via telnet by simulating a http-post: (:linebreaks:) telnet <slug-ip> 80 POST /Management/telnet.cgi HTTP/1.1 Host: <slug-ip> Content-Type: application/x-www-form-urlencoded Content-Length: 20 Connection: Keep-Alive Authorization: Basic YWRtaW46YWRtaW4?= <empty line> action=Enable+Telnet <empty line>

This only works for admin with password admin. Other Credentials must be encoded base64 "username:password" and inserted after "Basic".

You should receive some HTML telling you telnet ist enabled now. End the telnet-session with CTRL-C and telnet into your slug via port 23...

Any help with formatting the code as code would be appreciated! --CGanser

February 28, 2006, at 11:20 AM by kaste -- added ssh
Added lines 7-15:

Username and password in the default settings are admin / admin.

Background

In line with other compatibility with the stock Linksys firmware, the unslung boots with telnet disabled by default, and you can visit the URL above to enable it. You will have to do this again after every reboot.

If you would like to always enable telnet - then you probably would like to use ssh rather then telnet. Hence a typical setup of an advanced unslung user would 'ipkg install openssh' and then use putty to connect with the ssh protocol. No need to change other settings, ssh will automatically load up on every reboot.

If you have a NSLU2 without harddisk, and you really would like to use the built in telnet, because ssh doesn't fit in the flash, then you will have to look up how the unslung diversion scripts can be used to enable telnet with every reboot. The information is here in the wiki.

December 01, 2005, at 11:49 PM by Gordon R --
Added lines 4-6:

(Note that your NSLU-2's IP address may be different from the one given here)

November 14, 2005, at 03:04 AM by kc --
Added lines 1-3:

Here is the URL to enable telnet through the web interface:

http://192.168.1.77/Management/telnet.cgi

view · edit · print · history · Last edited by mwester.
Based on work by SyNko, Pronin, fcarolo, pdhooper, Jelle Alten, smapjb, rickb, serkan hamarat, thekitehunter, Neil Smith, CGanser, kaste, and Gordon R.
Originally by kc.
Page last modified on June 05, 2008, at 04:50 AM