Results 1 to 9 of 9

Thread: WL-500W with HDD Mac OSX connection failed

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2007
    Location
    Milano - Italy
    Posts
    164
    Quote Originally Posted by cMcd01 View Post
    My problem is changes to smb.conf are not surviving the reboot of the router.
    Did you save it in the internal flash ?

    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    With Samba2 installed, no problems accessing USB storage from Win/Mac/Linux machines.

    Max

  2. #2
    Quote Originally Posted by QMax View Post
    Did you save it in the internal flash ?

    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    Max
    Yes. I've executed that series of commands to save to flash. And I believe I've followed Oleg's instructions (http://oleg.wl500g.info/#tips) correctly for saving smb.conf locally - .files shows:
    Code:
    cat /usr/local/.files
    /etc/fstab
    /etc/smb.conf
    It seems like smb.conf is being re-written after reboot after load of flashfs (assuming flashfs is being loaded).

  3. #3
    I think that what is happening is that you have the smb enabled via the web and thus it is rewriting the smb.conf based on the web configured options and the unwanted default for encrypt passwords.

    1 - disable the samba on the web gui (USB application->samba->disabled)
    2 - login to wl and create the desired smb.conf under /usr/local/etc/smb.conf (you may just cp /etc/smb.conf /usr/local/etc/smb.conf and fix the "encrypt passwords = yes"
    3 - edit the file /usr/local/sbin/post-boot and add the two smbd/nmbd lines, it may look like:

    Code:
    #!/bin/sh
    /usr/sbin/smbd -D -s /usr/local/etc/smb.conf
    /usr/sbin/nmbd -D -s /usr/local/etc/smb.conf
    4 - flashfs save && flashfs commit && flashfs enable
    5 - reboot the router

    Note that if you want to customize the shares you can't use the web anymore, just go and edit the /usr/local/etc/smb.conf as needed

Similar Threads

  1. Custom 1.0.7.8 firmware is ready to download
    By kfurge in forum WL-700g Firmware Discussion
    Replies: 173
    Last Post: 26-04-2008, 16:08
  2. Transmission Log Files löschen ?
    By Simond in forum German Discussion - Deutsch (DE)
    Replies: 3
    Last Post: 12-09-2007, 12:16
  3. connection guard on an WL500g-XXXXX
    By rj.2001 in forum WL-500g/WL-500gx Tutorials
    Replies: 0
    Last Post: 03-05-2007, 10:18

Posting Permissions

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