![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2012
Device: Kindle
|
USBNetwork Issues
I've installed the USBNetwork hack on my kindle 3, and am having a small issue. I am using linux mint debian. The device presents itself as a network interface, but does not fully connect. Any ideas for what may be going wrong or what I can do to further investigate?
|
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2012
Device: Kindle
|
For future googlers: It will not finish autoconnecting, you must manually give it an IP by
ifconfig usb0 192.168.2.1 as it says in the guide, and I should have seen Last edited by samineru; 01-02-2012 at 06:14 AM. Reason: Whoops, wrong ip |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() Your instructions will not work on a Windows host PC, and they will not work on a linux host PC as shown above, and even with a non-conflicting IP address they will not work on ubuntu-based distros such as linux mint for more than about one minute. Manually setting the IP address (again) after the network manager has timed out will work, but is inconvenient. ![]() You cannot use the IP address 192.168.2.2 for the host PC as shown above, because it is already used by the kindle. You need some other IP address in that subnet. I suggest that you instead do: nmcli dev disconnect iface usb0 ifconfig usb0 192.168.2.1 The first command (nmcli) prevents the network manager installed in linux mint (and other ubuntu based distros) from resetting usb0 after it gives up trying to automatically set an IP address for usb0 (because the kindle is not running a dhcp server daemon). The result of NOT doing the nmcli command shown above is that your ssh session freezes about a minute after you connected the usb cable, when the network manager times out and resets usb0, which removes your manually set IP address. The second command manually assigns an IP address that is NOT already used by the kindle, but is within the same IP subnet. ![]() On a Windows host PC, you need to manually assigned an IP address of 192.168.2.1 and netmask of 255.255.255.0 in the TCP/IP(v4) properties for the RNDIS network device. ![]() You cannot have two or more Kindles connected to a host PC at the same time using the above methods because they will be assigned conflicting hardware MAC addresses and conflicting IP address. I wrote a script (mntusb) to run on a linux host PC that finds all of the attached kindles and automatically assigns them the correct unique IP address defined in each of their usbnet config files, and also assignes a unique hardware MAC address to them. Each usb port must use a different IP subnet (defined in the kindles and on the local host PC), as can be seen in the following post (which also contains the mntusb script): https://www.mobileread.com/forums/sho...sb#post1841893 ![]() Last edited by geekmaster; 01-02-2012 at 08:48 AM. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Jan 2012
Device: Kindle
|
Wow, thank you.
|
![]() |
![]() |
![]() |
Tags |
hack, kindle, usbnet, usbnetwork |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
Registration via usbnetwork with DX 2.5.7 | kukyakya | Amazon Kindle | 1 | 02-07-2011 08: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 |