FORUMS

working VPN modules 2.x roms

1,938 posts
Thanks Meter: 1,092
 
By richardtrip, Retired Recognized Developer on 3rd February 2010, 09:18 AM
Post Reply Email Thread
Hello,

I compiled the missing vpn modules for the hero eclair kernels (2.6.29-8d063048 and 2.6.29-877eaf14).
modules compiled: tun + all ppp (l2tp not tested pptp and tun with openvpn working).

For openvpn you need de openvpn package and tunneldroid (market).

all files are packaged as update.zip

happy tunneling :)
3rd February 2010, 11:09 AM |#2  
adwinp's Avatar
Senior Member
Flag urandom
Thanks Meter: 304
 
Donate to Me
More
Didn't check yet, but why are your libs and binary so big?
Did you enable debug? Didn't you strip symbols?

In contrast, my openvpn binary is barely 350Kb.
3rd February 2010, 11:27 AM |#3  
OP Retired Recognized Developer
Thanks Meter: 1,092
 
Donate to Me
More
Quote:
Originally Posted by adwinp

Didn't check yet, but why are your libs and binary so big?
Did you enable debug? Didn't you strip symbols?

In contrast, my openvpn binary is barely 350Kb.

The openvpn binary and libs are not mine so i can't say anything about that. Changed openvpn for smaller version.
5th February 2010, 09:24 PM |#4  
Junior Member
Thanks Meter: 0
 
More
thanks for the work!
but i tried villian2.1 rom and espr 1.3 rom(the kernal version is 2.6.29-8d063048),non of these works.
could you please put more details on your fix?
6th February 2010, 10:36 AM |#5  
OP Retired Recognized Developer
Thanks Meter: 1,092
 
Donate to Me
More
Quote:
Originally Posted by BroWebo

thanks for the work!
but i tried villian2.1 rom and espr 1.3 rom(the kernal version is 2.6.29-8d063048),non of these works.
could you please put more details on your fix?

OK, i figured it out. Only problem with villain rom is it doesn't run the 05vpn init script in /etc/init.d/. It's a known problem in the villain rom (i checked the villain thread and saw multiple posts about that).

you could try this:
install Autostart from market
adb shell
mkdir /data/opt
echo "sh /system/etc/init.d/05vpn" > /data/opt/autostart.sh
chmod 4755 /data/opt/autostart.sh
reboot phone
There will be an su request. I need to restart my phone a second time, but after that it works.
11th February 2010, 01:03 AM |#6  
Junior Member
Thanks Meter: 0
 
More
thanks dude!
it's now woking well!!
Post Reply Subscribe to Thread

Tags
eclair, ppp, tun, vpn

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes