LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-13-2012, 06:31 PM   #1
bilbonix
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:
//192.168.0.2/Media3/recordings /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
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hi,

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.

Markus
 
  


Reply


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


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

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