Find the answer to your Linux question:
Results 1 to 2 of 2
i want to connect my suse 9.1 machine with my windows xp machine to share files using a crossover cable and using samba. how can this be done?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Posts
    4

    help with samba in suse 9.1


    i want to connect my suse 9.1 machine with my windows xp machine to share files using a crossover cable and using samba. how can this be done?

  2. #2
    Just Joined!
    Join Date
    Jun 2004
    Posts
    10
    Since you're new to linux, I assume you don't want any techno babble and
    step by step instructions. If you want more detailed instructions, then prove me wrong.

    1. Get samba. Either install it using whatever way Suse uses.

    or

    Download the samba 3.0.6 sources and do the following:
    tar -zxf samba-3.0.6.tar.gz
    cd samba-3.0.6
    ./configure --prefix=<choose a directory to install to (preferrably /opt/samba or /usr/local/samba)>
    make
    su <enter root password>
    make install

    2. use the following as your configuration file (<samba dir>/lib/smb.conf) BTW this example is absolutely evil since anyone can access it, the password is empty, and it shares /, so adjust it to suit your needs.

    [global]
    workgroup = MSHOME
    wins support = yes
    encrypt passwords = yes
    browsable = yes
    security = share

    [root]
    path = /
    read only = yes
    guest ok = yes
    public = yes

    3. run smbd and nmbd in <samba directory>/sbin as root.
    (put these in a startup script later)

    4. From the windows computer, try to map \\<computer name>\root
    as a network drive. If all went well, you will be prompted for a password
    which you should just leave blank.

    For more information, see the complete samba book at http://www.faqs.org/docs/samba/ch00.html
    happy hacking,
    Yale

Posting Permissions

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