Problems with shared directory

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Problems with shared directory

Post by lollapalooza »

Maybe I have hit a bug.
My router is a Netgear WNDR3700 V2 with Gargoyle 1.10.0.

I have shared a directory of my USB attached drive, which I use to share my audio/video files across my network (share type CIFS)

Everything works fine until I unmount the drive, and then plug it again.

In this case, the shared folder seems to be correctly configured by looking at Gargoyle GUI.

But, as a matter of fact, the folder is not shared.
When I try to access \\192.168.0.1\foldername ... it does not work.

If I reboot the router, everything works fine again.

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Problems with shared directory

Post by Lantis »

This is one of those thing's where it's doing exactly what it was programmed to do, but the programmed behaviour is a little unfriendly.

If you were to hit Save Changes on the page, it would relaunch all of the sharing.

I'm not inclined to make any changes to how this works, as the scenarios to check to make it different are a bit complicated.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ektus
Posts: 241
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Problems with shared directory

Post by ektus »

Could you simply add a "restart samba/cifs/ftp/whatever" button on the usb storage page? I've been hitting the same problem, and solved it by issuing

Code: Select all

/etc/init.d/samba reload
from the web shell.

Found that one here on the forums in viewtopic.php?t=2483 :geek:

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Problems with shared directory

Post by Lantis »

But you can just hit save again...
I don’t understand why a shared drive is constantly being ejected.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

lollapalooza
Posts: 122
Joined: Mon Jun 09, 2014 12:53 pm

Re: Problems with shared directory

Post by lollapalooza »

Because it's an USB drive...
I connect it to my router when I need it there.
Then I connect it to my laptop when I need it there.
Then I bring it to office...
Etc. :-)

ektus
Posts: 241
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Problems with shared directory

Post by ektus »

In my case, possibly problems with the power supply. It's a 2,5" HDD (Toshiba 2TB) that pulls 500mA upon startup, which might be a bit much for the Archer C7 it's attached to. I've since added a powered hub in between, so will have to keep watching.

Anyway, hitting save without having changed anything isn't exactly intuitive...

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Problems with shared directory

Post by Lantis »

There is the service manager plugin which would give you a start/stop/restart button for all of the services.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ektus
Posts: 241
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Problems with shared directory

Post by ektus »

There is? Okay, found it and installed it. Thank You! Now to wait for a reason to use it ;)

Post Reply