Siduction Forum

Siduction Forum => Software - Support => Topic started by: ragupo on 2013/07/07, 02:06:30

Title: Samba
Post by: ragupo on 2013/07/07, 02:06:30
I have a NAS, and off couse i want to acess my shares on it. But whenever i start dolphin or konqueror and goes to networ/samba-shares, ill just get the message "no workgroups could be found on your LAN, probably because of enabled firewall.
In a console everything seems to work though:
ragupo@siductionbox:~$ smbclient -L 10.0.0.3
Enter ragupo's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.2.8]

       Sharename       Type      Comment
       ---------       ----      -------
       home            Disk      home
       data            Disk      
       homes           Disk      user home
       klt             Disk      kort- og landmålingstekniker
       litteratur      Disk      læsbart stuff
       music           Disk      System default shared folder
       NetBackup       Disk      System default shared folder
       photo           Disk      System default shared folder
       software        Disk      installerbart
       torrents        Disk      seneste tyvekoster
       uploads         Disk      incoming
       video           Disk      System default shared folder
       web             Disk      System default shared folder
       IPC$            IPC       IPC Service (Disk Station)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.2.8]

       Server               Comment
       ---------            -------
       DISKSTATION          Disk Station

       Workgroup            Master
       ---------            -------
       WORKGROUP            

or maybe not quite cs calling the server by name doesnt work
ragupo@siductionbox:~$ smbclient -L diskstation
Enter ragupo's password:
Connection to diskstation failed (Error NT_STATUS_UNSUCCESSFUL)

Anyone got any ideas as to what i might have done wrong?
Title: Samba
Post by: Gabriel_M on 2013/07/08, 02:17:57
Edit /etc/samba/smb.conf as root and add the following line to the [global] section:

name resolve order = bcast host lmhosts wins
Title: Samba
Post by: ragupo on 2013/07/09, 01:40:44
That line was all-ready in my /etc/samba/smb.conf.
The order was slightly different, but changing it didn't help
Title: Samba
Post by: dieres on 2013/07/09, 10:39:45
Whats about your network config? Do you have a DHCP Server on the LAN? Is it your NAS? Usually 192.168.xx adresses are used.
10.0.0.x is often used if i run a virtual machine in NAT mode and not in bridged mode.
You could try to edit your /etc/hosts and add a line for your Nas

10.0.0.3  mynasname

If your NAS has wins server funktion enabled you can try

wins server =10.0.0.3
in your smb.conf.