Results 1 to 6 of 6

Thread: let samba start on boot

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

    let samba start on boot

    hello,

    I followed this tutorial, but when I try to make sure samba is started whenever the router boots I get this error:

    [admin@WareHouse root]$ echo "/usr/sbin/smbd -D" >> /usr/local/sbin/post-boot
    -sh: cannot create /usr/local/sbin/post-boot: Directory nonexistent
    [admin@WareHouse root]$ echo "/usr/sbin/nmbd -D" >> /usr/local/sbin/post-boot
    -sh: cannot create /usr/local/sbin/post-boot: Directory nonexistent
    [admin@WareHouse root]$

    What's wrong?

    Thanks,

    PcExpert


    By The Way, I had samba running, but I have resetted my router and from then on it didn't work anymore.
    My Router Specs:

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

  2. #2
    Isn't Samba run automatically if you enable it in Olegs firmware?

    However, the answer to your question is in the error message
    cannot create /usr/local/sbin/post-boot: Directory nonexistent
    Code:
    mkdir -p /usr/local/sbin
    should help

  3. #3
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    Ít worked, the directories are now created, but samba still doesn't work.

    Please help
    My Router Specs:

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

  4. #4
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Put all harddisk related commands in post-mount script.

  5. #5
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    Thanks, but how to do that?
    My Router Specs:

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

  6. #6
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    152
    please someone
    My Router Specs:

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

Similar Threads

  1. 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
  2. Boot the Router over Network TFTP+NFS
    By tomekmik in forum WL-500g Custom Development
    Replies: 7
    Last Post: 14-01-2006, 21:11
  3. Replies: 0
    Last Post: 15-12-2005, 21:05
  4. Ftp Wan
    By CPTC in forum WL-500g Q&A
    Replies: 9
    Last Post: 07-04-2005, 21:23
  5. web interface loads only occasionally during boot
    By oferlaor in forum WL-500g Q&A
    Replies: 5
    Last Post: 18-10-2004, 10:48

Posting Permissions

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