Results 1 to 15 of 29

Thread: [HowTo] Install and Configure a WORKING Samba (Vista included)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Lightbulb [HowTo] Install and Configure a WORKING Samba (Vista included)

    Disclaimer.
    Don't know if this guide works from head to tail.
    I've composed it from my remberings. But if you have a little knowledge about linux you should understand if there is anything missing or wrong.
    Please tell me, so I could update the how to.

    I assume you already installed the basics (steps from other tutorials).

    Let's get started...




    # Login to the web interface and disable the experimental Samba.

    # Uninstall any previous xinetd/samba2/samba3 you might have tried with no succes
    # Do not remove xinetd if you might need it !!!
    Code:
    ipkg remove xinetd
    ipkg remove samba2
    ipkg remove samba

    #I suggest you should go to /opt/etc/init.d and remove any SXXSamba file you might have there (XX is a number)




    # Get the better ipkg
    Code:
    wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-9_mipsel.ipk 
    ipkg.sh install ipkg-opt_0.99.163-9_mipsel.ipk
    # Get the better uclibc
    Code:
    wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-12_mipsel.ipk
    ipkg.sh install uclibc-opt_0.9.28-12_mipsel.ipk
    # Update the list using the improved ipkg
    Code:
    ipkg update
    # Now upGRADE your system:
    Code:
    ipkg upgrade
    ipkg list_installed
    # Create a download folder for Samba, go there and download the latest version (in this case samba_3.0.26a-1_mipsel.ipk)
    Code:
    mkdir /opt/sambaNew
    cd /opt/sambaNew
    wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/samba_3.0.26a-1_mipsel.ipk
    # Install this version of Samba
    Code:
    ipkg install samba_3.0.26a-1_mipsel.ipk
    # This is my working smb.conf file located in /opt/etc/samba
    # edit it with your favorite editor, for example nano
    Code:
    nano /opt/etc/samba/smb.conf
    # Copy paste the green lines below in your smb.conf

    [global]
    workgroup = YOUR_WORKGROUP
    guest account = nobody
    security = share
    browseable = yes
    guest ok = yes
    guest only = no
    log level = 1
    max log size = 100
    encrypt passwords = yes
    dns proxy = no
    netbios name = Working_Samba
    server string = Router wl500gPremium working with Vista.

    [share1]
    path=/opt/share/samba1
    read only = no
    writeable = yes
    browseable = yes
    public = yes
    # Create the physical shared folder on your partition
    Code:
    mkdir /opt/share/samba1
    #In order to read/write to this folder you have to give rights permissions.
    Code:
    chmod 777 /opt/share/samba1
    # The final command...
    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    # Not sure if this is required, but in Windows Vista, you should run secpol.msc
    # then in the left tree select Local Policies > Security Options
    # then in the right open Network security: LAN Manager authentication level
    # and select Send LM & NTLM - use NTLMv2 security if negotiated instead of Send NTLMv2 response only.

    # Now you should have a working Samba share accesible even from Windows Vista.

    Cheers,
    Arise
    Last edited by Arise; 20-01-2008 at 13:25.

Similar Threads

  1. Replies: 24
    Last Post: 05-05-2015, 07:42
  2. [HowTo] Install and configure Oleg's firmware
    By wengi in forum WL-500gP Tutorials
    Replies: 957
    Last Post: 22-02-2013, 22:24
  3. HowTo install OpenVPN server
    By Tamadite in forum WL-500g/WL-500gx Tutorials
    Replies: 41
    Last Post: 31-05-2012, 20:41
  4. [Howto] Install hddtemp
    By Denmike in forum WL-500gP Tutorials
    Replies: 11
    Last Post: 26-02-2012, 06:46
  5. Samba share accessible in XP but not Vista
    By goolias in forum WL-500gP Q&A
    Replies: 4
    Last Post: 05-11-2007, 14:07

Tags for this Thread

Posting Permissions

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