Quote:
Originally Posted by apexskier
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/