PDA

View Full Version : SMB and NFS failing


TheCritic
10-19-2002, 11:02 PM
SMB gives me
bash-2.02# smbmount //192.168.1.10/tivo /mnt/playback/export
Password:
mount error: Invalid argument
Please look at smbmount's manual page for possible reasons

NFS gives me:
mount: RPC: Port mapper failure - RPC: Unable to receive

any help would be appreciated... NFS prefered

lmurray
10-19-2002, 11:15 PM
This is what I do for smb:

smbmount //trash/CDRIVE /mnt/windows/ -I 192.168.3.2 -P welcome

where trash is my pc, CDRIVE is my shared drive, /mnt/windows is the directory on the tivo where i want to mount it, 192.168.3.2 is the IP of the PC, and welcome is my password to the share.

I find smb to sometimes crash. YMMV.

check the linux faq for help on nfs. It looks to me that u'r nfs server isn't setup right. I followed the nfs faq to the tee, and all was well.


-lloyd-

TheCritic
10-19-2002, 11:52 PM
nope... still not working...

can you link the NFS FAQ?

bash-2.02# smbmount //ten/tivo /mnt/playback/export/ -I 192.168.1.10
Password:
mount error: Invalid argument
Please look at smbmount's manual page for possible reasons

skorous
10-20-2002, 12:11 AM
Are you trying to mount a linux box or a Windoze box running some NFS service? If it's a linux box what distro, version, etc...


I got NFS mounting working with nothing but the man pages so it can't be that hard. :D All you should need (assuming my memory is working) is rpc.nfsd and rpc.mountd running on the linux box and whatever you're trying to share in /etc/exports. You should be able to start the nfs server on a linux box by calling something similar to: /etc/rc.d/init.d/nfs start

On a Windoze box ... who can say.

In case it helps I linked the man page for smbmount in here.

Skorous

TheCritic
10-20-2002, 12:13 AM
thanks... you wont believe what bonehead mistake I was making... I had iptables blocking the udp port for rpc... it is working now.. thanks

skorous
10-20-2002, 12:14 AM
I'll believe anything. I've done most of it.;) Glad to hear it works now.

Skorous

mavrcksd
04-26-2003, 11:00 AM
Originally posted by TheCritic
thanks... you wont believe what bonehead mistake I was making... I had iptables blocking the udp port for rpc... it is working now.. thanks

I'm getting the same error while trying NFS:
"mount: RPC: Port mapper failur - RPC: Unable to receive"

I do not know how to edit the IP tables to do allow that.

I did find a shareware NFS service for windows 2000.
It looks like it has opened up ports 111, 1058, 2049 on both TCP and UDP ports..

The link to the services is: http://home.foni.net/~hanewin/nfs/nfsd.htm

Can someone please assist me on this?

rbiro
06-17-2004, 02:35 AM
I'm getting the same error while trying NFS:
"mount: RPC: Port mapper failur - RPC: Unable to receive"


I was just using this thread to get started...

From their web site:


PortMap Daemon and NFS Server are implemented as services for background operation. The entries created in the start menu execute the following commands.

1. The PortMap Daemon is installed and started by the command:
PMAPD -install
The service can be started and stopped manually by the service control panel.
2. The NFS Server service is installed and started by the command:
NFSD -install PMAPDaemon
The service depends on the service PMAPDaemon. If you use a Portmapper from another vendor use their service name for the portmapper. If no service name is specifed no dependency check is applied.
The service can be started and stopped manually by the service control panel.


So you needed to actually start the nfs server

Now I'm having an issue on the tivo side:

(none):/var/hack$insmod -f /lib/nfs-2.0.1.o
Warning: kernel-module version mismatch
/lib/nfs-2.0.1.o was compiled for kernel version 2.1.24-TiVo.1
while this kernel is version 2.1.24-TiVo-2.5
(none):/var/hack$mount -t nfs 192.168.1.5:/mp3 /var/hack/mp3
mount: RPC: Program not registered

So I've got a little further to go...