08-12-2013, 04:43 AM | #1 |
Junior Member
Posts: 5
Karma: 1000
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Open Ports on PW
Hello dear mobileread forum members
With delight I found about jailbreaking my kindle yesterday - said, done. The very first thing I'm interested in is running node.js on the little gem. Works like a charm with the crosscompiled binary found in the image here: https://gist.github.com/rvagg/5095506 (direct link: http://js.vagg.org/noodle.img.gz). Now, to really have fun with node.js I need to start up a server. But now I have a problem with the ports. I can't write to iptables because it's write protected. I tried to vi it with the kterm app. How can I change files and folders permissions? Yours a |
08-12-2013, 05:01 AM | #2 |
Book Addict
Posts: 132
Karma: 1040318
Join Date: Apr 2013
Location: USA
Device: Kindle Paperwhite
|
type "mntroot rw" in kterm, it should remount the filesystem as read-write. "mntroot ro" to set it back to how it was after you're done.
|
Advert | |
|
08-12-2013, 05:43 AM | #3 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
iptables is a transitory in-memory table.
you can "I" insert a rule that will remain active till the next time you power cycle iptables -I INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT (something like that) Alternatively use something like BBB via kual and add some custom rules to it's defaults. That would be editable without special permissions (being a text file that lives on the FAT partition) Quite a few options. |
08-12-2013, 08:19 AM | #4 |
Junior Member
Posts: 5
Karma: 1000
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Thanks you two, both worked like a charm. Although the iptables code I wasn't sure about if it was yours or another one that work. I will use BBB for future use. Simpler.
|
08-12-2013, 08:35 AM | #5 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I am making an update of the KUAL firewall, with buttons to open/close commonly used services - - - So what ports did you have to open for your use? |
|
Advert | |
|
08-13-2013, 03:20 PM | #6 |
Junior Member
Posts: 5
Karma: 1000
Join Date: Aug 2013
Device: Kindle Paperwhite
|
Hi you
Didn't matter. Just something generic that's free, like 1337 ... I'm looking forward to the update! |
07-17-2014, 09:22 PM | #7 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Does anyone still have a copy of this image file?
|
Tags |
iptables, node.js, paperwhite, port, ports |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Usbnetwork and usb ports | Jeanphi | Kindle Developer's Corner | 7 | 03-10-2013 01:13 PM |
which ports are used? | egg | Calibre | 9 | 06-26-2012 12:32 PM |
Uses for USB ports | pat.indie | enTourage Archive | 10 | 08-10-2010 10:24 PM |
USB ports | kindx | Kindle Developer's Corner | 1 | 02-12-2010 10:48 AM |
How to Install Ports | jasem200 | iRex | 2 | 04-15-2008 01:00 AM |