Accessing USB drive in Windows 7


i0's

Network Guru
Member
Newb question, how do I access an attached USB drive on N66U flashed with Shibby v107 AIO in Windows?

My android phone can access it but cannot figure out how to on Windows 7. I see the USB drive in "USB support" and its mounted. And under File Sharing, I have enabled it.

Thanks!
 
Newb question, how do I access an attached USB drive on N66U flashed with Shibby v107 AIO in Windows?

My android phone can access it but cannot figure out how to on Windows 7. I see the USB drive in "USB support" and its mounted. And under File Sharing, I have enabled it.

Thanks!
under "Samba File Sharing", check both "master Browser" and "WINS Server".
Workgroup Name should be the same as win7
From win7, you should see it under network
 
start - run - type

\\router ip
getting this error:
34xi337.jpg


Btw, I typed in \\router ip. Same error when I type \\routerip

under "Samba File Sharing", check both "master Browser" and "WINS Server".
Workgroup Name should be the same as win7
From win7, you should see it under network

Both, master Browser" and "WINS Server" are checked and Workgroup Name is WORKGROUP (default) for both router and Windows 7.

Still cannot see in networks :(
 
did you click save. Re-saved and check.
note: tutorial url: http://tomatousb.org/tut:configure-windows-network-browsing

Thanks for the link, good info. Everything was configured as stated in the above link but, still cannot see the USB drive.
ipconfig /all shows:
DNS Servers . . . . . . . . . . . : 192.168.1.1
Primary WINS Server . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled

And the USB drive is formatted as NTFS if it matter.

Yes I did click save :), even reboot both router and win7 computers, still no luck.

Anyone?
Thanks!
 
I've enabled ftp for lan only so can access it using an ftp client or from windows 'file explorer' by typing in the address bar

Code:
ftp://192.168.1.1:2121/

2121 being the port number in my case, you can then find the usb inside the mnt folder

Once you've navigated to your usb drive you can create a shortcut to it for easy access on the desktop by dragging and dropping the link from the address bar.
 
Follow the instructions on post #3. To find out what the Workgroup name is, right click on computer, click on property and then scroll down to see workgroup. If you don't have a workgroup name, you may have to create one.
 
You need to give name to your router also, Basic->Identification. On network, you should see your router name. Clicking it will display your usb hard drives
 
BTW, because it's not apparent, the OP appears to have literally typed \\router ip and \\routerip into Start/Run (to open a Windows Explorer window). He did not appear to type \\192.168.1.1, which is what he should have typed (that's his router's IP address). The instructions given to the user made the assumption he could figure that out on his own -- this is often not the case. Welcome to why one has to be extra verbose these days.

You can also try from a Command Prompt the command net view \\192.168.1.1 to get a list of shares, if any.

The issue with accessing the router by its NetBIOS name is a separate issue. Start with seeing if you can access it by the UNC path \\192.168.1.1 and if you can, then the next step is to figure out the NetBIOS bits. This is often painful/tricky given how Samba works and how Windows behaves (the OS revision (XP, Vista, 7, 8, etc.) often matters greatly).
 
Follow the instructions on post #3. To find out what the Workgroup name is, right click on computer, click on property and then scroll down to see workgroup. If you don't have a workgroup name, you may have to create one.

workgroup name on both router and computer is: WORKGROUP

BTW, because it's not apparent, the OP appears to have literally typed \\router ip and \\routerip into Start/Run (to open a Windows Explorer window). He did not appear to type \\192.168.1.1, which is what he should have typed (that's his router's IP address). The instructions given to the user made the assumption he could figure that out on his own -- this is often not the case. Welcome to why one has to be extra verbose these days.

You can also try from a Command Prompt the command net view \\192.168.1.1 to get a list of shares, if any.

The issue with accessing the router by its NetBIOS name is a separate issue. Start with seeing if you can access it by the UNC path \\192.168.1.1 and if you can, then the next step is to figure out the NetBIOS bits. This is often painful/tricky given how Samba works and how Windows behaves (the OS revision (XP, Vista, 7, 8, etc.) often matters greatly).

Oh man do I feel silly :( ......., thanks for pointing that out

Well this is what I get:
C:\Users\admin>net view \\192.168.1.1
Shared resources at \\192.168.1.1

TomatoUSB

Share name Type Used as Comment

-------------------------------------------------------------------------------
Lexar Disk Lexar
The command completed successfully.

Yep that is the USB drive that I want to see/share in Windows 7.
 
Read everything I've written. Slowly. Do not skim.

Important piece of information: what you're configuring/using here is called a CIFS or SMB share (commonly called CIFS/SMB). It is not an FTP share. Understand the difference.

Okay, so the share is showing up. You can try to access it. Open Windows Explorer (not Internet Explorer) and enter as the drive/path name: \\192.168.1.1\Lexar

You should get a directory listing of the files on the drive. You may be prompted for authentication credentials, depending on how Samba on TomatoUSB is configured (I don't have familiarity with it on TomatoUSB, but I am very familiar with Samba). If you're not asked for any, great. If you are, it'll probably ask you for a username and a password -- you should enter whatever you configured in the "Samba File Sharing" GUI portion of the router. If you get an authentication error, you may also need to specify the username in this format: WORKGROUP\usernameyouchose.

If all that works, you should be able to use the Windows Explorer GUI to map that path to a drive letter (e.g. the Q: drive on your Windows machine will now refer to \\192.168.1.1\Lexar) -- and even restore it automatically upon reboot if you choose that. In the example page I just linked, the "Folder" is the UNC path, i.e. \\192.168.1.1\Lexar.

Here's another tutorial if the one from Microsoft isn't helpful; note that you will probably need to check the checkbox in the GUI called "Connect using different credentials", unless the credentials you configured in the "Samba File Sharing GUI" happen to match the exact username and password you use to log on to your Windows machine. If the "Domain" field that shows up when prompted for the Network Password is your local computer's name, use the username syntax I showed you above (\WORKGROUP\usernameyouchose). This is explained in the 2nd tutorial URL I linked.

I recommend you DO NOT check either the "Reconnect at logon" nor the "Remember my credentials" boxes until you are absolutely 100% certain that everything is working great (make sure you make some directories, files, save/delete, etc. first). After that, unmap the drive, then re-map it and check the checkboxes.

If you want to know how to do all of this from the command line on Windows (cmd.exe) I can explain how to do that as well (it's through the net use command).

Next, if you want to speed up the I/O rate (throughput) between your Windows machine and the share, read these 3 posts:

http://www.linksysinfo.org/index.php?threads/speeding-up-the-samba-by-30.52240/#post-223770
http://www.linksysinfo.org/index.php?threads/speeding-up-the-samba-by-30.52240/#post-223772
http://www.linksysinfo.org/index.php?threads/speeding-up-the-samba-by-30.52240/#post-223789

More specifically: adding use sendfile = no to the custom configuration portion. The Linux kernel TomatoUSB uses contains performance-related problems with sendfile() support; these have been fixed in a later kernel version, but the kernel cannot be upgraded else risk breaking compatibility with the wireless driver (which is not open-source).

Finally, be aware that the overall speed of the USB layer on these consumer routers is very very slow. There is nothing that can be done about this; these routers do not have separate USB ICs for offloading, most of the work is done within the SoC / at the CPU level.

Good luck.
 
Thanks koitsu, that worked beautifully!!!
Really appreciate you taking the time and energy to write up that in-dept informative post, cheers!!


PS: Sorry for the late reply, has an emergency.
 

Back
Top