[Bug 211631] Re: CIFS/SMBFS shares not unmounted before network is shut down

gecobb at maine.rr.com gecobb at maine.rr.com
Thu Oct 30 11:16:42 GMT 2008


I removed Network Manager with the Synaptic Package Manager (the
network-manager and network-manager-gnome packages) and added my
wireless startup information to /etc/rc.local like this:

ifconfig eth1 down
dhclient -r eth1
ifconfig eth1 up
iwconfig eth1 essid "MY ESSID"
iwconfig eth1 mode Managed
dhclient eth1

sleep 5

mount -a -t cifs

Everything now works perfectly as far as I have been able to tell.  No
delay in shutting down and the Suspend function seems to be working
properly as well -- sorry I haven't tested Hibernate because I never
really use that anyway.  I mention the Suspend function because in the
past with NM and cifs in the /etc/fstab file Suspend used to only work
the first time, then every time after that the network would not
reactivate and I had to reboot.  Just in case anyone else is interested
in that little tidbit of information.

This seems to definitely be a Network Manager induced condition.

I hope this helps.
--Gary

-- 
CIFS/SMBFS shares not unmounted before network is shut down
https://bugs.launchpad.net/bugs/211631
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list