Can't log in to NSLU2/Meteohub with WinSCP

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
aco186
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Fri Mar 02, 2012 5:04 pm
Location: Ljubljana
Contact:

Can't log in to NSLU2/Meteohub with WinSCP

Post by aco186 »

Hi,

I installed WinSCP 6 months ago to upload files to Meteohub. It worked perfect. Yesterday I tried tu connect to Meteohub again, but could't come any further as
Searching for host....
Connecting to host...
and then
Host is not communicating for more than 15 seconds.

I beleive, that port setting, user name and password are correct, because I can rich Meteohub setup and see my Web page ( http://acover.webhop.net:7180/meteohtml ... le=Vergal1 ).

Any suggestions?

Thanks for your help.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Can't log in to NSLU2/Meteohub with WinSCP

Post by admin »

I guess you have it on a DHCP IP and the router changed IP for it.
Please shutdown (button on front) and restart unit and listen to IP beeps.
How to read them is explained here: http://wiki.meteohub.de/Setup_NSLU2#Read_the_Beeps
aco186
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Fri Mar 02, 2012 5:04 pm
Location: Ljubljana
Contact:

Re: Can't log in to NSLU2/Meteohub with WinSCP

Post by aco186 »

I can't shutdown and restart unit and listen to IP beeps because my Meteohub is 150 km avay, but I can access it remotely. I think that it has fixed IP.
Attachments
Router.jpg
Router.jpg (70.89 KiB) Viewed 5191 times
MetNet.jpg
MetNet.jpg (98.37 KiB) Viewed 5191 times
Meteohub.jpg
Meteohub.jpg (112.62 KiB) Viewed 5191 times
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re: Can't log in to NSLU2/Meteohub with WinSCP

Post by admin »

When you can reach it via browser you should also be able to reach it via SSH.
But this needs your router doing TCP/IP forward of port 22 to the Meteohub LAN IP.
This will need a forward rule in your router like:

protocol TCP
public port 2222
local port 22
local IP 192.168.1.180

now port 2222 is ready to take your shh requests.
aco186
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: Fri Mar 02, 2012 5:04 pm
Location: Ljubljana
Contact:

Re: Can't log in to NSLU2/Meteohub with WinSCP

Post by aco186 »

I changed router port 22 forwarding of both ports to Meteohub. Now I can see meteohub in WinSCP, but I lost access via browser.
urosh
Expert Boarder
Expert Boarder
Posts: 83
Joined: Wed Jul 30, 2008 10:12 am

Re: Can't log in to NSLU2/Meteohub with WinSCP

Post by urosh »

For web access you need port 80 and for ssh you need port 22. If you change one value to another, the other one will stop work. So use both. Or better use ssh only when you need it (disable it when not needed).

br, Uros
Post Reply