View Single Post
Old 03-22-2013, 05:53 AM   #11
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 apexskier View Post
Hello,

I have a Kindle 4 NT that I've successfully Jailbroken and installed USBNet on. I've managed to set it up as a screen (terminal only) for my Raspberry Pi using the KindleTERM SSH Client and some custom routing. My current idea is to use the Kindle's wifi connection as internet for my Raspberry Pi as well (basically the opposite of https://wiki.mobileread.com/wiki/Inte...Kindle_via_USB). This will let me use one of the Pi's usb ports for a screen/wifi and the other usb port for my keyboard. I've been playing around with iptables and routing but can't figure it out.

What I think the solution should be is to use something like the command
Code:
up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.15.0/24
to route traffic through the Kindle's usb interface through the router and back through the usb interface. However, the Kindle appears to only have the default filter iptable (no nat or anything else) and to not recognize MASQUERADE.

I've also attempted to use ssh tunneling to gain internet access through the kindle, but I've had no success with that either.

Does anyone have any ideas or places they can direct me for more information?

Thanks!
Cameron
Yes - the Mobile Read Dev-Forum (you are here).

First - install KUAL
Second - install the KUAL firewall (with the only iptables infrastructure that we support)
Third - as twobob said - locate and copy the cramfs kernel module addition, mount it
Fourth - decide which interface will be your outgoing port to the world (there is a dedicated iptable chain for each).
Fifth - add the appropriately modified version of your proposed rule to the appropriate outgoing chain.
Sixth - write a KUAL button for those operations.
Seventh - pay your dues by submitting that KUAL button for others to use.

PS: The information on everything KUAL is being collected here:
http://wiki.knetconnect.com/twiki/bi...uttons/WebHome
Although far from complete, it represents a pretty good start right now.

PS2: The site does have more than just a button list:
http://wiki.knetconnect.com/twiki/bi.../TWiki/SiteMap

PS3: There is an associated site that handles the usual 'support forum' and other feedback on things KUAL related here:
http://kual.knetconnect.com/

Last edited by knc1; 03-22-2013 at 08:44 AM.
knc1 is offline   Reply With Quote