Results 1 to 15 of 70

Thread: Firmware v1.8.1.7 CR2 [Oleg] - updated ( CR2a )

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Styno
    I feel a bit silly but I'm having troubbles getting write access through Samba with firmwares 1.8.1.7-2-pre1 and 1.8.1.7-2a.

    When mounting the hidden share$, I can view the directorys and open files, but I'm unable to write files to the disk. This was working fine in 1.7.5.6 CR5.

    Any ideas?
    I've had the same problem.
    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.

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by oldudu
    [I've had the same problem.
    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
    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.

  3. #3
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    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
    Code:
    /usr/sbin/busybox_httpd -p 81 -h /tmp/harddisk/wwwroot
    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...
    Last edited by Styno; 20-10-2004 at 12:46.

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by Styno
    Thanks Oldudu. Will adding users to passwd file work with Samba?

    Oleg, any ideas on how to solve my 2nd problem?
    Not yet. Try redirecting the output using something like this:

    Code:
    busybox_httpd ... > /tmp/log 2>&1
    and check it after boot-up. Also, be sure you've #!/bin/sh at the top.

  5. #5

    Static IPs

    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.

  6. #6
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by Oleg
    Not yet. Try redirecting the output using something like this:

    Code:
    busybox_httpd ... > /tmp/log 2>&1
    and check it after boot-up. Also, be sure you've #!/bin/sh at the top.
    I did the test and the result is:
    Code:
    cat log
    busybox_httpd: can`t chdir to /tmp/harddisk/wwwroot: No such file or directory
    It appears that the USB HDD is not mounted yet when running 'post-boot'...I think it should be.

  7. #7
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by Styno
    I did the test and the result is:
    Code:
    cat log
    busybox_httpd: can`t chdir to /tmp/harddisk/wwwroot: No such file or directory
    It appears that the USB HDD is not mounted yet when running 'post-boot'...I think it should be.
    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.

  8. #8
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by Oleg
    No, this never works this way. You just need to add /etc/smb.conf to the list of files (i.e. /usr/local/.files. You may want to check /sbin/flashfs - it's shell script, and it's called as "flashfs start" on boot.
    Oh yes, I was being really dumb there. Thanks for pointing it out. I'm back on track with this now.

    Quote Originally Posted by Oleg
    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.
    OMG, thats a weird decision Asus made there. That makes the boot scripts not very reliable when USB HDD is involved...

    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.

  9. #9
    Quote Originally Posted by Styno
    Thanks Oldudu. Will adding users to passwd file work with Samba?
    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.

    Oldudu

  10. #10
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Quote Originally Posted by Styno
    Thanks Oldudu. Will adding users to passwd file work with Samba?
    If you mean adding root - yes, it should work.

Similar Threads

  1. Firmware v1.9.2.7 CR6, updated to CR6a ... now CR6b [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 241
    Last Post: 09-02-2006, 09:19
  2. Firmware v1.9.2.7 CR5, updated: v1.9.2.7 CR5a [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 189
    Last Post: 18-06-2005, 12:07
  3. Firmware v1.7.5.6 CR3 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 56
    Last Post: 28-07-2004, 21:11
  4. Firmware v1.7.5.6 CR4 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 29
    Last Post: 30-05-2004, 15:56
  5. Firmware v1.7.5.6 CR1 [Oleg]
    By Antiloop in forum WL-500g Firmware Releases
    Replies: 15
    Last Post: 07-04-2004, 17:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •