OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: GuruGeek2002 on November 20, 2004, 08:51:27 am

Title: openSSH 3.6.1 connecting from PC times out
Post by: GuruGeek2002 on November 20, 2004, 08:51:27 am
Hello,

I've installed openSSH 3.6.1 on my Zaurus 6000L.  I've generated the key files.  When I type sshd to start the deamon, it returns a cursor.  No errors or warnings are displayed.

I launch putty on my pc, type in the ip number of my zaurus, choose ssh in putty and click on connect.  It never connects.  I always get a "connection timed out" error.

Is there something I'm missing with setting up openSSH on the Zaurus 6000L ?

Thanks,
Roger
Title: openSSH 3.6.1 connecting from PC times out
Post by: lardman on November 21, 2004, 06:09:36 am
Check connection settings: Can you ping both ways? Have you set a manual IP address on the PC (rather than it setting its own), etc.


Si
Title: openSSH 3.6.1 connecting from PC times out
Post by: GuruGeek2002 on November 21, 2004, 08:32:42 am
Can I ping both ways?....

The PC can load pages in a browser.  The Zaurus is online and can load pages.  I can type ping www.yahoo.com and they both return data.  

It just seems that the sshd on the zaurus is not responding to any requests....
Title: openSSH 3.6.1 connecting from PC times out
Post by: aki on November 21, 2004, 11:47:27 am
Being able to load pages on a browser does not ensure you have the right IP address or that the PC can access it.
You can start by verifing the Zaurus IP address by typing "ifconfig" on a terminal window.
Then ping the Z using the IP address you just verified to ensure the PC has a route to it.
Title: openSSH 3.6.1 connecting from PC times out
Post by: GuruGeek2002 on November 21, 2004, 12:03:14 pm
Yes, I run ifconfig and I get the ip number.

I open a browser on my desktop and type the ip number.  

I get the html page that I created on the zaurus and stored in the proper directory.

I can also pull up via the desktop pc, the php info page I created and store on the zaurus.



Using ping is different then typing an IP address in a browser and getting a page rather then "Server not found" message?

Thanks,
Roger
Title: openSSH 3.6.1 connecting from PC times out
Post by: GuruGeek2002 on November 22, 2004, 09:03:51 am
I've just tested the ping.

I am able to ping the Z from my desktop.

Still am unable to get ssh to connect, it's timing out.
Title: openSSH 3.6.1 connecting from PC times out
Post by: GuruGeek2002 on November 22, 2004, 09:12:11 am
SOLVED!!!!!

This morning, for some reason, I'm able to login.

This time I went into /usr/sbin

and typed sshd and it returned a cursor.

Went to the desktop and used putty and I'm able to get in!!

Thanks for all the help!!!!!!
Title: openSSH 3.6.1 connecting from PC times out
Post by: dhns on November 22, 2004, 10:40:37 am
sshd should start automatically when requested first.

So it looks like inetd or some similar service is not initialized/configured properly. This should be done by the postinst script of the .ipk.

What I can recommend to try is to manually install openssh and look for installation error messages. On Zaurus do:

# cd <directory where openssh.ipk resides>
# ipkg install openssh.ipk

-- hns
Title: openSSH 3.6.1 connecting from PC times out
Post by: GuruGeek2002 on November 23, 2004, 12:33:02 pm
I think I may have found the issue...

Here at work, once you connect via wi-fi you MUST open a browser and authenticate via the company portal.  If you are not authenticated, your machine is blocked from transmitting or receiving data.

Today I was unable to login via ssh.  Once I authenticated via the web portal, I was able to login via ssh.

Sorry if this caused confusion.  I should have had a better understanding of my own environment...

Thanks,
Roger