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

From eLinux.org
Jump to: navigation, search
(Created page with "== Summary == Here you will find a list of applications, and their usages. == Prerequisites == Networking Setup For Didj only [[Didj_...")
 
(SSH)
 
(5 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
For Didj only [[Didj_Enable_Networking | Networking Enabled]]
 
For Didj only [[Didj_Enable_Networking | Networking Enabled]]
  
== Networking Applications ==
+
== Hardware Needed ==
 +
[[LeapFrog_Pollux_Platform:_Console_Access| Console Access]]
 +
 
 +
== General Applications ==
 
==== Set up telnetd ====
 
==== Set up telnetd ====
 
Run Telnetd
 
Run Telnetd
Line 22: Line 25:
 
  $ telnet 10.0.0.2
 
  $ telnet 10.0.0.2
  
This should leave you with a command line on your Didj.
+
This should leave you with a remote command line to your device.
  
  
Line 36: Line 39:
  
 
When nc exits, you should see the file on the device.
 
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.
 +
 +
[[Category:Didj]]
 +
[[Category:Leapster Explorer]]
 +
[[Category:LeapPad Explorer]]
 +
[[Category:LeapFrog Pollux Platform]]

Latest revision as of 02: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.