Difference between revisions of "LeapFrog Pollux Platform: Mount NFS Directory"
m (moved LeapFrog Pollux Platform: Mount NFS DIrectory to LeapFrog Pollux Platform: Mount NFS Directory: spelling error) |
|||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This is a tutorial to setup | + | == 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 == | |
+ | [[LeapFrog_Pollux_Platform:_Networking| Networking Setup]] | ||
− | + | For Didj [[Didj_Enable_Networking| Enable Networking]] using the lf1000_ff_eth_defconfig file or manually adding NFS support. | |
− | |||
− | + | == Software Needed == | |
− | + | Linux host PC | |
− | |||
− | + | nfs-kernel-server | |
− | + | nfs-common | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Configure Server and Client == | |
+ | '' On Host '' | ||
− | + | Make sure your programs are installed. | |
− | + | sudo apt-get nfs-kernel-server nfs-common | |
− | |||
− | |||
− | + | Configure the /etc/exports file to point to the folder(s) you would like to make available for NFS mounting. Be sure to specify the IP of your device, otherwise anyone can mount it. | |
+ | /home 10.0.0.2(rw,sync,no_root_squash) | ||
− | |||
− | + | '' On Device '' | |
− | to | + | 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 ''' | |
− | + | mount -o nolock 10.0.0.1:/home /mnt | |
− | |||
− | |||
− | |||
− | + | At this point should see the contents of your /home dir | |
− | |||
− | |||
− | |||
− | + | [[Category:Didj]] | |
+ | [[Category:Leapster Explorer]] | ||
+ | [[Category:LeapPad Explorer]] | ||
+ | [[Category:LeapFrog Pollux Platform]] |
Latest revision as of 00:37, 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
For Didj Enable Networking using the lf1000_ff_eth_defconfig file or manually adding NFS support.
Software Needed
Linux host PC
nfs-kernel-server
nfs-common
Configure Server and Client
On Host
Make sure your programs are installed.
sudo apt-get nfs-kernel-server nfs-common
Configure the /etc/exports file to point to the folder(s) you would like to make available for NFS mounting. Be sure to specify the IP of your device, otherwise anyone can mount it.
/home 10.0.0.2(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
mount -o nolock 10.0.0.1:/home /mnt
At this point should see the contents of your /home dir