DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

#1 2013-12-10 05:45:30

Registered: 2010-04-22
Posts: 6

Can't Ping Hostname from windows


I'm running my dns-313 with debian successfully now.  Still finding my way around tho.

In windows I can see all my computers under network but I can't see my DNS-313.  I can't even ping DNS-313.  I
I can access via IP and ping Via IP.

These are the detials of my system

Address of DNS-313 :

I have winbind.  and somba installed  yet still no luck

etc/interaface/interfaces file
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback

auto egiga0
#iface egiga0 inet dhcp

iface egiga0 inet static

etc/samba/smb.conf file
        read raw = yes
        guest account = nobody
        preserve case = yes
        guest ok = yes
        netbios name = DNS-313
        server string = DNS-313
        path = /home
        default = home
        local master = yes
        workgroup = WORKGROUP
        os level = 20
        syslog only = yes
        security = share
        syslog = 1
        guest only = no
        short preserve case = yes
        preferred master = yes
        log level = 3
        wins support = yes
        force user = root

Any help would be greately appreciated



#2 2013-12-10 23:09:06

Registered: 2010-01-27
Posts: 16

Re: Can't Ping Hostname from windows


Do you have samba and samba-common also installed?
Please check:
dpkg --get-selections | grep samba
You should see both packages.
Then you will have smbd (samba) and nmbd (winbind) daemons running...
My smb.conf looks like this:


#======================= Global Settings =======================

        log file = /var/log/samba/log.%m
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        obey pam restrictions = yes
        interfaces = egiga0
        encrypt passwords = yes
        passwd program = /usr/bin/passwd %u
        passdb backend = tdbsam
        wins support = no
        dns proxy = no
        server string = %h server
        unix password sync = yes
        workgroup = MSHOME
        security = share
        syslog = 0
        panic action = /usr/share/samba/panic-action %d
        max log size = 100
        pam password change = yes
        load printers = No
        printcap name = /dev/null
        dns proxy = No
        panic action = /usr/share/samba/panic-action %d
        printing = bsd
        print command = lpr -r -P'%p' %s
        lpq command = lpq -P'%p'
        lprm command = lprm -P'%p' %j
   comment = Home Directories
   browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
   read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# The following parameter makes sure that only "username" can connect
# to \\server\username
# This might need tweaking when using external authentication schemes
   valid users = %S
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
  comment = All Users
  path = /home/share
  valid users = @users
  force group = users
  create mask = 0660
  directory mask = 0771
  writable = yes

    wide links = no
    browsable = yes
    writeable = yes
    path = /home/backup
    guest ok = yes
    revalidate = yes
    comment = backup location
    create mode = 775
    directory mode = 775
And the NAS is seen on the network....

Last edited by aFoP (2013-12-10 23:11:27)



Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB