Difference between revisions of "LeapFrog Pollux Platform: Mount NFS Directory"
(→Configure Server and Client) |
m (→Configure Server and Client) |
||
Line 34: | Line 34: | ||
$ sudo /etc/init.d/nfs-kernel-server start | $ sudo /etc/init.d/nfs-kernel-server start | ||
+ | ''' For Leapster and LeapPad Explorers ''' | ||
'' On Device '' | '' On Device '' | ||
Line 40: | Line 41: | ||
# cd /mnt | # cd /mnt | ||
# ls | # ls | ||
+ | |||
+ | '' For Network Enabled Didj '' | ||
+ | If you used the lf1000_ff_eth_defconfig file to build your kernel, or enabled the proper NFS options, you can also mount on the Didj by running: | ||
+ | mount -o nolock 10.0.0.1:/home /mnt | ||
+ | |||
At this point should see the contents of your /home dir | At this point should see the contents of your /home dir |
Revision as of 00:26, 12 July 2011
Summary
This is a tutorial to setup an NFS folder on your host PC for your explorer to boot from. NFS mounting of a directory will enable you to test applications and scripts without having to copy anything to your Leapster or LeapPad Explorer.
Prerequisites
Software Needed
Linux host PC
nfs-kernel-server
nfs-common
Configure Server and Client
Configure the /etc/exports file to point to the folder(s) you would like to make available for NFS mounting
On Host
/home *(rw,sync,no_root_squash)
On Device
You'll need to edit /usr/bin/mountnfs, change:
mount -o nolock `get-ip host`:/home/lfu/nfsroot/LF /LF
to:
mount -o nolock 10.0.0.1:/home/ /mnt
Start the server and client:
On Host
$ sudo /etc/init.d/nfs-kernel-server start
For Leapster and LeapPad Explorers
On Device
# modprobe nfs # mountnfs # cd /mnt # ls
For Network Enabled Didj If you used the lf1000_ff_eth_defconfig file to build your kernel, or enabled the proper NFS options, you can also mount on the Didj by running:
mount -o nolock 10.0.0.1:/home /mnt
At this point should see the contents of your /home dir