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_...")
 
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]]
 +
 
 +
[[LeapFrog_Pollux_Platform:_Cartridge| Cartridge]]
 +
 
 +
 
 +
== General Applications ==
 
==== Set up telnetd ====
 
==== Set up telnetd ====
 
Run Telnetd
 
Run Telnetd
Line 22: Line 28:
 
  $ 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 42:
  
 
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 haven't already configure your networking, so you got a connection to your host PC then run.
 +
 +
$ 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.

Revision as of 02:37, 12 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

Cartridge


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 haven't already configure your networking, so you got a connection to your host PC then run.

$ 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.