maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   SSH Not Working (https://talk.maemo.org/showthread.php?t=55467)

azy141 2010-06-07 16:55

SSH Not Working
 
Since The Pr 1.2 Update I haven't Been Able To Connect To My N900 Via SSH. This is Quite An Annoying Issue For Me As It Makes Modding Themes And The Files In The Tablet Extremely easy.
I'm Running Windows 7 And Connected Through Lan. my Router Is A Netgear Dg834GT And I Used To Use Winscp To Connect To The N900.

I Hope You Can Help Me As I Really Wanted To Mod My Theme And Make It Feel Comfortable

acvetkov 2010-06-07 16:57

Re: SSH Not Working
 
ps ax |grep ssh
on N900

what is the error displayed from the winscp?

azy141 2010-06-07 16:59

Re: SSH Not Working
 
Network Error. Network Is Unreachable

acvetkov 2010-06-07 17:00

Re: SSH Not Working
 
ps ax |grep ssh
on N900??
ping IP_address_of_N900
?

azy141 2010-06-07 17:05

Re: SSH Not Working
 
~ $ ps ax |grep ssh
675 root 3880 S /usr/sbin/sshd -D
3159 user 2092 S grep ssh
~ $

acvetkov 2010-06-07 17:15

Re: SSH Not Working
 
the ssh is fine, check your local network.

azy141 2010-06-07 17:17

Re: SSH Not Working
 
the pinging doesnt stop

acvetkov 2010-06-07 17:21

Re: SSH Not Working
 
please clarify what does mean "the pinging doesnt stop"

leetut 2010-06-07 17:25

Re: SSH Not Working
 
my phone changes ip addresses by 1 number occasionally, set a new account up, same as the last time you did it, and double check the phones ip, think its: use xterm, ifconfig
got a feeling this is your problem too!

azy141 2010-06-07 17:28

Re: SSH Not Working
 
http://www.flickr.com/photos/8432234@N08/4679495150/

acvetkov 2010-06-07 17:29

Re: SSH Not Working
 
0.1 is the router? ping n900 from the pc and vice-versa?

azy141 2010-06-07 17:30

Re: SSH Not Working
 
aww wonder why i did it 3 times and twice i did router
and once the phone/tablet

azy141 2010-06-07 17:33

Re: SSH Not Working
 
Quote:

Originally Posted by leetut (Post 703799)
my phone changes ip addresses by 1 number occasionally, set a new account up, same as the last time you did it, and double check the phones ip, think its: use xterm, ifconfig
got a feeling this is your problem too!

I Have The Ip Adress Widget So Im Sure I Have The Right Ip

acvetkov 2010-06-07 17:35

Re: SSH Not Working
 
Quote:

Originally Posted by azy141 (Post 703806)
aww wonder why i did it 3 times and twice i did router
and once the phone/tablet

I didin`t understand a thing.

Ping from:

pc >> n900
n900 >> pc

any firewalls? Restart ssh daemon.

azy141 2010-06-07 17:36

Re: SSH Not Working
 
okay i cant ping the n900 from my pc as it says
:\Users\Aaron>ping 192.168.0.3

Pinging 192.168.0.3 with 32 bytes of data:
Reply from 192.168.0.6: Destination host unreachable.
Reply from 192.168.0.6: Destination host unreachable.
Reply from 192.168.0.6: Destination host unreachable.
Reply from 192.168.0.6: Destination host unreachable.

Ping statistics for 192.168.0.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

acvetkov 2010-06-07 17:37

Re: SSH Not Working
 
Then check your firewall, check the settings of the router. Fix your LAN and then try again.

azy141 2010-06-07 17:39

Re: SSH Not Working
 
http://www.flickr.com/photos/8432234@N08/4679532544

azy141 2010-06-07 17:40

Re: SSH Not Working
 
But It Used To Work Before So How Can My Firewall Settings Change by Themselves but I'll Check Anyway

acvetkov 2010-06-07 17:44

Re: SSH Not Working
 
I smell AP isolation :)

Use some software to scan the ports on the N900 from the PC (dunno if there is nmap for windows)

azy141 2010-06-07 18:00

Re: SSH Not Working
 
I try Nmap And I get This


Starting Nmap 5.21 ( http://nmap.org ) at 2010-06-07 19:00 GMT Daylight Time

NSE: Loaded 36 scripts for scanning.

Initiating ARP Ping Scan at 19:00

Scanning 192.168.0.3 [1 port]

Completed ARP Ping Scan at 19:00, 0.52s elapsed (1 total hosts)

Nmap scan report for 192.168.0.3 [host down]

Read data files from: C:\Program Files\Nmap

Nmap done: 1 IP address (0 hosts up) scanned in 3.45 seconds

Raw packets sent: 2 (84B) | Rcvd: 0 (0B)

BTW My Firewall Seems Fine

hellnick 2010-06-07 18:03

Re: SSH Not Working
 
Just to be sure, on the N900 type netstat -r

edt typo

azy141 2010-06-07 18:06

Re: SSH Not Working
 
http://www.flickr.com/photos/8432234@N08/4678983637/

BTW Thank You Sooooooo Much for Helping Me

azy141 2010-06-07 18:26

Re: SSH Not Working
 
http://www.flickr.com/photos/8432234@N08/4679667202/

sorry didnt notice you edited it

hellnick 2010-06-07 22:21

Re: SSH Not Working
 
Doesn't really sound like the problem is with the N900. Try rebooting your router and trying again. Consider temporarily disabling any software firewall running on the PC.

cpitchford 2010-06-07 22:27

Re: SSH Not Working
 
I recon your N900 is almost certainly going to sleep..

I get that a lot since PR1.2..

try leaving the keyboard open or plugging into the charger to prevent it deep sleeping.. when it sleeps you won't be able to ping it.. mine wakes up every now and again to check my imap email..

Just tried pinging it and it timed out.. but I know it works as I logged in a while ago..

azy141 2010-06-08 16:01

Re: SSH Not Working
 
Quote:

Originally Posted by hellnick (Post 704423)
Doesn't really sound like the problem is with the N900. Try rebooting your router and trying again. Consider temporarily disabling any software firewall running on the PC.

Feel So Stupid That Did It Thank You!!!


All times are GMT. The time now is 07:10.

vBulletin® Version 3.8.8