• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Sheeva as a NFS server?  (Read 3744 times)
DocTauri
Newbie
*

Karma: 0
Posts: 9


View Profile
« on: April 24, 2009, 05:51:02 PM »

I just received my plug today and have been playing around.  I'll admit, I haven't read through all of the docs, but I'm trying to set it up as a NFS server.  It came w/debian with 2.6.22.18 kernel.  I realize that the NFS packages aren't installed, but are the packages available anywhere?

Thanks,
Doc
Logged

31000aku
Newbie
*

Karma: 0
Posts: 5


View Profile WWW
« Reply #1 on: April 25, 2009, 01:40:24 AM »

Hi,

apt-get install nfs-common

should solve your problem.
Logged

German SheevaPlug community - www.sheevaplug.de

DocTauri
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #2 on: April 25, 2009, 04:17:37 AM »

I'm more of a RedHat guy, so found this while looking up debian options.  My first concern is, will this install a package built for the Sheeva, or try to load some mainstream package (i.e. is apt-get pointing to the generic debian repositories, or to sheeva specific ones)?

I ran it and got the following:
Quote
root@debian:~# apt-get install nfs-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libx11-data libxcb1 libxau6 libxdmcp6 libxcb-xlib0 libx11-6
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 portmap
The following NEW packages will be installed:
  libevent1 libgssglue1 libnfsidmap2 librpcsecgss3 nfs-common portmap
0 upgraded, 6 newly installed, 0 to remove and 13 not upgraded.
E: Could not open lock file /var/cache/apt/archives/lock - open (2 No such file or directory)
E: Unable to lock the download directory

Thanks,
Doc
« Last Edit: April 25, 2009, 04:19:40 AM by DocTauri » Logged

DocTauri
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #3 on: April 25, 2009, 04:33:43 AM »

Helps when you read I guess ;-).  I had to create /var/cache/apt/archives and /var/cache/apt/archives/partial.  I've loaded nfs-common, the problem now is that when I try to start it (service nfs-common start), I hit a wall:

Quote
root@debian:/mnt# service nfs-common start
 * Starting NFS common utilities
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
   ...done.

Any suggestions?

Thanks...
Doc
Logged

KostaP
Global Moderator
Newbie
*****

Karma: 0
Posts: 20



View Profile
« Reply #4 on: April 25, 2009, 05:35:18 AM »

You have to rebuild kernel enabling NFS server support (File Systems->Network File Systems->NFS Server Support). Then make all kernel modules and install them on target using "make modules_install" (see Documentation/kbuild/modules.txt for details)."  You will have NFS server enabled kernel and all modules in place. Then install NFS server using "aptitude install nfs-kernel-server".
Logged

Raśl Porcel
Global Moderator
Jr. Member
*****

Karma: 0
Posts: 68


View Profile
« Reply #5 on: April 25, 2009, 07:11:58 AM »

I just received my plug today and have been playing around.  I'll admit, I haven't read through all of the docs, but I'm trying to set it up as a NFS server.  It came w/debian with 2.6.22.18 kernel.  I realize that the NFS packages aren't installed, but are the packages available anywhere?

Thanks,
Doc

It should've had Ubuntu, not debian Smiley
Logged

DocTauri
Newbie
*

Karma: 0
Posts: 9


View Profile
« Reply #6 on: April 25, 2009, 07:47:51 AM »

Well, that brings up a question...  It came loaded with debian.  Is this the new standard?  Is this an old unit and new ones come w/ubuntu?  Is this a returned unit that someone loaded debian onto, therefore I should start fresh with ubuntu to be working from a know state?

Still very new to the plug, so would appreciate some advice.

Thanks,
Doc

Update: I guess I'm confused.  The prompt reads debian, the splash reads debian, then it talks about ubuntu
Quote
Linux debian 2.6.22.18 #1 Thu Mar 19 14:46:22 IST 2009 armv5tejl
 
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
 
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
 
To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
Last login: Wed Apr 14 13:09:54 2004 from 192.168.0.139
root@debian:~#


I've used RedHat EL, Fedora, SCO, and FreeBSD but never debian or Ubuntu, so is Ubuntu built on debian?
« Last Edit: April 25, 2009, 07:50:22 AM by DocTauri » Logged

KostaP
Global Moderator
Newbie
*****

Karma: 0
Posts: 20



View Profile
« Reply #7 on: April 25, 2009, 08:25:37 AM »

Well, Ubuntu IS built on Debian, by definition :-). The prompt just lists the hostname. You can make it RHEL if you want - just edit /etc/hostname file. SheevaPlug suppose to be loaded with Ubuntu 9.04.
Just remember that SheevaPlug is non-standard board - you have to use an appropriate kernel with Sheeva LSP. Otherwise some interfaces may not work. All the rest of filesystem is taken from distribution.
« Last Edit: April 25, 2009, 08:29:11 AM by KostaP » Logged

Pages: [1]
Print
Jump to: