DD-WRT Samba support

4 posts / 0 new
Last post
Kevin Mahoney
Kevin Mahoney's picture
DD-WRT Samba support

I've installed Samba2 on my WNR3500L running the latest DD-WRT version. After some struggle I was able to connect to it from the router itself using the command:

"smbclient -U root //wrouter/share"

 Next I moved on to my Ubuntu desktop. I cannot see the share in  "Network/Windows Network/Home/" so I tried the command above with no success. I then replaced the server name with its IP address:

"smbclient -U root //"

This got me a little further. I received the error:

"Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled"

 For which I found the solution is to add the following lines to /etc/samba/smb.conf

client lanman auth = Yes

lanman auth = Yes

After which I could successfully connect to the share. I edited my /etc/fstab file to automount the share at boot and this was successful as well. 


So here is the 5 million dollar question......

Why can't I see the server/share in Nautalis. I also cannot see it from my Windows laptop or directly connect to it from a command line?


puTTY's picture
What does the share look like

What does the share look like in your smb.conf?

I'm guessing it needs to have a line like this in order to show up
browseable = Yes

Also - from windows command line what do you get when you use
net view (or your router's ip)

Kevin Mahoney
Kevin Mahoney's picture
Its not that I cannot see the

Its not that I cannot see the share...I cannot see the entire server for some reason.

Output of net view

Shared resources at

Samba Optware Server

Share name Type Used as Comment

root Disk Home Directories
share Disk X:
tmp Disk Temporary file space
www Disk HTTP server files
The command completed successfully.

Contents of smb.conf:
# Samba config file created using SWAT
# from laptop.HOME (
# Date: 2010/02/17 04:32:13

# Global parameters
workgroup = HOME
netbios name = WROUTER
server string = Samba Optware Server
security = SHARE
encrypt passwords = Yes
log file = /opt/var/log/samba/log.%m
max log size = 50
load printers = No
os level = 50
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
hosts allow =

comment = Home Directories
read only = No
browseable = No

comment = All Printers
path = /opt/var/spool/samba
printable = Yes
browseable = No

comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes

comment = HTTP server files
path = /opt/share/www
read only = No
guest ok = Yes

path = /mnt
read only = No


zzonko's picture
How do I access the USB stick

How do I access the USB stick share from the internet? I can FTP in locally but cant figure out how to from my WAN side.


dd-wrt kong edition