Results 1 to 9 of 9

Thread: Samba works in demo mode but not in normal mode

  1. #1
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152

    Samba works in demo mode but not in normal mode

    Hello,

    Samba works in demo mode but not in normal mode, so when demo mode is turned off. So what am i doing wrong?

    Kind Regards,


    PcExpert
    My Router Specs:

    Model: ASUS WL500G Deluxe
    Firmware Version: 1.9.2.7-7G (OLEG)

  2. #2
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    Now it is in normal mode and its working, i did:

    /usr/sbin/smbd -D
    echo /usr/sbin/nmbd -D
    But if the router is rebooted, then samba isn't running anymore. That's normal ofcourse because it is only loaded until I reboot again. But now I have to run samba manually each time I reboot the router.

    EDIT: I just checked the post-boot file, but the two lines are there. This is the post-boot file

    /usr/sbin/smbd -D
    /usr/sbin/nmbd -D




    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    "/usr/local/sbin/post-boot" line 1 of 6 --16%--
    But it still doesn't work
    Last edited by MHz; 01-06-2006 at 11:19.
    My Router Specs:

    Model: ASUS WL500G Deluxe
    Firmware Version: 1.9.2.7-7G (OLEG)

  3. #3
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    Someone, please help
    My Router Specs:

    Model: ASUS WL500G Deluxe
    Firmware Version: 1.9.2.7-7G (OLEG)

  4. #4
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    #!/bin/sh

    and

    chmod +x post-mount

  5. #5
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    Were do I have to do that?
    My Router Specs:

    Model: ASUS WL500G Deluxe
    Firmware Version: 1.9.2.7-7G (OLEG)

  6. #6
    Your post-mount file look like this

    Code:
    #!/bin/sh
    /usr/sbin/smbd -D
    /usr/sbin/nmbd -D
    And
    Code:
    chmod +x post-mount
    you have to execute in the telnet console, in the directory where the post-mount script is located.

  7. #7
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    Thanks,

    PcExpert
    My Router Specs:

    Model: ASUS WL500G Deluxe
    Firmware Version: 1.9.2.7-7G (OLEG)

  8. #8
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    Is post-mount the same as post-boot? if not, where can I find it?
    My Router Specs:

    Model: ASUS WL500G Deluxe
    Firmware Version: 1.9.2.7-7G (OLEG)

  9. #9
    No its not, se following link
    http://www.macsat.com/macsat/content/view/21/29/

    But file is located in same folder when created (by you)

    regards
    vidar(Z)
    Last edited by zainka; 03-06-2006 at 16:13.

Similar Threads

  1. Samba fail to start
    By mururoa in forum WL-500g Q&A
    Replies: 6
    Last Post: 29-05-2006, 10:02
  2. DHCP hostname argument in client mode
    By monnier in forum WL-500g Q&A
    Replies: 0
    Last Post: 19-05-2006, 22:04
  3. Quick how-to: Running Samba and a webserver from a USB stick
    By SuperB in forum WL-500g/WL-500gx Tutorials
    Replies: 0
    Last Post: 17-04-2006, 13:32
  4. No writing possible with Samba demo mode
    By Paulos in forum WL-500g Q&A
    Replies: 4
    Last Post: 07-02-2006, 20:06
  5. Replies: 0
    Last Post: 15-12-2005, 21:05

Posting Permissions

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