Jump to content

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


Guest Richard K. Szabo

Recommended Posts

Guest Richard K. Szabo

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
Link to comment
Share on other sites

Guest korner

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
Link to comment
Share on other sites

Guest Richard K. Szabo

Thanks a lot for clarifying, but now I get this

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

Link to comment
Share on other sites

Guest redcow
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
Link to comment
Share on other sites

Guest Richard K. Szabo

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.

Link to comment
Share on other sites

Guest max-k
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.

Link to comment
Share on other sites

Guest max-k
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 !

Link to comment
Share on other sites

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.