how to custom port mountd nfs ?
Hello brotha,
Need a hand, How we can custom that ? I noticed on fedora dist, we can custom it on /etc/sysconfig/nfs, but i don't know how to do it on slackware. Any Slackers, please help me ... Thanks. |
I think you have gotten no replies because you have not given enough information. What do you want to do? What do you mean by "custom", is it "customize"? I have never needed a file to customize nfs mounts. Explain a little more, please.
Regards, Bill |
Ok Bill,
Thanks for replying. Yes, i mean customize the port for port that related to nfs services so that we can config iptables rules more easy. From what that i learn, these are the related port : - portmap - mountd - statd - nlockmgr - rquotad On redhat based distros, i change those port to 4002-4005 (except portmap). There is an issues with iptables if the portmapper run dynamically, so i want to customize the related port. If the other distros can do, i'm sure slackware can do it, i just can't figure it out. Please help brotha. Regards, Heinz |
Well, Heinz, now that I know what you want, I can't help you. I've never had to do that nor ever researched it, so I have no clue.
Sorry, Bill |
Well, take a look at the man page for mountd
man mountd One of the options is the following: Code:
-p or --port num Now, what to do with that. Looking at /etc/rc.d/rc.nfsd you can see the following section: Code:
if [ -x /usr/sbin/rpc.mountd ]; then Code:
if [ -x /usr/sbin/rpc.mountd ]; then Another option might be in install webmin which may allow easier manipulation of this and other parameters. get the SlackBuild slackbuilds.org. |
This is covered in some detail in the Slack Wiki here :
http://slackwiki.org/NFS_and_Firewall Thanks to our benefactor Robby Workman. This should get you going. |
Thanks for all replies bro.
I had tested it and it works except for nlockmgr. Showmount and rpcinfo is working. I will continue to use slack for my desktop, thanks to you all, really appreciated. Regards, Heinz |
From the link I posted - credit again to R.Workman..
Quote:
|
thanks bgeddy, but i already tried it, doesn't work.
should i supposed to activate some modules and recompile kernel for that ? coz i don't know any modules related to this and i believe that i'm not running nfsd as module. hey, on belowed page from his wiki, he said bout irc channel, do u know what channel ? Regards, Heinz |
Are you running the installed "huge" kernel ? If so this won't work. It is recommended to switch to the generic kernel anyway after installation. From the CHANGES_AND_HINTS on the install media :
Quote:
You don't need to recompile your kernel for this. Robby Workman frequents the ##slackware irc channel so I suppose this is the one he's referring to. |
Thanks bgeddy,
I install smp generic kernel + kernel modules, its work, But my battery power meter dissapeared now .. lol ... Thanks for you all. |
Glad to see it works - but - if you are having difficulties with the power meter perhaps you might want to start a different thread here for help ?
I'm sure the Slackware folks will respond. |
I had edit the kernel conf and recompile it, no issue now bro.
Thanks, you're very nice. |
Quote:
Code:
# Battery (adds battery information through/proc/acpi/battery): |
Great info,
i'm still using 2.6.21.5-smp , i can't find battery modules on /lib/modules/$(uname -r), when i run modprobe, module not found. is it only applied to 2.6.24.5-smp? Thanks T3slider. |
All times are GMT -5. The time now is 06:42 AM. |