Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-10-2013, 06:48 AM   #1
rtzui
Junior Member
rtzui began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: Kindle 4 NT
Unhappy My Kindle Network does not work.

Hi.

I got at brand new Kindle 4. So far I installed the jailbreak, the kindlet jailbreak, the developer keys, KUAL and usbnetworking.

The latter thing does not work. My kindle seems to refuse any kind of network from outside.

I followed the usbnetwork instructions. On my host the lsusb displays
Code:
Bus 001 Device 052: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget
and the usbnetworkd status in the KUAL menu is enabled.

I do configure the networkinface with like

Code:
# ifconfig usb0 192.168.15.201
# ifconfig usb0
usb0      Link encap:Ethernet  HWaddr ee:49:00:00:00:00  
          inet addr:192.168.15.201  Bcast:192.168.15.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
But I can't ping the Kindle.

Code:
# ping 192.168.15.244
PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data.
From 192.168.15.201 icmp_seq=1 Destination Host Unreachable
From 192.168.15.201 icmp_seq=2 Destination Host Unreachable
From 192.168.15.201 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.15.244 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3000ms
pipe 4
# ssh 192.168.15.244
ssh: connect to host 192.168.15.244 port 22: No route to host



Same thing goes for the Wifi connection. I added my ssh public key to usbnet/etc/authorized_keys and enabled ssh over wifi via KULA. Pinging or sshing to the wifi ip address of the kindle does lead to the same results.


rtzui is offline   Reply With Quote
Old 09-10-2013, 07:06 AM   #2
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
In the "I configured ... "
You only set the interface address without specifying any routing.
Which is just fine, if your PC is already routing that interface network.

From the last message of: "connect to host 192.168.15.244 port 22: No route to host"
It is fairly obvious that your PC **is not** already routing that interface network.

Please post the output of:
ip route show

You should probably also confirm that the addresses you are using are correct for the K4.
knc1 is offline   Reply With Quote
Advert
Old 09-10-2013, 09:50 AM   #3
rtzui
Junior Member
rtzui began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: Kindle 4 NT
The output of ping says it's sending from 192.168.15.201, so that seems fine, just as the route.

Code:
#ip route show
default via 192.168.178.1 dev wlan0  proto static 
192.168.15.0/24 dev usb0  proto kernel  scope link  src 192.168.15.201 
192.168.178.0/24 dev wlan0  proto kernel  scope link  src 192.168.178.31  metric 2
/edit, what the hell? my routes are chaning. Now they are back to normal. And it does work.

/edit 2: Ok, it's all the fault of network-manager. I curse you!



Last edited by rtzui; 09-10-2013 at 10:05 AM.
rtzui is offline   Reply With Quote
Old 09-10-2013, 09:54 AM   #4
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
OK - so check the USBnetwork configuration file on the Kindle - see what address it has been set to.

and/or use nmap on the 192.168.15.0/24 sub-net to find it.
knc1 is offline   Reply With Quote
Old 09-10-2013, 10:07 AM   #5
rtzui
Junior Member
rtzui began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: Kindle 4 NT
Thank you very much, now it works. network-manager is being network-manager and destroying the network. Your post hinted to me my routes are constantly chaning.
rtzui is offline   Reply With Quote
Advert
Old 09-10-2013, 10:21 AM   #6
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
Got tired of that piece of #$%# software myself.
Hints: http://askubuntu.com/questions/24994...networkmanager

ifup/ifdown in the right places, along with the /etc/network/interfaces configuration file has been working just fine for years.
and still does if you take a big stick to NetworkManager.
knc1 is offline   Reply With Quote
Old 09-10-2013, 10:54 AM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
Yup, while NM is nice to have for some use cases (laptop/netbook/traveling/newbie), on a desktop/dev computer I firmly put it in the 'overkill & counterproductive/annoying' box .

(That said, I haven't used anything shipping NM for, err, quite a while, but given the number of issues we've had reported that could be traced back to NM...)
NiLuJe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle on Network Guest Accounts hn333 Amazon Kindle 0 09-15-2012 06:10 PM
Downloading to Kindle without wi-fi network or 3G Tarro Kindle Introduce Yourself 10 01-13-2012 02:02 PM
Hacks help! cant usb Network kindle 2 ylevite Amazon Kindle 0 08-17-2011 03:34 PM
Handle Network Drive as Kindle kranu Devices 3 03-08-2011 03:22 AM
USB network for Kindle 2 International jyavenard Kindle Developer's Corner 5 11-06-2009 12:20 AM


All times are GMT -4. The time now is 12:38 PM.


MobileRead.com is a privately owned, operated and funded community.