LeapFrog Pollux Platform: Mount NFS Directory

From eLinux.org
Revision as of 21:25, 11 July 2011 by Jrspruitt (talk | contribs)
Jump to: navigation, search

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

Networking Setup

NFS Host Setup


Software Needed

Linux host PC

nfs-kernel-server

nfs-common


Configure Server and Client

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


On Device

# modprobe nfs
# mountnfs
# cd /mnt/home
# ls

At this point should see the contents of your /home dir