Thread: SSH Help
View Single Post
Old 02-19-2012, 12:32 PM   #68
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by sjheiss View Post
Thank you for the explanation knc1. Sometimes I can get Telnet to work, but sometimes it just wants to give me errors all the time.

But, I had to uninstall Ubuntu since I couldn't boot into it anymore. Upon boot it said some partitions/drives were not ready or not responding, and to sip with S, except it had yet to load the drivers for my keyboard, so I couldn't press S.

So far I've tried Linux Mint and Ubuntu, and both wouldn't boot. Mint installed fine, but after 30 minutes, would freeze when I tried to boot into it. Now I'm thinking CentOS, for stability (hopefully more stability than I've experienced). Any suggestions for which distro to use would be appreciated.

Obviously if I'm going to learn to program for my Kindle than it'd be better to have a Linux OS on my computer; if only one would work!

I'm trying my best to learn how to use (embedded) Linux, since mobile devices have always been more alluring to me than desktops and laptops.
There seems to be a common thread in all of that, "hardware trouble" -
A failing disk drive would account for all that you mention above.

Rather than try to install a Linux distribution to this machine, why not run from a LiveCD or LiveDVD?
Those run in RAM (some support a persistent file), either boot from plastic or USB.
Since these releases run in RAM, they usually need at least 500Mbyte installed on your machine.
But, if something screws up - just power cycle the machine and start over.

There are hundreds of those things on the net to choose from, a good starter one is:
http://knopper.net/knoppix-mirrors/index-en.html

Edit:
Some of the links on that page are really out of date copies, if in the US, try this one:
http://ftp.linux.kiev.ua/pub/Linux/Knoppix/current/

Or any of the other links that have a "current/*.6.7.1.*" in their file tree.

You can fit the small (CD) version on a 4Gbyte usb stick with 3Gbyte of user filespace;
You can fit the large (DVD) version on a 8Gbyte usb stick with 3Gbyte of user filespace;
If your machine can't boot from USB (check your bios settings), then there is a "boot only" CD image that will let you use your cd drive to boot the system installed on USB stick.

That should elimenate any possible harddrive problems for the troubleshooting.

Now, the "connection refused" message -
Usually means that sshd (the server side) isn't running on the Kindle.

Try (dash double v):
ssh -vv where-ever
And post enough of the taling lines so we can see where it is failing at in the connection process.

Last edited by knc1; 02-19-2012 at 12:42 PM.
knc1 is offline   Reply With Quote