OpenWrt Forum Archive

Topic: Automount and samba on WGT634U

The content of this topic has been archived on 3 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, Im running kamikaze on a WGT634U and ive got usb set up and working however i would like to automount the drives to a directory e.g. mnt and have that set up as a samba share.

I have installed samba-server and samba-common and usb works fime with mount /dev/sda1 /mnt/partition1 etc...

I have copied the scripts from http://forum.openwrt.org/viewtopic.php?pid=51922#p51922 but they done even seem to run. I've checked the log but nothing that the files should run is in there.

The files have been chmodded to 777 and ive changed SUBSYSTEM ~~ (net|button|usb){

Is there any other scripts or more information about this

Anything you need me to post just let me know

Thanks

Hey, i feel really stupid. Ive got auto mount working by restarting the router roll

Now however i would like to be able to mount usb drives with more than 1 partition e.g. make a new folder for sda1 sda2 and sda3 and so on but i dont understand the script so cannot edit it myself

Any ideas?

THanks

The discussion might have continued from here.