benjarobbi / get-a-robot-vpnc

Automatically exported from code.google.com/p/get-a-robot-vpnc
1 stars 0 forks source link

tun.ko installation on Sprint HTC Hero #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installed vpnc-0.95
2. Pushed tun.ko via recovery image to /system/lib/modules/.
3. Ran "insmod /system/lib/modules/tun.ko

What is the expected output? What do you see instead?
Received "insmod: can't insert '/system/lib/modules/tun.ko': invalid module 
format"

What version of the product are you using? On what operating system?
0.95
Linux localhost 2.6.27-533ce29d #742 PREEMPT Fri Aug 28 21:59:31 CST 2009 
armv6l
 GNU/Linux
Tried using Original ROM Rooted, modaco core 1.1, and Fresh ROM 1.0

Please provide any additional information below.
Assumptions is that tun.ko is not compiled for kernel version but unsure 
where to go about 

vpnc version ERSION
/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script: 
/system/bin/make-tun
-device: not found
can't open /dev/net/tun, check that it is either device char 10 200 or 
(with Dev
FS) a symlink to ../misc/net/tun (not misc/net/tun): No such file or 
directory
can't initialise tunnel interface: No such file or directory

Any help appreciated.
Thanks
Ray

Original issue reported on code.google.com by ray.mele...@gmail.com on 21 Dec 2009 at 3:28

GoogleCodeExporter commented 9 years ago
I did forget to add my netcfg results where tun is not shown
netcfg
lo       UP    127.0.0.1       255.0.0.0       0x00000049
dummy0   DOWN  0.0.0.0         0.0.0.0         0x00000082
rmnet0   UP    123.456.789.012   255.255.255.248 0x00001043
rmnet1   DOWN  0.0.0.0         0.0.0.0         0x00001002
rmnet2   DOWN  0.0.0.0         0.0.0.0         0x00001002
usb0     DOWN  0.0.0.0         0.0.0.0         0x00001002

Original comment by ray.mele...@gmail.com on 21 Dec 2009 at 3:31

GoogleCodeExporter commented 9 years ago
Take a look at http://forum.xda-developers.com/showthread.php?t=552776 (post 
#2). I
have followed the instructions and tun.ko loads properly.

(I hope there is no problem in inserting a link... is there is really sorry, 
feel
free to remove)

Original comment by edisk...@gmail.com on 23 Feb 2010 at 4:04

GoogleCodeExporter commented 9 years ago
I will try and see. I believe I had downloaded and had issue, but I will try 
again and 
let you know.
Thanks

Original comment by ray.mele...@gmail.com on 2 Apr 2010 at 1:38

GoogleCodeExporter commented 9 years ago
Case can be closed. ROM 2.2 included tun module.

Original comment by ray.mele...@gmail.com on 3 Apr 2010 at 11:50

GoogleCodeExporter commented 9 years ago
I pushed it to /data
tried to install on FreshRom 2.2.3 and go the following error:

insmod /data/tun.ko
insmod: init_module '/data/tun.ko' failed (Exec format error)

any ideas?

Original comment by anton...@hotmail.com on 17 Jul 2010 at 1:43

GoogleCodeExporter commented 9 years ago
Try this site for help with the stock Sprint Hero tun.ko file.  Also worked 
with stock Alltel Hero Rom.  
http://vardyr.insocada.com/2010/06/24/tun-ko-for-sprint-hero-2-1-stock-kernel/

Original comment by bruce31...@gmail.com on 27 Sep 2010 at 12:43