Find the answer to your Linux question:
Results 1 to 3 of 3
I am connected to the internet through a cable modem -> router -> 2 computers (1 Win XP PC and 1 Deb Sarge PC). I have been trying to install ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    10

    Home Network with Debian Sarge and XP


    I am connected to the internet through a cable modem -> router -> 2 computers (1 Win XP PC and 1 Deb Sarge PC). I have been trying to install Samba on my Debian PC following the tutorial on this website. I installed Samba by apt-get install samba. I managed to delete the default /etc/samba/smb.conf file so I made one according to the tutorial on this site.

    [global]
    netbios name = linuxbox
    server string = linuxbox
    workgroup = SANDSTORM
    security = user
    encrypt passwords = yes
    smb passwd file = /usr/bin/smbpasswd
    log file = /var/log/samba/%m.log
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    hostname lookups = yes
    hosts equiv = /etc/hosts
    hosts allow = 192.168.0.0/255.255.255.0 localhost
    hosts deny = All
    interfaces = lo eth0
    bind interfaces only = yes
    guest ok = yes
    browse list = yes

    [public]
    path = /home/samba/public
    comment = trial folder
    guest ok = yes
    create mode = 0766
    browseable = yes
    public = yes
    read only = no


    [brent]
    comment = brents home directory
    path = /home/brent
    read only = no
    valid users = brent root



    From the command line I get the following error as the root user:

    Linuxbox:/home/brent# smbclient -L localhost
    Password:
    tree connect failed: Call returned zero bytes (EOF)


  2. #2
    Just Joined! cuervo73's Avatar
    Join Date
    Apr 2006
    Posts
    47

    Re: Home Network with Debian Sarge and XP

    in your smb.conf file, in the section [brent], remove the line:

    valid users = brent root

    and retry your smbclient cmd.

  3. #3
    Just Joined!
    Join Date
    May 2006
    Posts
    10
    I commented the valid users = brent root, did an smbd stop, nmbd stop, smbd start, nmbd start (restart samba, right?). Then I did a smbclient -L localhost and I get the same results.

    I figured out that I cannot ping my own machine (i.e. cannot ping linuxbox while at linuxbox).

    Also, I don't think I have a static IP adress.

Posting Permissions

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