05-23-2013, 08:11 AM | #16 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Download to your pc the file: https://www.mobileread.com/forums/att...7&d=1361917519
Rename the file from: modules.cfs.zip to modules.cfs Connect your Kindle to your pc Where you see: */documents Make a directory called extensions if you don't already have it. like: */ + + documents + extensions + ..... The "*/" indicates the root of the usb storage area as seen over the USB cable AND /mnt/us as seen on the Kindle itself when you have a terminal open to the Kindle. (KUAL may have made that extension directory for you, or you may have made it yourself) IN the */extensions directory make the path of sub-directories: system/lib/modules Now copy the modules.cfs file into */extensions/system/lib directory Switch from the USB storage mode, to USB networking mode, ssh into the kindle mount the cramFS filesystem image by entering the command: mount -t cramfs -o loop /mnt/us/extensions/system/lib/modules.cfs /mnt/us/extensions/system/lib/modules Once mounted, you can then navigate the tree of kernel modules for all KUAL supported devices. For your reference, enter the command: uname -r The result of that command is the appropriate sub-directory tree under the mount point 'modules' that your kernel requires you to use. The other two paths lead to modules that will not load on your device, they are for the other devices. Since this file system path on the FAT drive is not registered with the Kernel's auto-loader, you will have to manually insmod the modules you need yourself. And you will have to include the full pathname to the module in the insmod command. Enjoy. Now you can do nat (network address translation). and a zillion other things that a Linux machine can/could do. Last edited by knc1; 05-23-2013 at 08:14 AM. |
05-23-2013, 06:27 PM | #17 |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Hey,
really nice to you to do this tutorial. One thing what doesnt go. which ever module I want load with insmod or modprobe command I get the error Code:
[root@kindle root]# modprobe -v -n /mnt/us/extensions/system/lib/modules/2.6.31-rt11-lab126/kernel/net/ipv4/netfilter/nf_nat_sip.ko FATAL: Module /mnt/us/extensions/system/lib/modules/2.6.31_rt11_lab126/kernel/net/ipv4/netfilter/nf_nat_sip.ko not found. Regard Bagerfahrer |
05-23-2013, 07:46 PM | #18 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
modprobe expects the module in the installed location /lib/modules/ .... use insmod Is it really their? Try to do an ls -l (ell) on it. That is probably the busybox version of insmod - with simplified error messages. I.E: A misleading error message. It might mean that one of the dependencies are missing. replace the insmod with a modinfo in that command line, if the module reports that it has dependencies, load those first. |
|
05-23-2013, 11:49 PM | #19 |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Ohh hehe, yea when i use insmod it comes an error but not the same of modprobe. When I type
Code:
[root@kindle netfilter]# insmod /mnt/us/extensions/system/lib/modules/2.6.31-rt11-lab126/kernel/net/ipv4/netfilter/nf_nat.ko Code:
insmod: error inserting '/mnt/us/extensions/system/lib/modules/2.6.31-rt11-lab126/kernel/net/ipv4/netfilter/nf_nat.ko': -1 Unknown symbol in module Code:
[root@kindle netfilter]# modinfo iptable_nat.ko filename: iptable_nat.ko alias: ip_nat license: GPL depends: nf_nat vermagic: 2.6.31-rt11-lab126 mod_unload ARMv7 Regards Bagerfahrer Last edited by Bagerfahrer; 05-23-2013 at 11:53 PM. |
05-24-2013, 08:06 AM | #20 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Now that looks broke to me.
If I can duplicate it, I may be able to fix it. Post the output of: uname -a and cat /etc/version.txt and cat /etc/prettyversion.txt Expect something similar to this: Code:
[root@kindle root]# cat /etc/version.txt System Software Version: 015-juno_303_yoshime3-181203 Tue Jan 8 22:11:44 PST 2013 [root@kindle root]# cat /etc/prettyversion.txt Kindle 5.3.3 (~~otaVersion~~) [root@kindle root]# uname -a Linux kindle 2.6.31-rt11-lab126 #1 Tue Jan 8 22:06:21 PST 2013 armv7l GNU/Linux [root@kindle root]# |
05-24-2013, 10:29 AM | #21 | |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Quote:
Code:
[root@kindle root]# uname -a Linux kindle 2.6.31-rt11-lab126 #1 Mon Apr 1 22:09:02 PDT 2013 armv7l GNU/Linux [root@kindle root]# cat /etc/version.txt System Software Version: 013-juno_305_yoshime3-187929 Mon Apr 1 22:14:45 PDT 2013 [root@kindle root]# cat /etc/prettyversion.txt Kindle 5.3.5 (~~otaVersion~~) Bagerfahrer |
|
05-24-2013, 12:09 PM | #22 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Hmm...
Different kernel build than what the modules where built and tested with. I may be able to find the difference and re-build the modules - but I am pretty swamped right now. Consider 'upgrading' to 5.3.3 |
05-26-2013, 04:09 AM | #23 | |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Quote:
Regards Bagerfahrer |
|
05-26-2013, 05:35 AM | #24 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You can find a link to the off-site storage for the Amazon 5.3.3 (which is a full image, not an incremental) in the Paperwhite jailbreak thread. Be aware that the 5.3.3 image has not been jail broken, only earlier and later versions. I just mentioned that was a possibility, in case you absolutely, positively, have to have the iptables modules NOW. It would be better if you can set this project aside until I have a chance to find, fix, and re-build the modules. Warning: "Life" has me swamped at the moment, I can not give an estimate of WHEN I will have the time to do that work. |
|
05-30-2013, 05:25 AM | #25 | ||
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
@hawhill
Quote:
Quote:
Regards Bagerfahrer |
||
06-12-2013, 06:17 PM | #26 |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
That with the proxy is done. Works perfectly when there are not the little connection problems.
I persuade me to downgrade to 5.3.3 and tried again to load the modules I need. But why I can not just until now to load this modules? Same errors and I looked at the version and so on, but I have the same values like you posted. Do not know anymore. Maybe the insmod and modprobe from busybox are useless? Are there any other options? Regards Bagerfahrer Last edited by Bagerfahrer; 06-12-2013 at 06:19 PM. |
Tags |
openssh, thetering |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle 4 NT: No SSH | cinnagingercat | Kindle Developer's Corner | 92 | 11-06-2018 08:44 PM |
Connecting to internet throug my computer with usbNet, KT | dogcalas | Kindle Developer's Corner | 17 | 05-15-2012 03:06 PM |
Using the internet available on my computer | Lauvie | Amazon Kindle | 1 | 09-14-2010 10:16 AM |
SSH to Kindle | Zorz | Kindle Developer's Corner | 16 | 01-15-2010 01:18 AM |
Kindle + SSH? | Elegant Forkbomb | Amazon Kindle | 3 | 03-05-2009 08:12 AM |