Forum Thread

NAS on TomatoUSB

helloha1 2,683 1,076 February 23, 2011 at 07:09 PM
I got a ASUS WL-500gp V2 router through a recent deal and have it set up as a bridge and connected to share a USB printer.

I was wondering how to set up a NAS on this? I have a flash drive formatted to FAT32 connected.

i followed the guide at:
http://www.society9.com/setting-u...ng-tomato/

I got until the point about telnet with no problems. Now I have no idea what to do. How do I use telnet?

my repeater (the ASUS)'s IP is 192.168.1.2
my main router's IP is 192.168.1.1
I'm running Windows 7.

Thanks!

12 Comments

1

Sign up for a Slickdeals account to remove this ad.

#2
Telnet is a command line program.
Start button - type "cmd" - Click Enter
In the black command box, type "Telnet 192.168.1.2"

IIRC, it is disabled by default in Windows 7. To enable:
Start button - Control Panel - Programs And Features - Turn Windows features on or off - Click Telnet Client

You DO NOT want to enable Telnet Server in your Windows 7 computer (Client is OK, but not need/risk for server).
Reply Helpful Comment? 0 0
Joined Nov 2009
L7: Teacher
2,683 Posts
1,076 Reputation
Original Poster
#3
when i do telnet 192.168.1.2 , i get the message "unknown login:"
i tried to put in my router's username and password, but I am unable to enter anything in the password slot.

what do I do?

I am connected via Wifi - do I have to be connected through ethernet?
Reply Helpful Comment? 0 0
Last edited by helloha1 February 23, 2011 at 07:58 PM
Joined Oct 2004
facebook = malware
12,296 Posts
4,912 Reputation
#4
If the bridge is working, and the USB printer is working, why is telnet relevant? You just need to use the tomato interface and enable sharing ( http://192.168.1.2/nas-samba.asp ). Enabling automatically creates a READ-ONLY file share at the root ( \\192.168.1.2\share ), you can add more shares if you like, READ ONLY or READ/WRITE.
Reply Helpful Comment? 0 0
Last edited by eibgrad February 23, 2011 at 10:05 PM
"That means that no matter how we reform health care, we will keep this promise to the American people: If you like your doctor, you will be able to keep your doctor, period. If you like your health care plan, you'll be able to keep your health care plan, period. No one will take it away, no matter what."
-- Barack Obama, speech to the AMA, June 15, 2009
Joined Mar 2004
L11: Monkey's Apprentice
17,199 Posts
2,789 Reputation
#5
eibgrad is correct, all NAS features should be accessible through the user interface.
Reply Helpful Comment? 0 0
Quote :
Reading comprehension isn't just for school children!
Joined Nov 2009
L7: Teacher
2,683 Posts
1,076 Reputation
Original Poster
#6
I got the NAS Working without a password. however, when I select the Authentication required setting and put in a user name and password, I am unable to access from my computers. How do I set this up? I want to password protect so when guests come and use my internet, they can't access my shared files.

Also, the drive shows up as UNKNOWN with 2 folders: disc 0_1 and share. How do I rename these? Thanks!
Reply Helpful Comment? 0 0
Joined Oct 2004
facebook = malware
12,296 Posts
4,912 Reputation
#7
UNKNOWN is probably because you didn't provide a volume name when you formatted the USB drive. You can either reformat it, or just rename it under Windows.
Reply Helpful Comment? 0 0
Joined Oct 2004
facebook = malware
12,296 Posts
4,912 Reputation
#8
Since I don't normally use authentication, it's not something I've even tried. But I just did right now and got the same error. The only way I got it to work was to NOT share at the partition level (/mnt) but AFTER the partition (/mnt/disc0_1). I know this is a little arcane, and may not make sense yet, but hear me out.

If you visit the USB Support page, near the bottom, you should see something similar to the following for any USB storage device:

Kingston DataTraveler 2.0
Partition 'disc0_1' vfat (1,967.97 MB) is mounted on /tmp/mnt/disc0_1

In my case, my USB flash drive only has one partition. If the USB flash drive had multiple partitions, they would be listed as well, and named disc0_2, disc0_3, etc.

Since I only have the one partition, I decided to change the Share Name "share" on the Samba File Sharing page from /mnt to /mnt/disc0_1 and make it READ/WRITE. So now when the share is established, I jump immediately to the folder level of that partition. In the process, that seems to have eliminated the problem w/ authentication. Not sure why. I'm guessing that maybe use of the default share mounting point was failing because authentication was being attempted at the partition level and not the folder level. By pushing the share mounting point past the partition and up to the folder level, authentication returned to the folder level.

Again, that's just a guess, but it worked.
Reply Helpful Comment? 0 0

Sign up for a Slickdeals account to remove this ad.

Joined Nov 2009
L7: Teacher
2,683 Posts
1,076 Reputation
Original Poster
#9
Quote from eibgrad View Post :
Since I don't normally use authentication, it's not something I've even tried. But I just did right now and got the same error. The only way I got it to work was to NOT share at the partition level (/mnt) but AFTER the partition (/mnt/disc0_1). I know this is a little arcane, and may not make sense yet, but hear me out.

If you visit the USB Support page, near the bottom, you should see something similar to the following for any USB storage device:

Kingston DataTraveler 2.0
Partition 'disc0_1' vfat (1,967.97 MB) is mounted on /tmp/mnt/disc0_1

In my case, my USB flash drive only has one partition. If the USB flash drive had multiple partitions, they would be listed as well, and named disc0_2, disc0_3, etc.

Since I only have the one partition, I decided to change the Share Name "share" on the Samba File Sharing page from /mnt to /mnt/disc0_1 and make it READ/WRITE. So now when the share is established, I jump immediately to the folder level of that partition. In the process, that seems to have eliminated the problem w/ authentication. Not sure why. I'm guessing that maybe use of the default share mounting point was failing because authentication was being attempted at the partition level and not the folder level. By pushing the share mounting point past the partition and up to the folder level, authentication returned to the folder level.

Again, that's just a guess, but it worked.
I did this, but when I select the drive and enter the user name and password I put into tomato, I keep getting "Logon Failure : unknown user name or bad password." Could the problem be with me using win7? The drive works fine when it isn't password protected...
Reply Helpful Comment? 0 0
Joined Oct 2004
facebook = malware
12,296 Posts
4,912 Reputation
#10
Quote from helloha1 View Post :
I did this, but when I select the drive and enter the user name and password I put into tomato, I keep getting "Logon Failure : unknown user name or bad password." Could the problem be with me using win7? The drive works fine when it isn't password protected...
Try the following (I had the same problem and this fixed it for me).

http://www.builderau.com.au/blogs...=339270746
Reply Helpful Comment? 0 0
Joined Nov 2009
L7: Teacher
2,683 Posts
1,076 Reputation
Original Poster
#11
Thank you SO MUCH eibgrad!!! I got it working!! I wish I could rep you more! and thanks to everyone else who helped to!
Reply Helpful Comment? 0 0
Joined Oct 2005
Cogito, ergo sum
1,167 Posts
153 Reputation
#12
Quote from helloha1 View Post :
when i do telnet 192.168.1.2 , i get the message "unknown login:"
i tried to put in my router's username and password, but I am unable to enter anything in the password slot.

what do I do?

I am connected via Wifi - do I have to be connected through ethernet?
Just to answer this question as I have been working on setting up NAS on my RT-N16...

From the CMD line after you telnet xxx.xxx.xxx.xxx the "unknown login" is root and the password is your password that you would use to login to the GUI interface.

For any technically inclined folks reading this, I am using the guide on the below link to install VPN and NAS on my RT-N16 using Tomato v1.28.9054 MIPSR2-beta K26. Is there any easier way or better, more intuitive guide available? Is there another version of Tomato that I would need to flash my router with?

http://tomatousb.org/tut:how-to-s...otal-noobs
Reply Helpful Comment? 0 0
Page 1 of 1
1
Join the Conversation
Add a Comment
 
Copyright 1999 - 2016. Slickdeals, LLC. All Rights Reserved. Copyright / Infringement Policy  •  Privacy Policy  •  Terms of Service  •  Acceptable Use Policy (Rules)  •  Interest-Based Ads
Link Copied to Clipboard