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 04-24-2012, 09:41 PM   #16
ChrisKaos
Enthusiast
ChrisKaos began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
I'm afraid I only understood about six of those words..

But really, I don't understand most of what you're saying. I wouldn't say I'm a computer novice, but I am complete crap with the technical details and terms, as is probably obvious at this point.
ChrisKaos is offline   Reply With Quote
Old 04-24-2012, 11:28 PM   #17
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by ChrisKaos View Post
I'm afraid I only understood about six of those words..

But really, I don't understand most of what you're saying. I wouldn't say I'm a computer novice, but I am complete crap with the technical details and terms, as is probably obvious at this point.
If what you say is true, then you have a LOT of learning to catch up on before this forum will be useful to you.

Configuring a network is a trivial matter compared to most of what is discussed here.

At a very minimum, you need to learn the basic terminology that is the very foundation upon which this forum has grown, and which allows us to communicate technical ideas, so that you can understand the answers that we provide to your questions.

If you do not understand the basic terminology of networks and networking, then go learn it, or don't do it unless you have tools that automate and hide all the details for you. Those tools are not in these devices (such as a DHCP server).


Last edited by geekmaster; 04-24-2012 at 11:34 PM.
geekmaster is offline   Reply With Quote
Advert
Old 04-25-2012, 03:35 AM   #18
ChrisKaos
Enthusiast
ChrisKaos began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
I was being slightly hyperbolic. I know the basics of configuring a network and such things. I was speaking in general terms about not understanding. While I appreciate the help given, I did originally ask for a guide so I could follow along on my own without having to further bother people.

Now, my problem here is you've said that my computer's IP should correspond to the first three octets of the Kindle IP, i.e. 192.168.15.201 as you suggested. I can't use this, as my router's IP is 192.168.1.254 and it would not allow me to connect to the internet if I used the above IP, since the octets do not correspond to my routers.

Must I set a static IP each time I want to SSH into the device, and remove it when I want to connect to the internet? Surely a solution where I can be connected to my router and SSH into the device.

On the wiki, it says I can use Wifi to access the device, using the device IP I listed before. Wouldn't that be a more viable option?
ChrisKaos is offline   Reply With Quote
Old 04-25-2012, 07:25 AM   #19
JustAMan
Groupie
JustAMan doesn't litterJustAMan doesn't litter
 
JustAMan's Avatar
 
Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
There should be new network interface created when you plug your Kindle to the PC.
So when you go to network adapters you should see two of them. Then on the second one you edit your computer IP.
JustAMan is offline   Reply With Quote
Old 04-25-2012, 07:27 AM   #20
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
You need to read the intructions carefully that you get. As soon as you plug in a Kindle in USB network mode, a new network interface should show up on your PC. You need to set the IP address of that, not of your LAN or Wifi interface.

Please accept that we don't like to do hand-holding through every single step. Use Google and forum search when you encounter things unknown to you. Not wanting to annoy you, but it's a bit frustrating to put other people through this when they are simply not ready.
hawhill is offline   Reply With Quote
Advert
Old 04-25-2012, 07:54 AM   #21
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
Quote:
Originally Posted by ChrisKaos View Post
Now, my problem here is you've said that my computer's IP should correspond to the first three octets of the Kindle IP, i.e. 192.168.15.201 as you suggested. I can't use this, as my router's IP is 192.168.1.254 and it would not allow me to connect to the internet if I used the above IP, since the octets do not correspond to my routers.
You may set more than one IP address on a network interface, even under Windows.

Also note that the directions in this thread to "match the first three octets" is a "keep the directions simple" artifact, not a technical requirement.

Later, after you establish network communications between your kindle and a single machine, you will probably find you have to move your Kindle's IP address to the same sub-net your router is using if you want your Kindle to be able to access the internet.
But by that time you should know what needs to be changed, so don't worry about it now.

Note: The above "match the first three octets" to get Internet access through your router from the Kindle is to meet a likely restriction in your router's firmware.
Most consumer router's firmwares only do 8-bit routing tables.

Unless, of course, your router is also running Linux, a likely possibility.
But those directions would be really tossing you into the deep end of the pool, so stick with the directions given in this thread for now.
knc1 is offline   Reply With Quote
Old 04-25-2012, 08:41 AM   #22
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
knc1: we're talking about USB networking here. It's IP networking over a P2P interface. Of course it might be configurable on the Kindle, but it defaults to a certain IP address on the USB network interface and it _will_ have a netmask and route set. And it's very probably a /24 subnet (where /31 or for conservatives, /30 would have been sufficient). So for now, "match the first three octets" _is_ a technical requirement. The Kindle would not interface with addresses outside its network. You would need to set explicitly a new netmask or at least proper routes on the Kindle to overcome this.

That part where you write over moving the Kindle's IP address does not really make sense to me or is somewhat incomplete. Putting the Kindle in the right subnet isn't enough. It would also need a proper default route. Doesn't really make sense to me for USB networking, since you would also need to bridge your LAN to the USB network interface on the host PC. I don't see the point here, routing on the host PC would be sufficient.
hawhill is offline   Reply With Quote
Old 04-25-2012, 09:07 AM   #23
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
Quote:
Originally Posted by hawhill View Post
knc1: we're talking about USB networking here. It's IP networking over a P2P interface. Of course it might be configurable on the Kindle, but it defaults to a certain IP address on the USB network interface and it _will_ have a netmask and route set. And it's very probably a /24 subnet (where /31 or for conservatives, /30 would have been sufficient). So for now, "match the first three octets" _is_ a technical requirement. The Kindle would not interface with addresses outside its network. You would need to set explicitly a new netmask or at least proper routes on the Kindle to overcome this.
Ah, but I was writing of the non-Kindle end of the connection.
Which was where the apperant conflict in the quoted passage occured.

Quote:
Originally Posted by hawhill View Post
That part where you write over moving the Kindle's IP address does not really make sense to me or is somewhat incomplete. Putting the Kindle in the right subnet isn't enough. It would also need a proper default route. Doesn't really make sense to me for USB networking, since you would also need to bridge your LAN to the USB network interface on the host PC. I don't see the point here, routing on the host PC would be sufficient.
Of course it is incomplete.
The O.P. is already drowning in the shallow end of the pool.
Why toss more water in his face?
knc1 is offline   Reply With Quote
Old 04-25-2012, 09:22 AM   #24
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
Quote:
Originally Posted by hawhill View Post
And it's very probably a /24 subnet (where /31 or for conservatives, /30 would have been sufficient). So for now, "match the first three octets" _is_ a technical requirement.
Since we are doing some off-topic nit-picking here anyway...

A /31 assignment is not "for conservatives" it is a dedicated point-to-point (P2P) link.

A /30 subnet is the smallest possible IPv4 subnet (with two special purpose addresses plus an address for each end).

The __default__ of USBnetworking on the Kindle is probably a /24 although I haven't personally confirmed that.

A 192.168.0.0/16 subnet on the non-Kindle end of the connection would allow traffic over both the 192.168.15.0/24 and the 192.168.1.0/24 subnets.
You do not have to match a /24 with only a /24, you can use any subnet of which the /24 is a proper subset (and hence my statement about "match the first three octets).

The Linux USBnet "gadget" driver provides a complete Ethernet interface device, connection media just happens to be a USB cable in its special case.
knc1 is offline   Reply With Quote
Old 04-25-2012, 09:50 AM   #25
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Oh, yes, that's more proper terminology... And of course you're right about the host PC perspective. What is important for the OP is basically: More than one network interface means more than one device to configure addressing for :-)
hawhill is offline   Reply With Quote
Old 04-25-2012, 09:53 AM   #26
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
The __default__ of USBnetworking on the Kindle is probably a /24 although I haven't personally confirmed that.
In the diagnostics menu you are allowed to change the third octet, but the fourth octet is still 244, and the host PC is still expected to be at 201, or things like nfs (and other stuff) will fail.

In earlier kindles, the usbnetwork hack lets you assign any IP address, as I did in my "mntusb" script (which uses 10.10.x.2, where each of my older kindles uses a different "x", so they can all be connected and and accessible at the same time).

Here are more details that may be helpful to ChrisKaos (and others): https://www.mobileread.com/forums/sho....php?p=1906267



Last edited by geekmaster; 04-25-2012 at 10:01 AM.
geekmaster is offline   Reply With Quote
Old 04-25-2012, 05:05 PM   #27
ChrisKaos
Enthusiast
ChrisKaos began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
Quote:
Originally Posted by hawhill View Post
You need to read the intructions carefully that you get. As soon as you plug in a Kindle in USB network mode, a new network interface should show up on your PC. You need to set the IP address of that, not of your LAN or Wifi interface.

Please accept that we don't like to do hand-holding through every single step. Use Google and forum search when you encounter things unknown to you. Not wanting to annoy you, but it's a bit frustrating to put other people through this when they are simply not ready.
Believe me, I appreciate how frustrating hand holding can be, and again, I appreciate the help. But if you'll look at my original post, I didn't ask to have my hand held, I simply asked whether there was a beginner's guide, and if there was if someone could direct me there. As it turns out there is not. I probably would have left the issue alone if someone had just told me "No, what you're looking for doesn't exist." That did not happen, and someone (as well as yourself) did offer me some help, and I took it.

Further, no where in all of my search on here, the wiki or google has it said that using USB networking creates a new network interface on my computer which is what I need to configure in this situation. I'm sorry if maybe that seems elementary or obvious to you, but there's no way someone inexperienced would have any reason to assume that would be what would happen.

If there isn't enough help in this topic topic for me to go on, then I'll just leave the matter alone as I don't wish to further frustrate you or anyone else. Thank you again, I'll report back here if I'm successful.

Last edited by ChrisKaos; 04-25-2012 at 05:09 PM.
ChrisKaos is offline   Reply With Quote
Old 04-25-2012, 05:59 PM   #28
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by ChrisKaos View Post
Further, no where in all of my search on here, the wiki or google has it said that using USB networking creates a new network interface on my computer which is what I need to configure in this situation.
The problem with search engines is they only search for your choice of keywords, not the meaning behind them. Try searching for usb0, and again for RNDIS. And search for Posts, not for Threads.
geekmaster is offline   Reply With Quote
Old 04-25-2012, 06:34 PM   #29
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
ChrisKaos: Sorry, I didn't want to annoy you. I was a bit harsh, I'm trying to be more careful in my wording. I rather like to encourage for searching more insight. But I probably am too used to do that recherche work so that I lost a bit focus on that it isn't all that obvious to other people what seems obvious to me - no wonder, having spent a lot of time on computer business in general. There's nothing wrong with being a "user", every "developer" has been there.
hawhill is offline   Reply With Quote
Old 05-16-2012, 12:30 AM   #30
ChrisKaos
Enthusiast
ChrisKaos began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
I did say I would come back and let anyone who had posted here know whether or not I had been successful and I was. I had forgotten about this thread, however, and was reminded of it in another.

Thank you for those who helped, and I apologize to those whom I may have annoyed with my novice inquiries.
ChrisKaos is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help setting up usb networking bennyb Kindle Developer's Corner 10 02-22-2013 12:27 PM
Hacks Kindle 3 USB Networking n10 Amazon Kindle 2 10-11-2010 09:29 PM
Firmware Update USB networking for 2.5? dd_engi Amazon Kindle 9 05-09-2010 06:45 AM
Hacks USB networking disabled on Kindle firmware 2.0.3 hmemcpy Amazon Kindle 19 05-01-2009 10:51 AM


All times are GMT -4. The time now is 10:30 AM.


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