OpenWrt Forum Archive

Topic: Samba not working

The content of this topic has been archived on 7 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

HW             Asus WL-500g premium
Firmware    OpenWrt Kamikaze 7.09

Client         MS Vista (ultimate)


I tried to install and configure samba with these instructions

http://wl700g.homelinux.net/drupal/?q=b … t/html/145

but everytime i try to login to the server i get this error:

"192.168.1.1" is not set up to establish a connection on port "File and printer sharing (SMB) with this computer"


What's the problem ?

Samba is up and running.. but i just can't log in.

CONF FILE

[Global]
workgroup = WORKGROUP
netbios name = Kamikaze7.09
server string = Kamikaze Samba Server
name resolve order = lmhosts hosts bcast

# %m creates a log for each machine logging in.
# % be sure to have the log path is created and wit hwrite permissions
log file = /opt/var/log/samba/log.%m
max log size = 1000
syslog = 0

#should not go higher than 2 or 3 for performance
log level = 1
security = user
encrypt passwords = true
passdb backend = tdbsam

#will allow everyone on local lan (192.168.1.1-192.168.1.255) deny everyone else
hosts allow = 127.0.0.1 192.168.1.
hosts deny = 0.0.0.0/0

# this disables printer service
printcap name = /dev/null
load printers = no
printing = bsd

[HDD]
comment = HDD
path = /usb/sambashare
browseable = yes
public = yes
guest ok = yes
create mask = 0777
directory mask = 0777
writeable = yes

Yeah, samba3 also isn't working for me. For that I ended up with buying a commercial NAS.

Is the port open for samba?
Open it using iptables.

The discussion might have continued from here.