07-21-2013, 03:43 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2013
Device: Kindle 4
|
usbnetwork problems
Moderator notice: these posts have originally been posted in the Kubrick thread, but were moved into an own thread because the discussion is off-topic there.
--ixtab Thaks a lot for all the work you put into it. I just used it to debrick my kindle 4 nt. Worked great! Except ... after debricking I can no longer ssh into the kindle - "connection refused" (used to work fine without any modifications before I bricked it). In diags - usbnet mode the Kindle registeres on lsusb as Bus 001 Device 019: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget And here is what I belive to be the problem: Nmap scan report for 192.168.15.244 Host is up (0.00017s latency). Not shown: 998 closed ports PORT STATE SERVICE 139/tcp open netbios-ssn 445/tcp open microsoft-ds I tried the usbNetwork hack from this site but this didnt change anything (visible?). Any sugestions on how to enable ssh/open the port? Thanks ta Last edited by ixtab; 07-21-2013 at 08:24 AM. |
07-21-2013, 05:01 AM | #2 | |||
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
First off, welcome to the forum... And - a reminder that you are posting in the wrong thread. You're having a problem with usbnetwork, not with Kubrick. So if you keep having trouble, please post in the usbnetwork thread instead. Anyway...
Quote:
Quote:
Quote:
|
|||
Advert | |
|
07-21-2013, 08:01 AM | #3 | ||||
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Quote:
Quote:
Note: This presumes that you have KUAL installed along with the USBnetwork control button.) Quote:
Note 2: If you are running devices on a 192.168.x.y network which use the general routing rules, these ptp rules will be tested first. I.E: If your (something) is already using 192.168.2.2 on your local network, the packets for that address will now go to the Kindle. (that address seems popular with router and modem manufacturers) Last edited by knc1; 07-21-2013 at 08:08 AM. |
||||
07-21-2013, 08:10 AM | #4 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Why? Not only are the chances of clashing with an existing home network on that subnet MUCH higher than for the 192.168.15.x one, but it also results in requiring different host configurations depending on whether the Kindle is in main or in diags mode: in diags, the Kindle ALWAYS uses 192.168.15.244 - why should that be different in main? |
|
07-21-2013, 08:15 AM | #5 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Not somebody who has probably read the readme or already changed the configuration file defaults. My post will "make it work" with the config file defaults as shipped. Which is the reason why I describe using Point-to-Point links rather than trying to route a sub-net. Once the O.P. learns about the advanced topic of "turn it on, turn it off" - then we can teach them to pick a better address pair. (192.168.2.x is a REALLY BAD CHOICE - I agree). PS: Why not move these posts to a new thread? Last edited by knc1; 07-21-2013 at 08:27 AM. |
|
Advert | |
|
07-21-2013, 08:26 AM | #6 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
|
07-21-2013, 08:54 AM | #7 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Super!
Nowhere in my USB/SSH "HowTo" posts did I describe how to change the configured address defaults. I guess I should tackle that topic also. Phooey! And I thought I was done writing about the USB/SSH/TelNet subject. Hmm... **My opinion** is that networked **devices** should be in the 169.254.0.0 (link local) reserved area. (But then we might still run into HP networked printers.) Will on this topic some more. Maybe a KUAL button that re-writes the USBnetworking configuration files? |
07-21-2013, 09:54 AM | #8 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2013
Device: Kindle 4
|
|
07-22-2013, 12:34 PM | #9 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Unfortunately, the K4 is using the same code tree as the K2/K3, so it inherited the same defaults we've been using for over four years... FWIW, since that's what I'm used to, I do the exact opposite on my K5/PW: I switch to 'old' default .
That said, I completely agree that on devices with a working USBNet in diags, it's stupid and confusing to use a different default in main. In fact, when I first read this, I though 'wait, I switched the default, didn't I?' But nope, that was on the K5 ˆˆ. There are already a couple of tweaks to the default config made during the install process specifically for the K4, so I could probably switch the default for new installs, it'll just make the doc potentially a bit more confusing. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
usbNetwork or terminal | damaru | Kindle Developer's Corner | 1 | 02-22-2012 07:57 PM |
usbnetwork | Aerus | Amazon Kindle | 2 | 06-18-2011 08:34 PM |
Need help on usbNetwork for K3G | everyday_kindle | Kindle Developer's Corner | 2 | 05-06-2011 09:00 AM |
usbNetwork on 2.5.3? | Gnewt | Kindle Developer's Corner | 2 | 07-12-2010 01:32 PM |
Hacks I want usbnetwork for 2.5.2 | al3bsi | Amazon Kindle | 4 | 06-18-2010 12:55 PM |