Leapster Explorer: SFTP Access

This how-to will show you how to gain SFTP access into your Leapster Explorer, making it very easy to transfer files to and from the device.

Programs Needed
WinSCP or similar client

Software Needed
Leapfrog Connect, for Windows usage.

Hardware
DJHI or similar cartridge for access to UART console

On Explorer
Connect your UART cable and cartridge and open up a terminal program, 115200 8/n/1 you can test your connect by typing ls in the console, it should list the root directory structure.

$ cd /etc/ssh $ vi sshd_config

You should now have a config file opened in the text editor, scroll down with the arrows or page button till you find PermitRootLogin make sure it is uncommented and set to yes. Scroll down some more till you see PermitEmptyPasswords make sure its uncommented and set to yes. Simple vi commands, hit the i key to allow you to insert and delete text with the backspace key. Once done editing, hit ESC key, then type :x and hit return to close and save. Tip :q close with out saving.

Next you need to start the daemon, this will take a while the first time, while it generates the keys, just let it do its thing for a few minutes.

$ /etc/init.d/sshd start

stop or restart are also valid commands if needed. Next get your Explorer IP address

$ ifconfig

You should find it near the usb0:avah text addr:169.254.119.166 this should stay the same, but if you end up with some connection problems, check it again, it may have changed.

Under Windows
Plug your Explorer in to the USB on your host PC, turn it on and let LFConnect open.

Open up winSCP or which ever SFTP client you want to use and configure the server address to the IP you got from your Explorer, put ''root' as the username and leave the password blank, then you should be able to log in.

For some reason I was not able to get a connection, with out LFConnect running, it may be possible with a better understanding of this system.

Under Linux
Open up a terminal window, plug in to USB and turn on your Explorer. Run command.

$ dmesg

You should see some info about CDC and a MAC address, and eth[X], you'll need to know which number [X] your Explorer was assigned.

$ sudo ifconfig eth[X] 10.0.0.1 netmask 255.255.255.0

Then using the UART console to your Explorer run this command on it

$ ifconfig usb0 10.0.0.2 netmask 255.255.255.0

You can now log into the Explorer either with $ ssh root@10.0.0.02

Or in Places>Connect to Server in Ubuntu, set it to SSH, enter 10.0.0.2 for address, 22 for port, root for username, and connect.