Ftp server on USB need help

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
kt_haddock
DD-WRT Guru


Joined: 25 Dec 2009
Posts: 710

PostPosted: Tue Aug 31, 2010 20:05    Post subject: Ftp server on USB need help Reply with quote
I have USB stick on usb-port and mounted to /mnt.
Activated ProFTPD / NAS and allow write.
Set up two password user|space| password.
Everything is working BUT I cant login to router anymore. Is there anything I have forgotten to do or is it a bug maybe??



ASUS RT-N16 and 14929-big

kthaddock

_________________
[I prefer answere in whole sentence]


Last edited by kt_haddock on Tue Aug 31, 2010 21:03; edited 1 time in total
Sponsor
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11563
Location: Wherever the wind blows- North America

PostPosted: Tue Aug 31, 2010 20:09    Post subject: Re: Ftp server om USB need help Reply with quote
kt_haddock wrote:
I have USB stick on usb-port and mounted to /mnt.
Activated ProFTPD / NAS and allow write.
Set up two password user|space| password.
Everything is working BUT I cant login to router anymore. Is there anything I have forgotten to do or is it a bug maybe??



ASUS RT-N16 and 14929-big

kthaddock


Did you setup the new port for the web interface.

Code:
sleep 15
killall httpd
httpd -p 81 -h /www
httpd -p 82 -h /mnt


this makes the router accessible on port 81

exa. 192.168.1.1:81

redhawk

_________________
The only stupid question....is the unasked one.
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11563
Location: Wherever the wind blows- North America

PostPosted: Tue Aug 31, 2010 20:12    Post subject: Reply with quote
That is...if you setup the port forward rules.

port 80 now points to the NAS at port 82

port 81 now becomes the http port of the router.

redhawk

_________________
The only stupid question....is the unasked one.
kt_haddock
DD-WRT Guru


Joined: 25 Dec 2009
Posts: 710

PostPosted: Tue Aug 31, 2010 20:59    Post subject: Reply with quote
No I dident do that. Only in Web GUI set Port to: 1515
_________________
[I prefer answere in whole sentence]
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11563
Location: Wherever the wind blows- North America

PostPosted: Tue Aug 31, 2010 21:04    Post subject: Reply with quote
Then try this.

sleep 15
killall httpd
httpd -p 1515 -h /www


as a startup script.

How do you access NAS?....using port 21 only?

See if you can access it at

192.168.1.1:1515

redhawk

_________________
The only stupid question....is the unasked one.
kt_haddock
DD-WRT Guru


Joined: 25 Dec 2009
Posts: 710

PostPosted: Wed Sep 01, 2010 12:02    Post subject: Reply with quote
I'm using https to webgui over WAN.
If you set webgui port to 1515, is't on http(s) both?
ProFTPD on port 21, is there any other way to access that ?

Maby I'm unclear what i mean. Everything is working but when I'm testing to login to ex https://myname.mine.nu:1515 then my passord or username doen't work anymore. Tested with WinScp, telnet and ssh same thing !

_________________
[I prefer answere in whole sentence]
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11563
Location: Wherever the wind blows- North America

PostPosted: Wed Sep 01, 2010 12:04    Post subject: Reply with quote
did you setup your firewall rule to accept incoming connections from the port.

/usr/sbin/iptables -I INPUT 1 -p tcp --dport 1515 -j logaccept


You do know there is a wiki tut for setting up the server, right?
http://www.dd-wrt.com/wiki/index.php/ProFTPd_Server

redhawk

_________________
The only stupid question....is the unasked one.
kt_haddock
DD-WRT Guru


Joined: 25 Dec 2009
Posts: 710

PostPosted: Wed Sep 01, 2010 12:20    Post subject: Reply with quote
Yes i know about http://www.dd-wrt.com/wiki/index.php/ProFTPd_Server.

When I try to login I get the loging popup-screen and enter usr and pw login system says: wrong user or pw

I'm planing for now access throu PPTP - ftp://192.168.1.1
Allowing WAN FTP Access can wait for now

_________________
[I prefer answere in whole sentence]
kt_haddock
DD-WRT Guru


Joined: 25 Dec 2009
Posts: 710

PostPosted: Wed Sep 01, 2010 13:32    Post subject: Reply with quote
I have missed this:
It is wise to note that when this is done, your "root" username for super-user should be placed on the first line, followed by other user-names and passwords.

root|space|mypassword or myusername |space|mypassword <= this format you should use

_________________
[I prefer answere in whole sentence]
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum