OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 507640.0
February 16, 2010 11:53 AM

Categories: Troubleshooting

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Kevin Mahoney

Member
Joined: 02/16/2010

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 //192.168.1.1/share"

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?

 Thanks!

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

February 16, 2010 2:17 PM updated: February 16, 2010 2:18 PM

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 192.168.1.1 (or your router's ip)

February 16, 2010 3:32 PM

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

Output of net view 192.168.1.1:

-----------------------------------------------------------------------
Shared resources at 192.168.1.1

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 (192.168.1.114)
# Date: 2010/02/17 04:32:13

# Global parameters
[global]
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 = 192.168.1.0/24

[homes]
comment = Home Directories
read only = No
browseable = No

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

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

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

[share]
path = /mnt
read only = No

-------------------------------------------------------------------------

October 5, 2010 4:43 PM updated: October 5, 2010 8:50 PM

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.

WNR3500l

dd-wrt kong edition

Discussion:    Add a Comment | Comments 1-3 of 3 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window