Jump to content

Modprobe issues on Android 2.1 (MoDaCo r4) - solved for 2.6.29-5f74b252


Recommended Posts

Guest Richard K. Szabo
Posted (edited)

SOLVED FOR 2.6.29-5f74b252

I'm having some issues with the accompanied modprobe from busybox:

# modprobe tun

modprobe: chdir(2.6.29-5f74b252):

Verifying chdir:

# chdir

chdir: HOME not set

So,

# HOME=/data/local

...makes no difference.

Ideas?

--

System-details:

HTC Hero

Android 2.1 - MoDaCo Custom ROM r4

htc-kernel@18-2#1

Edited by Richard K. Szabo
Guest korner
Posted (edited)

There should be a folder named after the kernel version in /system/lib/modules for modprobe to work.

You can create it this way:

adb remount
adb shell
#cd /system/lib/modules
#ln -s . `uname -r`
[/codebox]

Edited by korner
Guest Richard K. Szabo
Posted

Thanks a lot for clarifying, but now I get this

adb remount
adb shell
#cd /system/lib/modules
#ln -s . `uname -r`
[/codebox]

Guest redcow
Posted (edited)
Thanks a lot for clarifying, but now I get this

# modprobe tun

modprobe: 'tun.ko': invalid module format

Does this mean that the kernel has no support for universal TUN?

yes thats true you have to use your own kernel or use one that includes tun.ko (pay attention if you selected A2SD+ in the kitchen, some rom kernel bootimages have their own A2SD+ implementation included in the ramdisk).

Edited by redcow
Guest Richard K. Szabo
Posted

With the latest 2.1 (Euro) in mind, the kernel has been updated to 2.6.29-063c4d24.

Been searching for a compiled version of it, anyone got it?

(I don't know how to cross-compile, yet...)

Brilliant, thanks a lot!

It works like a charm.

Guest max-k
Posted
With the latest 2.1 (Euro) in mind, the kernel has been updated to 2.6.29-063c4d24.

Been searching for a compiled version of it, anyone got it?

(I don't know how to cross-compile, yet...)

+1 To updated compiled tun.ko for 2.6.29-063c4d24 !!

Thanks a lot by advance if someone can do it.

Guest pupadi
Posted

I was able to compile TUN/TAP Driver for MCR R5 (2.6.29-063c4d24), using HTC Kernel Source.

Works fine with VPN Connections (v0.99).

Have fun :)

tun_2.6.29_063c4d24.zip

Guest max-k
Posted
I was able to compile TUN/TAP Driver for MCR R5 (2.6.29-063c4d24), using HTC Kernel Source.

Works fine with VPN Connections (v0.99).

Have fun :)

Yeah, you roxx man.

Thanks !

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.