ok i'm back with the news
first of all thx for dnsmasq update added in pclos repo
just tested and it works like a charm in my lan enviroment but unfortunately the sollution for nfs server is a bite complicated and.. fail if the computer wich run dnsmasq is stopped . So another workaround must be done here
i will tell you a little "how to get NFS work 99,99%"
the default values that i found on my pclos kde:
in /etc/sysconfig/nfs-server
RPCMOUNTD_OPTIONS="--port 4003"
RPCRQUOTAD_OPTIONS="--port 4004"
in /etc/sysconfig/nfs-common
STATD_OPTIONS="--port 4001"
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4002
..and now let's patch..
ON SERVER SIDE:
1. in /etc/sysconfig/nfs-server, replace RPCMOUNTD_OPTIONS="--port 4003" with RPCMOUNTD_OPTIONS="--no-nfs-version 2 --port 4003"
2. in /etc/rc.d/init.d/nfs-common replace
# Set the ports lockd should listen on
if [ -n "$LOCKD_TCPPORT" ]; then
/sbin/sysctl -w fs.nfs.nlm_tcpport=$LOCKD_TCPPORT >/dev/null 2>&1
fi
if [ -n "$LOCKD_UDPPORT" ]; then
/sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1
fi
with
# Set the ports lockd should listen on
if [ -n "$LOCKD_TCPPORT" -o -n "$LOCKD_UDPPORT" ]; then
[ -x /sbin/modprobe ] && /sbin/modprobe lockd $LOCKDARG
[ -n "$LOCKD_TCPPORT" ] && \
/sbin/sysctl -w fs.nfs.nlm_tcpport=$LOCKD_TCPPORT >/dev/null 2>&1
[ -n "$LOCKD_UDPPORT" ] && \
/sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1
fi
reboot server
run rpcinfo -p and see if mountd, nlockmgr and status binds the ports specified above
portmapper and nfs should bind 111 and 2049 ports
if all is ok on server side then create a NFS share via GUI interface
ON THE CLIENT SIDE
Here we have to do just one thing:
Replace (modify) in /usr/lib/libDrakX/fs/remote.pm like this:
sub server_to_string {
my ($_class, $server) = @_;
$server->{name} || $server->{ip};
with
sub server_to_string {
my ($_class, $server) = @_;
$server->{ip};
now the $dev will always be an ip not a name assigned by DHCP server..
Save then open PCC and try to found and mount via GUI interface any NFS share that you have defined in ON SERVER SIDE
tested in two LAN (different DHCP servers) enviroments with success
hope will work for you too
