You are not logged in.

#1 2010-05-26 20:05:49

compaq615
Member
Registered: 2010-04-19
Posts: 11

[SOLVED] access USB with fat32 via "NAS" on Linksys WRT160NL wireless

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 exist

I 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

#2 2010-05-26 20:47:42

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] access USB with fat32 via "NAS" on Linksys WRT160NL wireless

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

#3 2010-05-27 00:01:38

premier
Member
Registered: 2006-12-07
Posts: 16

Re: [SOLVED] access USB with fat32 via "NAS" on Linksys WRT160NL wireless

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

#4 2010-05-27 17:25:59

compaq615
Member
Registered: 2010-04-19
Posts: 11

Re: [SOLVED] access USB with fat32 via "NAS" on Linksys WRT160NL wireless

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

#5 2010-05-30 15:46:10

compaq615
Member
Registered: 2010-04-19
Posts: 11

Re: [SOLVED] access USB with fat32 via "NAS" on Linksys WRT160NL wireless

So I have been trying to get this going, but no luck, I always get:

session setup failed: NT_STATUS_LOGON_FAILURE

I 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

#6 2010-06-05 00:58:25

premier
Member
Registered: 2006-12-07
Posts: 16

Re: [SOLVED] access USB with fat32 via "NAS" on Linksys WRT160NL wireless

You probably need to look at using 'smbpasswd'

Offline

#7 2010-06-08 19:55:50

compaq615
Member
Registered: 2010-04-19
Posts: 11

Re: [SOLVED] access USB with fat32 via "NAS" on Linksys WRT160NL wireless

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

Board footer

Powered by FluxBB