Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "LeapFrog Pollux Platform: Networking Applications"

From eLinux.org
Jump to: navigation, search
(SSH)
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
== Hardware Needed ==
 
== Hardware Needed ==
 
[[LeapFrog_Pollux_Platform:_Console_Access| Console Access]]
 
[[LeapFrog_Pollux_Platform:_Console_Access| Console Access]]
 
[[LeapFrog_Pollux_Platform:_Cartridge| Cartridge]]
 
 
  
 
== General Applications ==
 
== General Applications ==
Line 59: Line 56:
 
   $ /etc/init.d/sshd start
 
   $ /etc/init.d/sshd start
  
This will take a while as it generates the proper keys. If you haven't already configure your networking, so you got a connection to your host PC then run.
+
This will take a while as it generates the proper keys. If you have already configured your networking you can then run.
  
 +
'' On Host ''
 
  $ ssh root@10.0.0.1
 
  $ ssh root@10.0.0.1
  
 
This should give you a remote command line over ssh to your device. You can also use any number of programs that support the ssh protocol for a graphic interface.
 
This should give you a remote command line over ssh to your device. You can also use any number of programs that support the ssh protocol for a graphic interface.
 +
 +
''' Enable Permanently '''
 +
 +
To enable SSH and SFTP permanently, you will have to modify the /etc/init.d/rcS file.
 +
 +
'' On Device ''
 +
 +
Add the following line in the same location as the telnetd and vsftpd startup (~line 138), or optionally outside the check for /flags/developer (~line 136):
 +
 +
/etc/init.d/sshd start; ### tim done "sshd"
 +
 +
This will run sshd during the start up process, making it available with out the need for console access.
 +
 +
[[Category:Didj]]
 +
[[Category:Leapster Explorer]]
 +
[[Category:LeapPad Explorer]]
 +
[[Category:LeapFrog Pollux Platform]]

Latest revision as of 09:07, 18 July 2011

Summary

Here you will find a list of applications, and their usages.

Prerequisites

Networking Setup

For Didj only Networking Enabled

Hardware Needed

Console Access

General Applications

Set up telnetd

Run Telnetd

as a background daemon

# telnetd 

or in the foreground

# telnetd -F

At this point you should be able to telnet from the host to the device.

On Host

$ telnet 10.0.0.2

This should leave you with a remote command line to your device.


Netcat

Note the IP address that you assigned to the Didj, for example 10.0.0.2. To copy a file, for example "./myfile" from your PC to the Didj:

On Didj

 # nc -p 5600 -l -w 30 > myfile

On Host

 $ nc 10.0.0.2 5600 -w 2 < myfile

When nc exits, you should see the file on the device.

Explorers Specific Applications

SSH

The LeapPad Explorer and Leapster Explorer both have sshd installed. With a little configuring, it is an easy way to transfer files back and forth.

First you'll need to access your device via a console, so you can edit the /etc/ssh/sshd_config file. There are two settings you'll want to change.

On Device

PermitRootLogin yes

PermitEmptyPasswords yes


Once you've saved the config file, you'll need to run.

 $ /etc/init.d/sshd start

This will take a while as it generates the proper keys. If you have already configured your networking you can then run.

On Host

$ ssh root@10.0.0.1

This should give you a remote command line over ssh to your device. You can also use any number of programs that support the ssh protocol for a graphic interface.

Enable Permanently

To enable SSH and SFTP permanently, you will have to modify the /etc/init.d/rcS file.

On Device

Add the following line in the same location as the telnetd and vsftpd startup (~line 138), or optionally outside the check for /flags/developer (~line 136):

/etc/init.d/sshd start; ### tim done "sshd"

This will run sshd during the start up process, making it available with out the need for console access.