Hi,
I'm new to the lovely Merlin N66U firmware having upgraded from a very old Linksys (pre-cisco) WRT-54g running DD-wrt. The merlin port is fantastic work!
I'm trying to make use of the CIFS client - and it works, but I don't seem to be able to get it to run from the post-mount user script.
jffs was formatted, rebooted, and I created a fresh post-mount script:
-rwxr-xr-x 1 admin root 120 Oct 15 12:14 post-mount
#!/bin/sh
mount \\\\192.168.1.155\\media /cifs1 -t cifs -o "username=guest,password=guest"
This script works quite fine if I execute it from the command-line:
./post-mount
When I reboot - it doesn't seem to be executed at all. I put a small test it it:
echo "test" > /jffs/test.txt
The test file was not created, but when I execute manually - it is.
I'm running:
3.0.0.4.374.33 (Merlin build)
I note in the release notes there was a regression some time back where it did not execute - has this come back?
Any other hints appreciated! I'd prefer not to mount manually each time
Thanks
I'm new to the lovely Merlin N66U firmware having upgraded from a very old Linksys (pre-cisco) WRT-54g running DD-wrt. The merlin port is fantastic work!
I'm trying to make use of the CIFS client - and it works, but I don't seem to be able to get it to run from the post-mount user script.
jffs was formatted, rebooted, and I created a fresh post-mount script:
-rwxr-xr-x 1 admin root 120 Oct 15 12:14 post-mount
#!/bin/sh
mount \\\\192.168.1.155\\media /cifs1 -t cifs -o "username=guest,password=guest"
This script works quite fine if I execute it from the command-line:
./post-mount
When I reboot - it doesn't seem to be executed at all. I put a small test it it:
echo "test" > /jffs/test.txt
The test file was not created, but when I execute manually - it is.
I'm running:
3.0.0.4.374.33 (Merlin build)
I note in the release notes there was a regression some time back where it did not execute - has this come back?
Any other hints appreciated! I'd prefer not to mount manually each time
Thanks