![]() |
N900 Terminal window on my PC
Ok, so another noob question, I have tried a quick search, but have been a bit rubbish at it.
I'm wondering if it is possible to connect to the N900 and access the terminal on my PC. I assume that this needs to be done via SSH, for which I use puTTy quite frequently on the PC for managing other devices, but obviously the N900 doesn't appear to do this out of the box. So, what I need to know is what do I need to do on my N900 to enable this (simple steps if possible, or point me to another post that explains it) |
Re: N900 Terminal window on my PC
Quote:
i use it with winscp alot :! |
Re: N900 Terminal window on my PC
Install Personal Home IP Widget on your N900
Install OpenSSH on N900. You will be promted to enter a password during installation. After that, you add the Personal Home IP Widget to your N900 Desktop and connect the N900 to your WiFi at home. The Personal Home IP Widget will show your IP address. Enter this IP address in PuTTY on your PC and you are good to go! WinSCP (to see all your N900 files on PC over WiFi) should work the same way! |
Re: N900 Terminal window on my PC
I have tried it with WinSCP server and client but was unable to connect all the time...
|
Re: N900 Terminal window on my PC
Quote:
However, this will not work very well because of the wifi power saving. To quickly test this, open a terminal in n900, become root and start pinging the pc you'll use to connect to it. One way to fix this is to completely disable power-saving for your home connection. A better solution is to use usb networking. This is described here. |
Re: N900 Terminal window on my PC
I used OpenSSH client and server...
Choos a password and same like WinSCP and PuTTY, Network error: connection time out |
Re: N900 Terminal window on my PC
Quote:
|
Re: N900 Terminal window on my PC
Quote:
|
Re: N900 Terminal window on my PC
Quote:
|
Re: N900 Terminal window on my PC
Quote:
I use my ip from cell and operator |
Re: N900 Terminal window on my PC
openssh and putty worked fine for me
but it will slow your phone down |
Re: N900 Terminal window on my PC
Quote:
Quote:
|
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. :( |
Re: N900 Terminal window on my PC
Ouch, that's a shame mate.
|
Re: N900 Terminal window on my PC
Quote:
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. |
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 |
Re: N900 Terminal window on my PC
Quote:
If it still drops on you, consider adding a flag to add TCP keepalives into the stream. |
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:
|
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 |
Re: N900 Terminal window on my PC
OpenSSH and PuTTY, dome the job perfectly for me
Thanks guys |
Re: N900 Terminal window on my PC
I've been following this thread as I'm having the same issue when I try to WinScp to my N900. The connection seems to get lost and times out. ssh rrot@localhost was working fine...
Checked my router status and both my Wnidows laptop and the N900 were there. My solution, although very old school was to ping the router from my N900 and leave it. At that point WinScp connected just fine. Kill the ping, WinScp could not connect and complained. Very odd, but I got it working. |
Re: N900 Terminal window on my PC
Don't feel bad about it. That's the way normal keep-alive is doing, with different time intervals.
|
Re: N900 Terminal window on my PC
My best solution is using WinSCP with USB Networking. (The Mad Developer package lets you do that very easily.)
For remote terminal, I use the app called Putty. |
Re: N900 Terminal window on my PC
Just made openssh work the way I wanted.
I made it NOT to load automatically, and create a script to start the service, wait for a keyboard input and then stop the server. So, when I want to connect, I have to go to the device, execute a program, go to the PC, connect and use it. When I'm done, I go to the n900 and press a key so it stops waiting for connections. I had a hard time finding out how to create a ".desktop" file in /usr/share/applications/hildonm, but eventually got it working. Venemo: I didn't know it is possible to use USB networking... it is better to save battery and no security concerns. I'll try it. |
Re: N900 Terminal window on my PC
Quote:
|
Re: N900 Terminal window on my PC
|
All times are GMT. The time now is 02:00. |
vBulletin® Version 3.8.8