![]() |
K4NT not reachable by SSH
The recently got K4 is not reachable via SSH (192.168.15.244 refused connection from PuTTY).
I'm using the simplest "ENABLE_DIAGS" file to usable USBNet. Here are the diagnosis.
|
Quote:
192.168.15.1 is yourself. I made this mistake as well. Only 192.168.15.244 is the kindle. Also, I remember seeing that you have to set the IP address from your computer at 192.168.15.201 because that is the way diags is configured... |
Quote:
The combination of #1 and #2 does not equal the report of #3. nmap must have reported more than just what is written above. If 192.168.15.1 has port 22 open (sshd) try connecting to it. Find out if your talking to yourself or the Kindle. |
Thanks for the replies. Indeed I'm using Windows.
192.168.15.1 or 192.168.15.201 have the same results. 1. Both of them are actually myself, not the kindle. 2. 192.168.15.244 is reachable from ping. Logs of nmap: Code:
F:\doc>nmap 192.168.15.244/32Code:
Ethernet adapter Local Area Connection 2: |
I can't tell you anything more than what the reports already have said: sshd is not running on the Kindle.
Start sshd (known as Dropbear) on the Kindle. |
Does it mean that I need to use the flashing/dd partition procedures to copy/install sshd in the K4?
|
i followed the Gaining root access and Enable ssh access through wifi sections of the k4 wiki, worked perfectly. your post doesn't say exactly which steps you've taken, but the first link should hopefully get you connected via usb when in diagnostic mode, and the second (which includes copying dropbear from diagnostic to main) should get you connected via wifi when in normal (not diagnostic) mode.
|
Successfully flash the kindle to the 4.0 FW. My guess is that the new 4.1 version deletes the sshd. Thanks for pointing out the problems and the useful tips in the previous debricking threads, especially the thread about installing libusb in win7 64.
|
when i did mine, it had already updated to 4.1, i don't know what effect the update process would have had if it had already been hacked.
|
HOME > MENU > SETTINGS > type 711 (for a kindle 3)
Quote:
(I forget what the windows 7 cmd prompt looks like so I made it up, here) YourMachine: telnet (the ip from 711) 22 - so like telnet 192.168.1.244 22 you should get Trying 192.168.1.244... Connected to 192.168.1.244. Escape character is '^]'. This is just a sanity test that it IS actually there. Ping is blocked by default IIRC. and while this WON'T get you in via ssh at least you will know your not going mad. If that works you can confidently say "Well the port *is* open". A typical 3 iptables is below [root@kindle us]# clear && iptables --line-numbers -L -n -v Code:
Chain INPUT (policy DROP 3690 packets, 254K bytes)tail -f /var/log/messages has this to say about Settings 711 Code:
input=********* 1- Connection *********In essence if you can get into your device via USB perhaps you could dredge something from the guts to help you find out the issue. HTH. :\ |
There is something wrong in that 711 report -
Look at the DNS and Gateway addresses. Either: Hand edited to fake IP address ; The report is wrong ; The setup is wrong ; The value 257 can not be expressed in 8 bits, 0 ... 255 is all you can represent with only 8 bits. - - - - - The default policy of the input chain is "drop" - - If you do want telnet to always work, open port 23 (just like the entry made for port 22). If you want Samba and mod SMB to work, you will need to open at least port 445. Very likely you will have to open the netbios control ports also (137, 138, 139). Note: All of the assigned, common, ports are listed in your /etc/services file (Kindle, *nix, Windows (yes, even Windows has an etc directory), ...) Hmm... We built mod SMB but I don't recall seeing that we build the Samba application. More Buildroot diddling required or just build it outside of Buildroot with the cross tool chain? I would expect Samba to be cross-compile friendly. Some of my earlier postings where a bit confused about that, but we do need more than just the kernel module. |
I mungled to output. I put on obviously fake answers. I usually just go with 99.99.99.99 but I was feeling adventurous.
I'll look at the samba stuff now then. then your magic numbers binfrmt wangle. Best of luck with the ssh'ing OP!!! In my experience I would suggest you check your firewall settings in windows. EVEN BETTER: turn it off. : ) |
to get the 711 page on a k4, go to the settings page, then hold the keyboard button & press the right-side next-page button.
|
thanks dave. :)
|
welcome :)
|
| All times are GMT -4. The time now is 10:15 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.