Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Jun 2007
#1
Hi All,
1st post, I have been reading a lot of the posts and it seems in order to install nfs-common I need to install the adduser program which is part of Perl. Can someone please give me a pointer as to how I get perl installed as I have googled to death without success on getting perl on an N800, alternatively, if someone can let me know if I'm on the right track regarding NFS using the latest release that would be great.
#uname -a
Nokia-N800-10 2.6.18-omap1


Been using Linux for a while (not compiling) but maemo is new.

Cheers

nzcarrick
 
Posts: 4 | Thanked: 0 times | Joined on Jun 2007
#2
Ok,
maybe the correct question is does anybody have NFS working with the latest kernel on the N800....anyone? and if so did you install nfs-common ?

Regards

nzcarrick
 
Posts: 39 | Thanked: 7 times | Joined on May 2007
#3
NFS works like a charm here, on said kernel. I use it to stream video off my Linux PC with maemo mplayer.

These are the packages, don't remember where I got them from:

Code:
/home/user # dpkg -l | grep perl
ii  perl-base                                          5.8.3-3osso6                 The Pathologically Eclectic Rubbish Lister.
/home/user # dpkg -l | grep adduser
ii  adduser                                            3.51                         Add and remove users and groups
/home/user # dpkg -l | grep perl
ii  perl-base                                          5.8.3-3osso6                 The Pathologically Eclectic Rubbish Lister.
/home/user # dpkg -l | grep nfs
ii  nfs-common                                         1.0.10sdk3                   NFS support files common to client and serve
ii  rx-34-kernel-nfs-modules                           0.1                          NFS modules for rx-34 kernel
The following commands are necessary to activate once the packages are in place:
Code:
 insmod /lib/modules/current/sunrpc.ko
 insmod /lib/modules/current/lockd.ko
 insmod /lib/modules/current/nfs.ko
  portmap start
  mount -t nfs 192.168.0.5:/usr/share/media /media/nfs
 
Posts: 4 | Thanked: 0 times | Joined on Jun 2007
#4
Hi Mich,
thanks for your reply, Cant find this ( 5.8.3-3osso6 ) version of perl. I assume that my version ( 5.8.3-3osso4 ) does not include adduser.

Do you have the SDK installed? could that have something to do with it.

Cheers

nzcarrick
 
Posts: 18 | Thanked: 1 time | Joined on Dec 2005 @ Dunedin, New Zealand
#5
Just got my n800, and just got NFS working.

What was necessary was roughly:

Installed rx-34-kernel-nfs-modules (need "red pill" mode for this, I believe).

Installed portmap.

Downloaded the nfs-common package, extracted the contents, and installed rpc.statd by hand (as well as a few other programs).

Downloaded the mount package, extracted the contents, and replaced the busybox mount/umount links with the versions from the package.

Inserted appropriate modules.

Mounted away.

I believe that rpc.statd and the other stuff from nfs-common is strictly optional.

I believe that one can even skip using portmap, if the "nolock" option is used when mounting NFS shares.

The real trick seems to be locating the rx-34-kernel-nfs-modules package, and replacing the "mount" program with a non-crippled version. It would be nice if someone would put together a package that made this a little easier.

Cheers,
Lon
 
Posts: 4 | Thanked: 0 times | Joined on Jun 2007
#6
Hi Ion,
where did you put rpc.statd
into /sbin ?
 
Posts: 18 | Thanked: 1 time | Joined on Dec 2005 @ Dunedin, New Zealand
#7
Hi,

As I said, if you don't use file locking (mount with "-o nolock"), then you can dispense with the portmapper and nfs-common packages altogether. Try this first, to make sure everything is working, before worrying about nfs-common.

Now, as I understand it (I'm not really an expert on NFS):

If you want file locking, then you need to install portmap. In addition, the nfs-common package provides the following:

/etc/default/nfs-common
/etc/init.d/nfs-common
/sbin/rpc.lockd
/sbin/rpc.statd
/sbin/showmount
/usr/sbin/nfsstat
/var/lib/nfs/, /var/lib/nfs/sm/, /var/lib/nfs/sm.bak/
various documentation files

rpc.lockd is an unused anachronism (lockd has moved into the kernel, except for very old or very strange kernels).

rpc.statd and the /var/lib/nfs directories are used for file lock recovery across reboots. This is probably not a big concern with the N800, assuming your setup and usage patterns are anything like mine.

The /etc files start up rpc.statd, assuming you also install the appropriate links. They aren't necessary if you run rpc.statd yourself (if you run it yourself, then you can, of course, install it wherever you like).

nfsstat and showmount are not necessary, but you may want them anyway.

Cheers,
Lon
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:37.