Difference between revisions of "Leapster Explorer: Common Commands"

From eLinux.org
Jump to: navigation, search
(Main App)
Line 10: Line 10:
  
 
  touch /flags/main_app
 
  touch /flags/main_app
+
 
 
to disable the main app on next start
 
to disable the main app on next start
  

Revision as of 22:45, 19 July 2010

Here are some changes to the LX's default setup that will make your life more easy.


Touching Things

Main App

I hate having the main app timeout and power down when. simply type:

touch /flags/main_app

to disable the main app on next start


You can also supply the name of an alternate main app like so:

echo /LF/djsm/djsm-start > /flags/main_app

Just note that /LF/Bulk isn't guaranteed to be mounted yet.


If your app isn't found, rcS will remove /flags/main_app to restore the default on the next boot.

Developer Mode

This turns on telnet and ftp by default, and switches to a static IP address.

touch /flags/developer

If you still want to have the automatic private ip:

touch /flags/avahi

And if you want a speedy boot (this eliminates a 6 second wait timer):

touch /flags/no8sec


SFTP and You

SFTP is one of the easiest ways to copy files over to your Explorer. You can enable it by linking to /etc/init.d/sshd from /etc/rc.d/S50sshd and /etc/rc.d/K50sshd.

ln -s /etc/init.d/sshd /etc/rc.d/S50sshd
ln -s /etc/init.d/sshd /etc/rc.d/K50sshd


Configure your Explorer