Page 1 of 1

Mounting for life

Posted: Wed Apr 06, 2011 11:45 am
by UsernameTaken
When I insert an usb drive the first time on a fresh system all works as expected, but if I at a later time insert a different drive, nothing shows up in the web gui, even after a reboot. I'm using a wr1043 and the latest firmware (1.3.13)).

I've seen the March of the Penguins so I understand mounting for life might be a natural tendency for linux devices but I still would like to make my router more promiscuous.

I don't see a fstab file in /config and putting a plate with raw oysters in front of the router didn't help either, so I'm not sure what to do now. Any help would be much appreciated.

Re: Mounting for life

Posted: Thu Apr 07, 2011 7:33 am
by DoesItMatter
Bravo!

This has got to be one of the greatest and funniest
help-questions posts I have ever seen on this forum!

I shall run some testing and respond back.

I've got an NTFS external and an EXT3 external USB devices
that I can try hot-swapping on my WZR-HP-G300NH and see it
it will recognize without or with a reboot.

Whenever I did testing, I always stuck with the same device.
Will post back with results.

Re: Mounting for life

Posted: Fri Apr 08, 2011 4:31 am
by DoesItMatter
OK.

I did testing with mounting 2 different drives on my
WZR-HP-G300NH - running Gargoyle 1.3.13

Drive 1 - NTFS External USB 1TB
Drive 2 - EXT3 USB Flash 8GB

I Mounted the EXT3 drive and set it up under the USB
Able to access - no problem, but no write access until
I reboot the router (did NOT reboot router for this test)

Able to read the EXT3 - ok - went back in to USB config and
deleted the drive mount, then pulled out the flash drive.

Connected Drive 1 - NTFS 1TB to the WZR-HP-G300NH
Went to USB menu and setup the read/write share
Able to read/write to NTFS without rebooting router.

So - swapping drives without rebooting the router DOES WORK.

You have to go into the USB menu each time and delete the
old share and re-create the new share each time you swap.
For EXT3 drives - you will have to reboot the router to get
write functionality (I had to on my WZR-HP-G300NH)

Any other router users with USB - can you do a similar USB
test and report your results here?

Re: Mounting for life

Posted: Sun Apr 17, 2011 4:42 am
by argent88
I'm in the same situation. Same router, same gargoyle version.
When I first installed gargoyle and mounted my 16gb usb ntfs flash drive it worked, now it won't me let mount even that..

+Hahahaha for first post.

Re: Mounting for life

Posted: Thu Apr 21, 2011 5:04 pm
by behappy
Don't know it's a bug or not, but the missing fstab file causes a minor headache when swap between the difference usb drives.

I make a fstab file from wiki and place it on tmp folder.

config global automount
option from_fstab 1
option anon_mount 1

config global autoswap
option from_fstab 1
option anon_swap 0

With usb pen I take note that gargoyle make read/write access w. chmod 777, but usb hard drive only w. chmod 755, so I change similar for usb hard drive w. chmod 777 (your mounted usb device on folder/tmp/usb_mount/xxx)

Hope this help you.

Re: Mounting for life

Posted: Sat May 07, 2011 4:18 pm
by Eric
I know this is an old post, but I've just implemented a fix for the issue described here. I've added a setting to the USB storage settings to specify whether settings should apply only to the specific USB drive connected, or to the same partition in any USB drive connected. Sorry for not getting to this sooner.

The fix is now available in the git repository, and will be included in the next release.