Chris Walker wrote:
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?
RTFM !
I was looking for something along the lines of copy whereas I should have been looking for 'put' and using that, I can now log into a newly created xbox_share (for my xbox running xbmc) and the xbox can see and play the files on the tv.
Perhaps while I'm here and mentioning xbmc, I should thank Adam Bower who IIRC, suggested that I forget what I was intending to do with my xbox and install xbmc instead. Did that and now things are all coming together. Having the NAS is enabling me to tidy up all the various files that should have been on the xbox or on a proper server somewhere for that device. Moreover, SWMBO is happy that we don't have to gather round a computer screen to watch something.