Leapster Explorer: Common Commands
Here are some changes to the LX's default setup that will make your life more easy.
This will prevent the auto shutoff from kicking in, but you also loose a lot of normal LeapFrog specific functionality.
killall AppManager app CartManager
Start Different Application
This will allow you to start a different application other than the default LeapFrog application:
echo /path/to/your/app > /flags/main_app
Caution /LF/Bulk isn't guaranteed to be mounted when the start up script is run. If your app isn't found, rcS will remove /flags/main_app to restore the default on the next boot.
This turns on telnet and ftp by default, and switches to a static IP address.
If you still want to have the automatic private ip:
And if you want a speedy boot (this eliminates a 6 second wait timer):
Removing USB-boot-mode auto-shutdown
When USB booting, the script /usr/bin/recovery runs. On line 8 of that script is an instruction to do a forced shutdown after 600 seconds.
To remove that annoyance, simply comment-out that line:
#( sleep 600; poweroff -f ) &
To remove the 2nd boot logo, comment out line 76 of /etc/init.d/rcS:
#imager /dev/layer0 /var/screens/LEGAL.png
To remove the startup sound, comment out line 91 of /etc/init.d/rcS:
#oss -w /var/sounds/startup.wav & # & tim end "sounds/startup.wav" &
Connect With your Linux Box
Right click your network icon thingy and configure your interface
Setting it to link only will prevent the Explorer from disconnecting randomly when you plug it in.
on your explorer run
to see what it's ip address is. Enter that address as the host in FileZilla and set the username as: root
Congrats you now have sftp access to your explorer :)
Using Explorer's Host Name
On Linux you may also use the Explorer's host name to access it, which will allow the Explorer to change its IP address, with out you having to change it in any of your program's profile settings. On bootup in the serial console the Explorer will show its host name, near the end of the bootup output it will be Explorer-<SERIAL NUMBER>. To use the host name you'll need to add .local to the end of it, so Explorer-<SERIAL NUMBER>.local will be the host name to use when accessing the Explorer.
New Kernel Copy
This may brick your Explorer and make it require a usb boot so only do this if your brave.
nandscrub -e /dev/mtd2 nandscrub /dev/mtd2 nandwrite /dev/mtd2 /usr/kernel.cbf
mtd2 is where the kernel is stored