Guest | Posts: n/a | Thanked: 0 times | Joined on
#241
Originally Posted by rainisto View Post
I hope that you are aware, that as you changed some kernel build options from m to y, then you also need to clean current modules from your device:

rm /lib/modules/current

You cannot reuse any of the old modules in the filesystem, and you need to copy/install every module that you built into a new /lib/modules/current-directory, and this needs to be done _BEFORE_ you try to flash/boot to your new zImage, if you forgot that step, your kernel will _NEVER_ boot up. /lib/modules/current's modules need to match your kernel.

You can only reuse current /lib/modules/current if you only add new modules, but as your config file makes other changes, then old modules will conflict and stop booting.
Thanks mate, this I can easily fix for netfilter options. It will mean some new modules will need to be copied to the device after flash, but that should not impose issues.
I will have some time today to work on this
 
Posts: 1,067 | Thanked: 2,384 times | Joined on Jan 2012 @ Finland
#242
Originally Posted by nieldk View Post
Thanks mate, this I can easily fix for netfilter options. It will mean some new modules will need to be copied to the device after flash, but that should not impose issues.
I will have some time today to work on this
In here you of course just mean that you copy the new modules to filesystem and just insmod (as you don't have to flash anything, just reuse Docs current openmode kernel)... or take that patch as starting point and continue from there...

Last edited by rainisto; 2012-03-13 at 05:42.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#243
does anyone know if creating a tgz with a modifyed roots would be able to be flashed?
or if it is possible at all, any other way?
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#244
Originally Posted by rainisto View Post
In here you of course just mean that you copy the new modules to filesystem and just insmod (as you don't have to flash anything, just reuse Docs current openmode kernel)... or take that patch as starting point and continue from there...
I will make an N9 patched openmode kernel that can be flashed. I think docs is based on n950 kernel. probably good for n9.
but otherwise true, will just need the .ko files and insmod those.
 
Posts: 1,067 | Thanked: 2,384 times | Joined on Jan 2012 @ Finland
#245
Originally Posted by nieldk View Post
I will make an N9 patched openmode kernel that can be flashed. I think docs is based on n950 kernel. probably good for n9.
but otherwise true, will just need the .ko files and insmod those.
Docs kernel is based on N9 kernel, but it also works in N950. It might be that enabling nat would modify inline functions in the kernel, in that case you would need to reflash the kernel and before reflashing you would need to remove modules current-dir linking and make a new one (ie install modules with AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg -i kernel-modules_2.6.32-20115101+0m7_armel.deb (which is generated when you build your kernel with "dpkg-buildpacakge -rfakeroot" in a scratchbox)).

Last edited by rainisto; 2012-03-13 at 06:38.
 
Posts: 1,067 | Thanked: 2,384 times | Joined on Jan 2012 @ Finland
#246
Oh one question which is still unclear for me, why do you need NAT, what use case are you trying to fulfill?
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#247
Originally Posted by rainisto View Post
Oh one question which is still unclear for me, why do you need NAT, what use case are you trying to fulfill?
to fully be able to use pentesttools that I ported, mainly ettercap and sslstrip (my signature have link to the tools I ported)
 
coderus's Avatar
Posts: 6,431 | Thanked: 12,683 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#248
i need NAT for sharing mobile internet over usb networking.
 
Rusnak-COBRA's Avatar
Posts: 218 | Thanked: 151 times | Joined on Dec 2011 @ Slovakia
#249
CODeRUS, it's possible to use mobile internet of N9 via USB, I'm doing that via old Nokia PC Suite 7.1.30.9 working just fine. (doing that on PR1.1, not open kernel)
__________________
BlackBerry 10, Jolla, MeeGo, Symbian & webOS fan (Tizen? B2G? Ubuntu for Phone?), SmartMobil.sk editor-in-chief
BB Z10 & N950 Dev black & N950 Proto B2 silver & N9 16GB + 64GB & N900 & E7 & N8 & C7 & PlayBook & TouchPad & Veer & Lumia 800 & RAZR XT910
http://facebook.com/RUSNAK | http://twitter.com/RusnakCOBRA | Mobile Phones MUSEUM, over 2600 pieces + prototypes!
 
coderus's Avatar
Posts: 6,431 | Thanked: 12,683 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
#250
you mean using as modem? it's crap. sharing over usb networking will be much better.
 
Reply

Tags
aegis, open kinda

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:34.