You are not logged in.
Hey,
Today I bought a WRT160NL router, which has a USB-port to connect a network drive.
I placed a USB stick in it that is formatted as FAT32.
Following the manual, you should connect to the shared folder on this "drive" by entering the server-name (or Ip-address) of the server in the address-bar of your window-explorer.
Now since i'm in Arch, that's a little bit difficult for me.
How can I do this ?
I tried to mount it:
mount -t vfat :xxx.xxx.xxx.xxx/ /home/linksys
special device :xxx.xxx.xxx.xxx/ does not existI tried mount.cifs:
mount.cifs //xxx.xxx.xxx.xxx/ /home/linksys -o user=xxxxxx,pass=xxxxxx
=>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)Am I going at it the wrong way ? do I need to activate server deamons/programs ? is there another way to do this ?
Please bear with me, I'm totally new to anything relating to NAS and servers...
Thanks for the help!
Last edited by compaq615 (2010-06-08 19:56:21)
Offline
There's no way you can mount a vfat device over your network. At least, not that I know of. Only your documentation can tell how it works and what protocols you should use to get to the data. My bet would be SMB.
Even more important is which OSes Linksys is targeting with this 'feature'.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
The WRT160N is running embedded linux and utilizes a Samba server. It doesn't matter how the drive you connect to the WRT160N is formatted as long as you use a format it supports. It will then export the the disk using the CIFS (SMB) protocol, that you can access using client software.
See http://wiki.archlinux.org/index.php/Samba section for accessing Samba shares. There are many ways to access the shares so pick the one that works for you.
a very useful info command is:
smbclient -L \\xxx.xxx.xxx.xxx
add the '-N' option to perform the query anonymously
Offline
OK guys, thanks for the info.
I've got some other stuff going on now, but as soon as I have the time to try, I'll post back here with the results.
Offline
So I have been trying to get this going, but no luck, I always get:
session setup failed: NT_STATUS_LOGON_FAILUREI have been playing a bit with the /etc/samba/smb.conf file, I have installed SWAT, reading forums,...but I can't figure it out.
Also, all the forum entries in relation to Samba are for connecting to or from windows machines...but I'm connecting from a linux machine to a linux machine, where a "windows"-formatted hard-drive is connected.
Can somebody point me in the right direction ?
Thanks!
Offline
You probably need to look at using 'smbpasswd'
Offline
To work around,
I installed the DD-WRT firmware as discribed on http://wrt160nl.org/.
Now I can mount my USB drive (formatted as ext3), telnet, ftp, ...still haven't figured samba out, but the error messages are more verbose, so I'll figure this out at some point.
Offline