Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Filesharing

  • 25-10-2002 10:25pm
    #1
    Registered Users, Registered Users 2 Posts: 935 ✭✭✭


    I'm looking to share files, linux -> linux (we'll worry about windows another day). I've been told samba wont work linux -> linux, and since I've had nothing but problems with it in the past, im happy to choose something else... so im looking for suggestions.

    I want to be able to, for example, play mp3s/etc. over the network, so that rules out FTP and the like. I've tried to set up NFS (RH8 comes with a tool for it), but after configuring shares im getting errors...

    If i type on the client:
    mount -t nfs -o rsize=1024,wsize=1024 192.168.0.1:/home/mixie/SHARED /mnt/Networked

    it gives back:
    mount: rpc: port mapper failure - rpc: unable to receive

    I've tried disabling the firewall (via lokkit), and ipchains isn't installed. I've googled for info, and tried all the alternate methods/configs i can see for NFS, but its always the same error. (and yes, all services are started, and rpcinfo -p lists port mapper).

    Does anyone have any idea how to solve this problem, or can you recommend an alternative?

    ( I can ping PC -> PC, and ssh, etc. works between them too)


Comments

  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    I haven't done NFS myself yet, but there's a couple of things here...

    I've been told samba wont work linux -> linux

    Well, it will, because all the samba server and clients do is mimic Windows networking, but it's a rather long-winded way of doing it. :)

    and since I've had nothing but problems with it in the past

    I had problems with it meself in the past, but it's simple once you get the hang of it. Well, for small home networks anyway. Post your problems, we might be able to help you.

    mount: rpc: port mapper failure - rpc: unable to receive

    Looks like the portmapper isn't running. Run 'service portmap status' and see what it says. If it doesn't say 'portmap (pid XXX) is running', run 'service portmap start'. Try the mount again.

    I've tried disabling the firewall (via lokkit), and ipchains isn't installed.

    Doesn't lokkit configure ipchains? Also, iptables is the standard on Red Hat now, but they're both installed by default. If you're still having trouble, run these to be sure, to be sure:

    service ipchains stop
    service iptables stop

    HTH,
    adam


  • Registered Users, Registered Users 2 Posts: 935 ✭✭✭Mixie


    Thanks Dahamsta, service iptables stop on both PCs has NFS working. For future reference, must you have ipchains installed for iptables to work/work properly? (as ipchains is definately absent from both pcs, even though i did a custom install and said install everything!)

    Anyway, thanks again :)


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    [ Again, not really my area. I usually get someone else to do my firewalling. Well, I used to, now I have to go away and bloody well learn it. ]

    For future reference, must you have ipchains installed for iptables to work/work properly?

    I don't think so. Iptables is just another firewall, albeit apparently a better one.

    (as ipchains is definately absent from both pcs, even though i did a custom install and said install everything!)

    I've installed 7.3 and 8.0 several times recently, and both were installed, so maybe it's there and just switched off. Use 'which' or 'locate' to see if it's there. However, I think lokkit is used for ipchains, I don't think there's an interface to it yet. If these computers are connecting to the net though, you should open the NFS ports for those two machines and restart iptables. Someone here will give you a hand with a firewall script. (Typedef?)

    Anyway, thanks again

    No problem.

    adam


  • Registered Users, Registered Users 2 Posts: 7,530 ✭✭✭jmcc


    Originally posted by dahamsta
    (as ipchains is definately absent from both pcs, even though i did a custom install and said install everything!)

    I think that ipchains is not specifically included as a default because it taints the kernel (copyright issue). Though it should be loadable as a module as is iptables.

    The iptables is now the default I think and I think that this may also have to be loaded as a module. It is typically (with Slackware) a case of removing the leading # on one of the config files (rc.*) where it says '#/sbin/modprobe ipchains'. The later iptables is supposed to be better than ipchains though both do the same kind of thing.

    Regards...jmcc


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    [ FYI, that wasn't posted by me, I was quoting someone else. ]

    I think that ipchains is not specifically included as a default

    It's installed but not loaded or started in Red Hat 8.0, and I believe the same goes for 7.3. FYI like. Again.

    adam


  • Advertisement
Advertisement