Problems setting up a small LAN

Please post any bugs you have found
Message
Author
Sprotte
Posts: 6
Joined: Wed 09 Apr 2008, 13:28
Location: München, Germany

Problems setting up a small LAN

#1 Post by Sprotte »

I have looked around for a while now, but could not find a solution.
So I hope someone can help me.

ping 127.0.0.1 works fine, but

sh-3.00# ping localhost
PING localhost (7f00:1:70b7:e4bf::): 56 data bytes
ping: can't create raw socket: Address family not supported by protocol
sh-3.00#

Same problem for other names (for a LAN) in '/etc/hosts'. Seems a bit confused with IPV6 ?

Also when trying to mount a NFS share :

sh-3.00# mount -t nfs 192.168.0.11:/FILES /mnt/FILES
mount: mounting 192.168.0.11:/FILES on /mnt/FILES failed

or

sh-3.00# mount-FULL -t nfs 192.168.0.11:/FILES /mnt/FILES
mount: unknown filesystem type 'nfs'

I'm not really successful. Thanks for any help.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#2 Post by rarsa »

First. YOU FOUND A BUG!!!
;)

Report it as a "bug" and not as a problem.

Please indicate what version of puppy (or pupplet) you are using.

If you are using a pupplet avise the pupplet author, If you are using an "official" puppy, then please indicate what puppy version.

I can certainly recreate the problem in wNOP. I haven't tried the Official puppy.

Second. Regarding NFS.

I suspect you are using a pupplet that does not have NFS. Contact the pupplet author
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

Sprotte
Posts: 6
Joined: Wed 09 Apr 2008, 13:28
Location: München, Germany

Puppy Version

#3 Post by Sprotte »

In fact I started using 'zebuntu-mini' puplet, but also got same results
for the official Puppy v3.0.1.

Is there a different procedure for bugs ?

Thanks.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#4 Post by HairyWill »

Is there a localhost alias at the top of /etc/hosts?
Are you able to load the nfs module? modprobe nfs
dreamstogo posted an explanation of how she mounted an nfs share using teenpup
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#5 Post by rarsa »

HairyWill wrote:Is there a localhost alias at the top of /etc/hosts?
In my case, yes, there is a localhost entry.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

Sprotte
Posts: 6
Joined: Wed 09 Apr 2008, 13:28
Location: München, Germany

hosts file

#6 Post by Sprotte »

1) my '/etc/hosts' is :

127.0.0.1 localhost puppypc klbos


192.168.0.11 klbf.klb.net klbf
192.168.0.1 klbx.klb.net klbx

2) loading nfs module failes :

{~] modprobe nfs
FATAL: Error inserting nfs (/lib/modules/2.6.21.7/kernel/fs/nfs/nfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)

and rhere are many messages in '/var/log/messages/ like :

Apr 10 07:39:50 (none) kern.warn kernel: nfs: Unknown symbol nlmclnt_proc
Apr 10 07:39:50 (none) kern.warn kernel: nfs: Unknown symbol rpc_proc_register

Seems I am missing other module(s), but which ?

Soupbean

#7 Post by Soupbean »

loading nfs module failes :

{~] modprobe nfs
FATAL: Error inserting nfs (/lib/modules/2.6.21.7/kernel/fs/nfs/nfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)
i'm having exactly the same problem with puppy 3.01

Sprotte
Posts: 6
Joined: Wed 09 Apr 2008, 13:28
Location: München, Germany

My Summary

#8 Post by Sprotte »

Thanks for your replies.

ping localhost was just an example. I cannot use any
name from /etc/hosts in any program (ftp, browser, ... ).
Current workaround for commandlines is to define symbols :

Code: Select all

export PCNAME=192.168.0.x ; ping $PCNAME
(not really a solution).

It is ok for me, when Puppy does not support NFS at all. Its an ancient,
complex concept based on RPC. Time now to switch to Samba.

midwest_r
Posts: 1
Joined: Sun 13 Apr 2008, 21:37

unable to modprobe module nfs

#9 Post by midwest_r »

Soupbean wrote:
loading nfs module failes :

{~] modprobe nfs
FATAL: Error inserting nfs (/lib/modules/2.6.21.7/kernel/fs/nfs/nfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)
i'm having exactly the same problem with puppy 3.01
And I am having exactly the same problem, too, using Pupeee for Asus Eeepc... This was the only thread I could find that contained this problem. Surely, though, some users are successfully using nfs file sharing?

Soupbean

#10 Post by Soupbean »

This quote taken from Puppy 3.01 final bugs report here
llevet wrote:Hi,

I have resolved my problem of nfs.
In fact, it missing in release 3.01 the module sunrpc.ko and module lockd.ko :shock:

Recompiling kernel and modules solve the pb.


Ludo.
you might be able to pm llevet and ask him if he could upload the missing modules, or you could try compiling them yourself :)

Soupbean

#11 Post by Soupbean »

ok. I got NFS working on puppy 3.01

i'll upload the missing modules (These will only work with kernel 2.6.21.7)

you'll also need to add the nolock option in fstab otherwise portmap will timeout.

Sprotte
Posts: 6
Joined: Wed 09 Apr 2008, 13:28
Location: München, Germany

NFS

#12 Post by Sprotte »

SoapBean, thank you for your investigations. NFS now also works for me (after expanding the modules and running 'depmod'). Great.

The '/etc/hosts' issue is still unresolved. It seems to be a busybox problem, as 'ping', 'telnet' et.al. programs are busybox-commends.
After installing 'telnet' fron Slackware, 'telnet' is working as usual.

Sprotte
Posts: 6
Joined: Wed 09 Apr 2008, 13:28
Location: München, Germany

ping

#13 Post by Sprotte »

I forgot to memtion that 'ping' works ok with option '-4', like

Code: Select all

ping -4 pcname
where pcname is defined in '/etc/hosts'

User avatar
woddy
Posts: 44
Joined: Mon 12 Mar 2007, 23:52
Location: Hagenburg, Germany
Contact:

Re: NFS

#14 Post by woddy »

Sprotte wrote:SoapBean, thank you for your investigations. NFS now also works for me (after expanding the modules and running 'depmod'). Great.

The '/etc/hosts' issue is still unresolved. It seems to be a busybox problem, as 'ping', 'telnet' et.al. programs are busybox-commends.
After installing 'telnet' fron Slackware, 'telnet' is working as usual.
Hi Sprotte,
how may I install the missing nfs module? I have the same problem with puppy 4.00 .

thanks, woddy
Linux und Dreambox - Fan
Puppy Anfänger :?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#15 Post by MU »

woddy, save the tar in "/".
Open a consolewindow, and type:

cd /
tar -xvf nfsmodules.tar
depmod


To load the modules, type these lines:
modprobe sunrpc
modprobe lockd

To load them automatically at startup, add those 2 lines to /etc/rc.d/rc.local

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
woddy
Posts: 44
Joined: Mon 12 Mar 2007, 23:52
Location: Hagenburg, Germany
Contact:

#16 Post by woddy »

Hi Mark
I tried like your post and it seems to work, but I can't mount my Dreambox.

Code: Select all

mount -t nfs -o rw  192.168.178.12:/hdd /dream 
mount: 192.168.178.12:/hdd: can't read superblock
It must be a Puppy 4.0 problem; with Muppy 2.12 it works without problems.

Edit: It works now !!! Mounting my Dreambox is realy fast.

Gruss, Manni
Linux und Dreambox - Fan
Puppy Anfänger :?

User avatar
renaud
Posts: 1
Joined: Sat 30 Aug 2008, 17:05
Location: Grasse, France

#17 Post by renaud »

Hello Woddy,

I did exactly the same on a 4.0 and got exactly the same error message "can't read superblock ". Still stuck there. May I ask how you actually solved this issue?

Best regards,

PS: thanks to all of you, Puppy masters: my old Sony Vaio (Celeron 366, 160 MB RAM, 4GB HDD) is (almost) back!!!
Dans Linux il y a un noyau. Dans Windows il y a des pépins.

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

nfs share problems

#18 Post by dinky »

Hi, thanks for the info, but having difficulties. I loaded the modules from the last page, loaded nfs, and am getting this:

Code: Select all

mount: RPC: Program not registered
My command is this:

Code: Select all

mount-FULL -t nfs 192.168.0.4:/home/curious/Documents /root/Desktop/share
Any thoughts on this?
~dinky

rinovan
Posts: 1
Joined: Fri 28 Nov 2008, 15:55

trouble=solved

#19 Post by rinovan »

maybe you need -o nolock so
mount-FULL -t nfs -o nolock 192.168.0.4:/home/curious/Documents /root/Desktop/share

i have a same problem. But solved.

rinovan.co.cc
internet cafe

mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#20 Post by mrd »

This solved my problem on Macpup4.00, but I still have an issue that the NAS box sees my Macpup system as user and group "nobody" which doesn't allow me the privileges I need to edit files on it? Does anyone know how to get around this?

Thanks,
Michael

Post Reply