Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-13-2012, 06:31 PM   #1
LQ Newbie
Registered: Nov 2012
Posts: 21

Rep: Reputation: Disabled
Windows shares and supend/resume

I put this in my fstab which works fine and mounts the drive:
// /home/billy/oscar cifs username=Billy,password=inserthere,billy,uid=1000,gid= 1000,iocharset=utf8,mode=0777,dir_mode=0777 0 0

But both my windows server and ubuntu machine are set to sleep. My ubuntu wakes my windwows server via a wake on lan command when it resumes from sleep.

Is there another way I should be mounting this other than using the fstab.

Since I added fstab entry sometimes the ls command stops working and winscp stops working and I have to reboot. I presume this is due to the server not being ready after I resume when fstab is run.

Maybe I should be mounting/unmounting with a suspend resume script? How could I do this
Old 11-20-2012, 02:57 PM   #2
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled

how did you configure suspend/resume? What I mean is, did you write a script? did you make the entries in /etc/acpi/ yourself?

I think it can be done with a script. This means that the suspend-script unmounts the shares before suspending and that the resume-script waits with mounting the shares until the servers are available.

You should post your settings here in order to find out how this can be done.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Why do nVida drivers hose suspend/resume or hibernate/resume? taylorkh Linux - Hardware 3 06-23-2011 01:09 PM
HP530 supend problem aZZZ Linux - Laptop and Netbook 1 08-16-2007 06:54 AM
Software Supend adenardo Linux - Laptop and Netbook 1 08-23-2005 06:02 AM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration