- Code: Select all
timeo=1200
option, though to renew the IP via dhcp doesn't take that long (2 minutes) but still.... perhaps it might work?
Moderator: Moderators
timeo=1200
kayasaman wrote:On laptop wireless
On desktop wired
# rc-update del NetworkManager default# rc-update add dhcpcd default# rc-update add NetworkManager default# /etc/init.d/NetworkManager start --nodeps#!/bin/sh
# these are the args passed by NetworkManager
MY_DEV_NAME="$1"
MY_NM_ACTION="$2"
# restart network mounts service in any case, networking setup is changed
# FIXME, remove: just restart myself, do not restart
# services that depend on me
net_fs="afs,cifs,coda,davfs,fuse,fuse.sshfs,gfs,glusterfs,lustre,ncpfs,nfs,nfs4,ocfs2,shfs,smbfs"
if [ "${MY_NM_ACTION}" = "up" ]; then
mount -at ${net_fs} &
MY_PID=$!
# give script 20 seconds then kill
# it happens with unavailable servers
sleep 20
MY_PID_ALIVE=$(kill -0 ${MY_PID} &> /dev/null)
# kill if alive
if [ "${MY_PID_ALIVE}" = "0" ]; then
kill ${MY_PID} || kill -9 ${MY_PID}
umount -at ${net_fs} -l
fi
else # down
# Lazy umount all filesystems
umount -at ${net_fs} -l
fi
/etc/NetworkManager/dispatcher.d
01-netmount-up-down.rc 10-openrc-status

could you try "wicd" instead NetworkManager ?
kayasaman wrote:It looks like wicd fixed the issue....
so far I haven't had any NFS dropouts meaning that the culpret was NetworkManager so either it's a bug or programmed behaviour but either way not expected behaviour.
Return to Sabayon Linux General Discussion
Users browsing this forum: No registered users and 1 guest