Jump to content

Automatically load kernel module (IPv6)?


Recommended Posts

Guest Mikkle
Posted

Hi All,

Just rooted my Desire yesterday, and installed the pre-baked r3.1-bravo-desire-modacocustomrom-withadditions ROM.

Pure awesomeness! :-D

However, to get my phone on an IPv6 network, I maually have to load the ipv6 module:

#su

#cd /system/lib/modules

#insmod ipv6

Well... Technically I COULD live with that, but...

Is it possible to do some voodoo that will load the ko automagically on boot?

I'm a bit of an IPv6 fetishist and evangelist, so this means a lot to me.

Also, it has always been great to show your Android (Eclair+) to the IBoys'n'Girls and point out that IPv6 is supported ootb.

Cheers Paul et.al. for Desire w00tness! :-D

:-D Mikkle, Network Engineer, IPv6 Evangelist, and Android fanboi

Guest Sesire
Posted

The easy way is to use GScript Lite. You can type there a sequence of commands an just start it with one click after every reboot.

Just try it out =)

Guest FloHimself
Posted

Take a look into "/system/etc/init.d", there are some init scripts.

You could create your own for ipv6.

Put something like:

#!/system/bin/sh

/system/xbin/insmod /system/lib/modules/ipv6.ko

in a file called "45ipv6".

I haven't tested this so you may change the path to insmod.

Guest Mikkle
Posted
Take a look into "/system/etc/init.d", there are some init scripts.

You could create your own for ipv6.

Put something like:

#!/system/bin/sh

/system/xbin/insmod /system/lib/modules/ipv6.ko

in a file called "45ipv6".

I haven't tested this so you may change the path to insmod.

Hey, nice one, thanks!

I did just that, zipped it up and added it as a custom zip to the kitchen (no write access to /system under normal use).

Works like a charm! :-)

:-D Mikkle

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.