Guest Richard K. Szabo Posted June 22, 2010 Report Share Posted June 22, 2010 (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 July 1, 2010 by Richard K. Szabo Link to comment Share on other sites More sharing options...
Guest korner Posted June 22, 2010 Report Share Posted June 22, 2010 (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 June 22, 2010 by korner Link to comment Share on other sites More sharing options...
Guest Richard K. Szabo Posted June 22, 2010 Report Share Posted June 22, 2010 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 More sharing options...
Guest redcow Posted June 22, 2010 Report Share Posted June 22, 2010 (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 June 22, 2010 by redcow Link to comment Share on other sites More sharing options...
Guest pupadi Posted June 23, 2010 Report Share Posted June 23, 2010 Someone has compiled a tun driver for kernel 2.6.29-5f74b252, and is working fine for me.. http://htcpedia.com/forum/showthread.php?t=2821&page=3 Link to comment Share on other sites More sharing options...
Guest Richard K. Szabo Posted June 23, 2010 Report Share Posted June 23, 2010 Brilliant, thanks a lot! It works like a charm. Someone has compiled a tun driver for kernel 2.6.29-5f74b252, and is working fine for me.. http://htcpedia.com/forum/showthread.php?t=2821&page=3 Link to comment Share on other sites More sharing options...
Guest Richard K. Szabo Posted July 1, 2010 Report Share Posted July 1, 2010 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 More sharing options...
Guest max-k Posted July 1, 2010 Report Share Posted July 1, 2010 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 More sharing options...
Guest pupadi Posted July 9, 2010 Report Share Posted July 9, 2010 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 Link to comment Share on other sites More sharing options...
Guest max-k Posted July 9, 2010 Report Share Posted July 9, 2010 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 More sharing options...
Guest Richard K. Szabo Posted July 9, 2010 Report Share Posted July 9, 2010 Many thanks! Going to learn how you did at http://android.modaco.com/content/htc-hero...r-for-htc-hero/ 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 :) Link to comment Share on other sites More sharing options...
Guest max-k Posted July 9, 2010 Report Share Posted July 9, 2010 Many thanks! Going to learn how you did at http://android.modaco.com/content/htc-hero...r-for-htc-hero/ Thanks, i'll look at that. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now