PDA

View Full Version : [ubuntu] Problem with D-Link DNS-323


Brain_of_J
July 28th, 2008, 11:43 PM
I am attempting to use a D-Link DNS 323 with Ubuntu 8.04.
For awhile I had been dual booting into Windows XP and Ubuntu 7 (Gibbon). I was able to connect to the NAS in both Windows and in Ubuntu. On occasion I would have issue connecting in Ubuntu but this usually occurred after the NAS had gone into power saving mode. A quick reboot would fix the issue. I had no troubles (relatively anyways for a few months)

I re-formated my PC after vacation and now only have 8.04 Hardy installed.
I'm unable to connect to the device at all. My router is showing good lights but i'm pretty well out of ideas as i'm fairly new to linux...

any help would be appreciated.

thank you.

fregger
September 6th, 2008, 11:14 AM
I am in the same boat as you. DNS-323 and I cannot connect to it with my ubuntu desktop. It worked one day perfectly and now no connection. Did you ever get it working?

itcave
November 4th, 2008, 09:38 PM
I have a very similar issue. I too have the D-link DNS-323 and I'm running Ubuntu 8.10. One day it was working fine, and the next nothing. Currently I can only connect to the unsecured folders. When I try to connect to a secured folder I get an error saying "Unable to mount location". Using the same user name and pass on windows xp I have no problem at all.

Please help!

OO-Dragon
November 19th, 2008, 10:50 PM
I have the same problem! It's really annoying...

cebesius
November 23rd, 2008, 08:15 PM
I ran into some problems connecting to my DNS-323 after upgrading (fresh install) to Ubuntu 8.10. It's much easier to troubleshoot this type of issue using the command line. Adapt this to suit your environment:
smbclient --debuglevel=1 //yourdns323/yourshare
If you know the IP address of your DNS-323, use it instead of its hostname, unless you know for certain that DNS will resolve its hostname to the correct IP address.
In my environment, that means I tried:
smbclient --debuglevel=1 //sanbox/volume_1
Enter cebesius's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.24]
Server not using user level security and no password supplied.
Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled
tree connect failed: SUCCESS - 0
Ubuntu 8.10 is trying to use a (more secure) form of authentication that the DNS-323 doesn't support. There is definitely more than one way to solve this.

One way is to hack your DNS-323 to have an updated Samba server which supports more secure types of authentication. This would probably void your warranty, and since I'm not going to try, I won't be covering it.

Another way is to contact D-Link and complain about the Samba on the DNS-323 until they release a firmware with a better version of Samba.

Another way is to make Ubuntu authenticate with your DNS-323 using the weak lanmanager style authentication that the DNS-323 expects. To make this work, I had to edit my samba configuration. Open it up for editing by doing:
gksu gedit /etc/samba/smb.conf
Find the [global] section, and insert this line:
client lanman auth = yes

Now try to connect. That solved it for me. Hopefully it will for you too.

kennyams
November 24th, 2008, 01:54 PM
Thanks, worked great for me.