maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 Terminal window on my PC (https://talk.maemo.org/showthread.php?t=45263)

CharlesM 2010-02-21 11:07

Re: N900 Terminal window on my PC
 
openssh and putty worked fine for me
but it will slow your phone down

hqh 2010-02-21 11:16

Re: N900 Terminal window on my PC
 
Quote:

Originally Posted by rolan900d (Post 539050)
On cellular service...
I use my ip from cell and operator

Some operators block incoming connections.

Quote:

Originally Posted by CharlesM (Post 539519)
but it will slow your phone down

I don't think that's the case (unless you're doing some heavy file transfers). Care to explain?

pennywise 2010-02-21 17:27

Re: N900 Terminal window on my PC
 
installed openssh client and server.
could not connect using WinSCP.

tried to ping from pc to n900, failed as well.
mhh.

opened shell on n900, ping to pc: 100% fine.

mhh, pinged from pc to n900 again, now also 100% ok.
WinSCP now also would conect fine.

tried several times and could replicate each time.
cannot ping from pc to n900 until i ping pc from n900 first.
any clues on how to solved this?

then bumped my phone from the desk and it dropped 1m. result: screen broke and need a replacement. :(

DanielMartin 2010-02-21 17:33

Re: N900 Terminal window on my PC
 
Ouch, that's a shame mate.

v13 2010-02-21 18:28

Re: N900 Terminal window on my PC
 
Quote:

Originally Posted by pennywise (Post 539840)
mhh, pinged from pc to n900 again, now also 100% ok.
WinSCP now also would conect fine.

tried several times and could replicate each time.
cannot ping from pc to n900 until i ping pc from n900 first.
any clues on how to solved this?

WTF? Are you people blind or bored?

I've already answered your question 8 replies ago and already pointed to that question 5 replies ago. Just read the fine thread from the beginning.

propelli 2010-02-21 18:47

Re: N900 Terminal window on my PC
 
Maybe you could try to open a reverse tunnel from n900 to laptops ssh server.

on n900 do:

ssh -R localhost:3333:localhost:22 someuser@server.ip

on laptop do:

ssh -p 3333 root@localhost

works fine with openssh server at both ends (laptop and n900)

propelli

Alan_Peery 2010-02-21 19:44

Re: N900 Terminal window on my PC
 
Quote:

Originally Posted by propelli (Post 539923)
Maybe you could try to open a reverse tunnel from n900 to laptops ssh server.

That's a good thought. Initiating the connection from the N900 should keep the network up, or at least restart it.

If it still drops on you, consider adding a flag to add TCP keepalives into the stream.

pennywise 2010-02-21 22:20

Re: N900 Terminal window on my PC
 
not blind, little bored maybe.
but I guess you did not understand that i already had this power-saving off.

you "answered" my question, but still not gave a solution.
hence my question here.

if you say so, then I believe it works for some, but for me it didn't.


@propelli, its not that the connection is dropping.
I just cannot initiate telnet /ping from pc to n900.
one ping / telnet from n900 to pc and all later connections are fine.

@Alan_Peery
thats the whole issue, why do i need to initiate a connection /ping from N900 to an external device first?

both are already on the same network and general connection on devices is fine. browsing and mail work fine. even filetransfers from mounted shares work fine.
but unless i give 1 ping from n900 to pc first, all telnet or ping comms from PC to n900 fails.


Quote:

Originally Posted by v13 (Post 539906)
WTF? Are you people blind or bored?

I've already answered your question 8 replies ago and already pointed to that question 5 replies ago. Just read the fine thread from the beginning.


propelli 2010-02-22 06:28

Re: N900 Terminal window on my PC
 
Take a look at your wireless router: see if your n900 is listed as active dhcp client when you try to ping it from pc (without success). If it is not listed as active then ping from n900 and see if it then changes to active.

If you see the above behaviour on your wireless router, then your problem may have something to do with n900 powersavings : in order to save power the n900 drops active connections when they are not in use (this changes when you ping your pc from n900).

To fix this you might try the following setup:
Configure your wireless router's dhcp server to serve your n900 with a fixed lan ip address and then set your n900 "internet connections" to:
- connect automatically: any connection
- check the checkbox "Switch to wlan when available"

propelli

davidh101 2010-02-22 22:54

Re: N900 Terminal window on my PC
 
OpenSSH and PuTTY, dome the job perfectly for me

Thanks guys


All times are GMT. The time now is 02:01.

vBulletin® Version 3.8.8