![]() |
#1 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Dec 2012
Device: Kindle Touch (5.12)
|
Help installing Debian
Hello everyone:
I'm new at this forum (though I've been using it for various months now). I have been looking at posts which show you how to install a chrooted Debian environment on your Kindle and I thought I'd try it out. I've been following instructions on this page though http://www.turnkeylinux.org/blog/kindle-root . I have already jailbreaked my Kindle 5 Wifi, installed Usbnet, GUI Launcher and jbpatch. Then I created a virtual machine on Oracle VM VirtualBox on my Windows 7 64-bit Home Premium and ran a 32-bit Debian OS on it [the virtual machine]. After much fiddling about with the IP of my Kindle on the Windows Network and Sharing Center, I finally managed to ssh into my Kindle from Debian as root. I followed the instructions of obtaining the rsa and dss keys via dropbear, placed them into the corresponding files, exited usbnetwork mode, and using Notepad++ on windows, edited the config file to enable WIFI SSH. The thing is that when I try to ssh into my kindle through the Debian Root Terminal, I receive the connection has timed out error. I attempt the following IP's : Quote:
P.S. Before anybody asks, I've got some basic knowledge on Linux, but I'm not to sure of more complex stuff, such as "setting up a chrooted environment on a Kindle" |
|
![]() |
![]() |
![]() |
#2 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
what does your usbnet config file say...
[Kindle FAT root]/usbnet/etc/config Quote:
perhaps the networking thread is the best place of these questions and come back to this thread when you have debian specific issues...? : ) Hope that helps to be honest I connect via Wifi. ssh root@kindleWifiIP should at least get a whimper... Last edited by twobob; 12-29-2012 at 01:03 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Why not just use the most popular native ssh client for Windows, PuTTy rather than go through all of that virtual machine bother?
|
![]() |
![]() |
![]() |
#4 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
![]() |
![]() |
![]() |
#5 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |||
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Dec 2012
Device: Kindle Touch (5.12)
|
Quote:
Quote:
Quote:
Just in case, here's the config file: Code:
#!/bin/sh # # $Id: config 8742 2012-10-21 20:04:06Z NiLuJe $ # # WARNING: Take note that we're essentially a shell script, se we absolutely *MUST* use UNIX line endings! # WARNING: To avoid leaving your system in an undefined state, # do *NOT* modify this file while usb over ethernet is enabled! # (That means when the the auto enable feature is in use, too!) # Tweak this to your liking (IPv4 only, no hostname aliases) KINDLE_IP=192.168.15.244 # Allow SSH over WiFi # NOTE: If you set this to true, the SSHD *WILL* check your passwords! # Make sure you know your root password, or auth via shared keys! USE_WIFI="true" # Don't switch to Ethernet over USB, and only launch SSHD # NOTE: Make sure you're able to properly login over SSH before enabling this... # It's obviously only useful with WiFi devices, so leave to false on non-WiFi devices USE_WIFI_SSHD_ONLY="false" # Use OpenSSH instead of dropbear (somewhat faster login) # NOTE: OpenSSH *WILL* check your passwords! # Make sure you know your root password, or auth via shared keys! USE_OPENSSH="false" Last edited by vector-crumb; 12-29-2012 at 04:30 PM. |
|||
![]() |
![]() |
![]() |
#7 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
let me guess - you are trying to ssh to 192.168.15.244
rather then the IP in the setting page under ;711 ? what ip you actually connecting to? what commands exactly are you typing? Cheers. |
![]() |
![]() |
![]() |
#8 | ||
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Dec 2012
Device: Kindle Touch (5.12)
|
I was trying to ssh into 192.168.15.245, which was the ip that I had configured in Windows. Must I change the config file ip to that ip?
Quote:
Quote:
Code:
|
||
![]() |
![]() |
![]() |
#9 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
hmm... from 192.168.15.245 (or 244) to 192.168.1.160 requires you route the entire 192.168.0.0/16 address range.
I.E: A netmask of 255.255.0.0 for a /16 network. Most likely you are only using a 255.255.255.0 netmask (for a /24 network). |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Dec 2012
Device: Kindle Touch (5.12)
|
I'm using a netmask of 255.255.255.0, but I didn't really get what you meant by "/16" and "/24" networks...
|
![]() |
![]() |
![]() |
#11 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
16 and 24 refer the amount of subcomputers you can have.
the /16 would allow the range x.x.0.0 the /24 would allow x.x.x.0 its dull but well documented. |
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Dec 2012
Device: Kindle Touch (5.12)
|
Ok, so just to be clear, which netmask are you suggesting?
|
![]() |
![]() |
![]() |
#13 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Netmask == Those bits of the address which are all the same.
Netmask: and in bit notation: 255.000.000.000 /8 255.255.000.000 /16 255.255.255.000 /24 255.255.255.255 /32 Talking from 192.168.2.1 to 192.168.2.2 (for example) - the first three groups of 8 bits never change (the 192.168.2) - so a 255.255.255.0 netmask would work. Talking from 192.168.2.1 to 192.168.15.204 (for example) - only the first two groups of 8 bits never change (the 192.168) - so a 255.255.0.0 netmask would work. The above is the "old common usage" plus old and new syntax. The new common usage allows for the division at any bit boundary, not just at boundaries of 8 bits (which is shown above). Simple. The real fun doesn't start until you start using 128 bit network addresses (IPv6) rather than the old 32 bit network addresses (IPv4). ![]() GeekMaster is the only one here with enough Kindles to need IPv6 addressing in his workroom. Last edited by knc1; 12-31-2012 at 11:55 AM. |
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Dec 2012
Device: Kindle Touch (5.12)
|
So my best choice would be a /16 netmask, seeing as the possible IP's go up to 192.168.15.245? And in that case, after configuring the netmask as 255.255.0.0, what next? How would I go about connecting to my PC?
|
![]() |
![]() |
![]() |
#15 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
how about just using a more "usual" networking arrangement?
i.e 192.168.1.something for both... See how you get on with that. Then make it more complicated... |
![]() |
![]() |
![]() |
Tags |
debian, kindle touch, usbnet |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing a "normal" Debian ARMEL Linux on the Kindle | choff | Kindle Developer's Corner | 18 | 09-09-2014 02:42 AM |
Unzip (debian) | twobob | Kindle Developer's Corner | 11 | 11-28-2012 01:07 PM |
Csound - Debian. | twobob | Kindle Developer's Corner | 15 | 11-14-2012 09:42 AM |
Installing in Debian Squeeze Command Line Only | drjonez | Devices | 2 | 08-23-2011 05:22 PM |
Debian 3.1 Released | Chaos | Lounge | 3 | 06-08-2005 09:01 AM |