Comment 33 for bug 211631

Revision history for this message
gecobb@maine.rr.com (gecobb) wrote : Re: CIFS/SMBFS shares not unmounted before network is shut down

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