I've had the same problem.Originally Posted by Styno
The solution I've found is to replace the user root by user admin in the line : force user =
Thanks to all for the nice job
Regards
Oldudu
I've had the same problem.Originally Posted by Styno
The solution I've found is to replace the user root by user admin in the line : force user =
Thanks to all for the nice job
Regards
Oldudu
Last edited by Styno; 20-10-2004 at 12:42.
Right, smb.conf has hardcoded root name, but it's provided as sample only. Well, I will probably fix this. For now either change user name to root or edit smb.conf file and save it to flashfs.Originally Posted by oldudu
Thanks Oldudu. Will adding users to passwd file work with Samba?
Oleg, any ideas on how to solve my 2nd problem?
Edit 2: I have the following line in the 'post-boot' script to start a 2nd webserver which is not working
But when I execute the same command from the commandline the webserver starts normally. Any ideas on why this is not working from post-boot? Everything else is working fine from the post-boot script...Code:/usr/sbin/busybox_httpd -p 81 -h /tmp/harddisk/wwwroot
Last edited by Styno; 20-10-2004 at 12:46.
Not yet. Try redirecting the output using something like this:Originally Posted by Styno
and check it after boot-up. Also, be sure you've #!/bin/sh at the top.Code:busybox_httpd ... > /tmp/log 2>&1
Hummm... Deleting dhcpd cache in each node did solve the problem... I did try that solution but not the right way...
Thanks a lot
Last edited by virilius; 20-10-2004 at 13:50.
I did the test and the result is:Originally Posted by Oleg
It appears that the USB HDD is not mounted yet when running 'post-boot'...I think it should be.Code:cat log busybox_httpd: can`t chdir to /tmp/harddisk/wwwroot: No such file or directory
Ok, I knew the answer. This is new asus know-how. They're mounting disks from the watchdog which runs once per second or so... Mount it manually or add sleep.Originally Posted by Styno
Oh yes, I was being really dumb there. Thanks for pointing it out. I'm back on track with this now.Originally Posted by Oleg
OMG, thats a weird decision Asus made there. That makes the boot scripts not very reliable when USB HDD is involved...Originally Posted by Oleg
I'll try to add some lines to post-boot script to let it wait for the disk to come online for a maximum of one minute or so. If not, the boot script will continue.
Last edited by Styno; 20-10-2004 at 22:03.
Hi, I don't know if it should work, but that's a good idea, I will try it later, and tell you the results later.Originally Posted by Styno
Oldudu
If you mean adding root - yes, it should work.Originally Posted by Styno