maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Help me!! my PC can't connect to my N900 (https://talk.maemo.org/showthread.php?t=74298)

snake2570 2011-06-24 04:42

Help me!! my PC can't connect to my N900
 
Well
My PC can't use WinSCP connect to N900, when I click the ''Login'' buttom, the window just turn to totally blank, and it say '' Network Error [ connect time out ] " and I ping my N900's IP, it just display '' Request timed out '' , so I guess it must be something wrong with my internet?? What should I do??? plz help me:(:(
http://farm3.static.flickr.com/2714/...8e93b184bf.jpg

jedi 2011-06-24 07:18

Re: Help me!! my PC can't connect to my N900
 
Sounds like your N900 isn't connected to your LAN/WiFi, or you have the IP address wrong.

Try installing the 'personal-ip-address' widget which will display your IP on your desktop, then you can easily see where you should be connecting to.

JonWW 2011-06-24 07:48

Re: Help me!! my PC can't connect to my N900
 
Did it ever work? You didn't say.
  • Reboot your phone, PC & router.
  • Setup a static IP address on your router for your phone.
  • As 'root' ping the PC from your phone.
  • If you have a firewall on your PC. Allow access for WinSCP and ping.

snake2570 2011-06-24 12:56

Re: Help me!! my PC can't connect to my N900
 
no, whatever I do, it just no work...
It's my router settings blocked my SSH??

jedi 2011-06-24 13:16

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by snake2570 (Post 1038053)
no, whatever I do, it just no work...
It's my router settings blocked my SSH??

Are you here for help? Then you're gonna have to give details, and read/answer the above two posts.

abubakar 2011-06-24 13:33

Re: Help me!! my PC can't connect to my N900
 
You can get your n900 ip from the terminal by typing "ifconfig" if "root" is installed or through the ip widget as mentioned above. I have never used winscp, cygwin on windows is just fine. Or for best results (if you must use windows) try a vmware image of any latest linux distro.

Its all a ip related matter I think.

jedi 2011-06-24 13:35

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by abubakar (Post 1038078)
You can get your n900 ip from the terminal by typing "ifconfig" if "root" is installed or through the ip widget as mentioned above. I have never used winscp, cygwin on windows is just fine. Or for best results (if you must use windows) try a vmware image of any latest linux distro.

Its all a ip related matter I think.

You don't need rootsh installed to discover your ip address - you can run ifconfig as the standard user:
Code:

$ /sbin/ifconfig
I didn't initially mention using ifconfig as it's 'too verbose' - ie it might confuse the hell out of people.

And yes, this is most definitely an IP related issue.

nicholes 2011-06-24 14:17

Re: Help me!! my PC can't connect to my N900
 
it looks like this man is not worried about him self (by not giving sufficient detail) as compare to others LOL

figaro 2011-06-24 14:34

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by snake2570 (Post 1037865)
Well
My PC can't use WinSCP connect to N900, when I click the ''Login'' buttom, the window just turn to totally blank, and it say '' Network Error [ connect time out ] "

First thing first. Have you installed OpenSSH or FTP server on your N900?

Quote:

Originally Posted by snake2570 (Post 1037865)
and I ping my N900's IP, it just display '' Request timed out '' , so I guess it must be something wrong with my internet?? What should I do??? plz help me:(:(

The N900 cannot pinged from outside. At least, mine can't, but I can still SSH to it

jedi 2011-06-24 15:49

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by figaro (Post 1038129)
First thing first. Have you installed OpenSSH or FTP server on your N900?

There's no requirment to do this first. If TCPIP isn't working then your SSH/FTP server isn't going to work either.


Quote:

Originally Posted by figaro (Post 1038129)
The N900 cannot pinged from outside. At least, mine can't, but I can still SSH to it

Miine answers a ping no problem...

figaro 2011-06-24 16:11

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by jedi (Post 1038178)
There's no requirment to do this first. If TCPIP isn't working then your SSH/FTP server isn't going to work either.



Miine answers a ping no problem...

How can you be so sure it's connection problem when the OP hasn't even posted anything new?

I was giving another option since it happened to me once.
I've set the IP for both end, and before I even try to SSH to N900, I tried pinging but to fail. Turns out the N900 doesn't answer to ICMP request since I can just SSH to it perfectly.
Also if my memory serves well, I believe FTP server and SSH server are not installed by default on N900. So if the OP hasn't installed them, then it's not going to work either.

If SSH/FTP server isn't working, even if your TCPIP is working, by the end it isn't going to work either.

jedi 2011-06-24 16:28

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by figaro (Post 1038194)
How can you be so sure it's connection problem when the OP hasn't even posted anything new?

I was giving another option since it happened to me once.
I've set the IP for both end, and before I even try to SSH to N900, I tried pinging but to fail. Turns out the N900 doesn't answer to ICMP request since I can just SSH to it perfectly.
Also if my memory serves well, I believe FTP server and SSH server are not installed by default on N900. So if the OP hasn't installed them, then it's not going to work either.

If SSH/FTP server isn't working, even if your TCPIP is working, by the end it isn't going to work either.

Its a connection problem as the OP stated. The IP address will help us alot in deducing if its on a LAN/3g etc.

figaro 2011-06-24 16:41

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by jedi (Post 1038214)
Its a connection problem as the OP stated. The IP address will help us alot in deducing if its on a LAN/3g etc.

Ah, got it. Apparently you're right. It's connection issue. Skipped this part here from the OP's first post

Quote:

Originally Posted by snake2570 (Post 1037865)
and it say '' Network Error [ connect time out ] "


abubakar 2011-06-24 18:02

Re: Help me!! my PC can't connect to my N900
 
@figaro if he cant ping the device, chances are that he cant ssh into it, since we kknnow that you can ping n900. Now there are certain conditions in which you maybe able to ping your PC on the network from N900, but not the otherway round. For example, on my work network, n900 gets assigned the ip 192.168.2.* .. while my PC there has the IP 192.168.1,*. I dont know why this happens, but it does. And i cant ssh in this case to my n900. On the otherhand, my home network assigns ips to everything in the range 192.168.1.*. And everything can ping everything and ssh or whatever is allowed by the devices. The fact that he is unable to ping n900, provided that he has no special software installed on n900 that is blocking the ping, he wont be able to ssh. In this scenerio getting the ping stuff goin is necessary.

Just to confirm, the ping from my home pc to my n900 connected on wifi to the same network is working just fine.

figaro 2011-06-24 18:30

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by abubakar (Post 1038274)
@figaro if he cant ping the device, chances are that he cant ssh into it, since we kknnow that you can ping n900.

oh geez.. is it still not clear?
MINE CAN'T...MINE CAN'T.... MINE CAN'T.... DUNNO WHY

long answer:
both using 192.168.2.XXX, on my device the N900 can ping to PC but the PC can't ping to the phone. but I can just ssh to my N900 perfectly. go figure
I just skipped the OP post for the WinSCP error message so I offer another possible solution, but as Jedi has pointed it out in earlier replies big chances that it might be the issue with the connection

snake2570 2011-06-25 10:47

Re: Help me!! my PC can't connect to my N900
 
I have installed OpenSSH Client / Server already. I'm sure the IP address is right, and every settings or value something you guys mentioned is OK (like ping), but it just no work...

jedi 2011-06-25 15:36

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by snake2570 (Post 1038712)
I have installed OpenSSH Client / Server already. I'm sure the IP address is right, and every settings or value something you guys mentioned is OK (like ping), but it just no work...

If you can ping your N900, then make sure SSH server is running...
Code:

ssh localhost
on your N900 should give you a login prompt.
If that works, then it sounds like a router/firewall issue.

snake2570 2011-06-25 17:35

Re: Help me!! my PC can't connect to my N900
 
To: jedi

It says

The authenticity of host 'localhost (127.0.0.1)' can't be establihed.
RSA key fingerprint is 0d:9e:63:c1:67:59:ac:d3:71:50:b8:1c:31:09:5:2c

so what should I do??

jedi 2011-06-25 18:08

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by snake2570 (Post 1038971)
To: jedi

It says

The authenticity of host 'localhost (127.0.0.1)' can't be establihed.
RSA key fingerprint is 0d:9e:63:c1:67:59:ac:d3:71:50:b8:1c:31:09:5:2c

so what should I do??

Thats OK - just ignore it. Your SSH server is working OK.

If you can ping it, then it's something to do with your PC or router.
What is the IP of your PC?
What O/S?
What firewall installed?
What is the IP your N900?
What router do you have, and have you triple checked you haven't got some restrictions/firewall enabled for your LAN?
Is your WiFi in a gust mode? (and therefore heavily restricted?). Is security (WEP or WPA) enabled?

snake2570 2011-06-25 22:43

Re: Help me!! my PC can't connect to my N900
 
PC IP : 192.168.11.5
O/S : Windows XP SP3
Firewall : none, and I turn off my PC's firewall already.
N900 IP : 192.168.11.6
Router : Buffalo WZR2-G300N, and I didn't see firewall or restrictions settings, gust mode?? what's that?? , my router security use WPA-PSK(TKIP).

jedi 2011-06-26 13:21

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by snake2570 (Post 1039099)
PC IP : 192.168.11.5
O/S : Windows XP SP3
Firewall : none, and I turn off my PC's firewall already.
N900 IP : 192.168.11.6
Router : Buffalo WZR2-G300N, and I didn't see firewall or restrictions settings, gust mode?? what's that?? , my router security use WPA-PSK(TKIP).

All that sounds OK, so I would double and triple check all the settings etc. In your original post your screenshot shows a different IP...

Oh and it was a typo - I meant guest mode. I've seen some routers which can do this, but heavily restrict the guests to port 80/443.

snake2570 2011-06-26 16:48

Re: Help me!! my PC can't connect to my N900
 
Quote:

Originally Posted by jedi (Post 1039402)
All that sounds OK, so I would double and triple check all the settings etc. In your original post your screenshot shows a different IP...

Oh and it was a typo - I meant guest mode. I've seen some routers which can do this, but heavily restrict the guests to port 80/443.

About that screenshot IP is wrong I know, that IP is old, I've changed that. So now my N900 IP is 192.168.11.6 .


All times are GMT. The time now is 11:08.

vBulletin® Version 3.8.8