DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-02-25 17:47:33

switch10
Member
Registered: 2010-02-25
Posts: 27

mounting 323 on startup...

Hi,
I just bought a DLink 323.  I am running Ubuntu 9.10.  I have fun_plug installed and ssh enabled, and it works great. 

I am having trouble mounting the NAS to an actual location (i.e. /mnt/dlink)  I've added the following line to /etc/fstab

Code:

 //192.168.1.106/mnt/HD_a2/ /mnt/dlink smbfs username=root,password=<MY PASSWORD>,uid=1000,gid=120 0 0

when I run

Code:

 sudo mount -a

i get

Code:

 retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Any ideas?

Thanks a lot,

Dave

Last edited by switch10 (2010-02-25 17:48:06)

Offline

 

#2 2010-02-26 05:25:05

Mektub
Member
From: Lisbon / Portugal
Registered: 2007-04-19
Posts: 14

Re: mounting 323 on startup...

switch10,

I don't think that your entry in the fstab is correct. In my case I have:

Code:

//dlink323/Volume_1             /dlink1         cifs    noauto,user=WORKGROUP_NAME/UserName%PASS
//dlink323/Volume_2             /dlink2         cifs    noauto,user=WORKGROUP_NAME/UserName%PASS

dlink323 could be the IP, in my case DNS resolves it to the IP (or have it on /etc/hosts)
WORKGROUP_NAME is my workgroup name
UserName and PASS are of course my username and password
Mount type is cifs, not smbfs. I am using ARCH Linux, not Ubuntu.
The names Volume1 and Volume2 where found by executing 'smbtree -N' (smbtree comes with my samba package).

Output of smbtree -N is:

Code:

\\DLINK-323              DNS-323
        \\DLINK-323\IPC$               IPC Service (DNS-323)
        \\DLINK-323\Volume_2           
        \\DLINK-323\Volume_1           
        \\DLINK-323\lp                 USB Printer
        \\DLINK-323\web_page           Enter Our Web Page Setting
        \\DLINK-323\BT

I think important are the Volume1, 2, names, and the cifs parameter, be it that Ubuntu still uses smbfs, which is doubtful.

Mektub

PS: the Volume1, 2 names come from my configuration at /ffp/etc/smb.conf. I did this so long ago that had completely forgotten.

Last edited by Mektub (2010-02-26 05:39:50)

Offline

 

#3 2010-02-26 08:19:01

switch10
Member
Registered: 2010-02-25
Posts: 27

Re: mounting 323 on startup...

yes this fixed it.  Thanks. smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB