I have setup my Edimax NAS box with various users and I can see it from this machine when in Windows mode and from my wife's laptop, also in Windows.
Although I can see it from this machine in Linux mode using FTP and can send files to it, I can't seem to mount the thing.
I've been googling this morning and found the smbclient command. Using that, I can finally connect to it and can see that there are no files present - not entirely unexpected!
I get this from smbclient :-
[root@Epox chris]# smbclient -L storage_server Enter chris's password: Domain=[STORAGE_SERVER] OS=[Unix] Server=[Samba 3.0.20]
Sharename Type Comment --------- ---- ------- FTP_RAID_C Disk Linux Share Epox_Share Disk Windows XP Share Laptop_Share Disk Asus Laptop Share IPC$ IPC IPC Service (NAS SYSTEM) ADMIN$ IPC IPC Service (NAS SYSTEM) Domain=[STORAGE_SERVER] OS=[Unix] Server=[Samba 3.0.20]
Server Comment --------- -------
Workgroup Master --------- ------- MY.HOME MY.HOME WORKGROUP STORAGE_SERVER
I think I should now be able to mount the thing using the correct user, Mandriva and can do so like this :-
[root@Epox chris]# smbclient //storage_server/ftp_raid_c -U Mandriva Enter Mandriva's password: Domain=[STORAGE_SERVER] OS=[Unix] Server=[Samba 3.0.20] smb: > ls . D 0 Sun Nov 15 11:16:28 2 .. D 0 Sun Nov 15 11:16:28 2
58643 blocks of size 16777216. 47828 blocks available
But how do I transfer files from linux to the NAS box? I thought I would need to mount it but if I try smbmount, I'm told that the command doesn't exist. I'm using Mandriva btw.
I've also been trying to mount the thing using smbfs but have had no more luck using that. I get this message when I do :-
[root@Epox chris]# mount -t smbfs -o password=Mandriva //storage_server/ftp_raid_c /mnt/Edimax/ mount: wrong fs type, bad option, bad superblock on //storage_server/ftp_raid_c, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
Message from syslogd@Epox at Sun Nov 15 11:42:47 2009 ... Epox klogd: smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs
So I'm a bit stuck now. Can anybody help please?