Problems with shared directory

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

Moderator: Moderators

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

Problems with shared directory

Postby lollapalooza » Mon May 20, 2019 4:09 pm

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: 5051
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Problems with shared directory

Postby Lantis » Mon Jun 10, 2019 2:33 am

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.
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

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

Re: Problems with shared directory

Postby ektus » Mon Jun 10, 2019 4:50 am

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: 5051
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Problems with shared directory

Postby Lantis » Mon Jun 10, 2019 4:52 am

But you can just hit save again...
I don’t understand why a shared drive is constantly being ejected.
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

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

Re: Problems with shared directory

Postby lollapalooza » Mon Jun 10, 2019 4:55 am

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: 166
Joined: Sun Aug 11, 2013 2:26 am
Location: Germany

Re: Problems with shared directory

Postby ektus » Mon Jun 10, 2019 4:57 am

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: 5051
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Problems with shared directory

Postby Lantis » Mon Jun 10, 2019 5:33 am

There is the service manager plugin which would give you a start/stop/restart button for all of the services.
Routers: Various ar71xx/mvebu/x86-64
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases

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

Re: Problems with shared directory

Postby ektus » Mon Jun 10, 2019 7:16 am

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


Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 4 guests