[Q] OpenVPN on the mini pro - Sony Ericsson XPERIA X10 Mini

Hello,
I was wondering how to make this work on the mini/pro
http://forum.xda-developers.com/showthread.php?t=919403
My problem is:
insmod: can't insert '/sdcard/openvpn/tun.ko': invalid module format
maybe because differnet kernel from bigdaddyx10?
I'm using stock rooted FW 2.0.A.0.504
Also, can't find openvpn on market.
Thanks!
Pabs

i'll see if i find some sources and will try to build a new .ko

There you go I compiled ipip.ko as well in case you need support for virtual ethernet device as well (I dont know if you need it for sure).
openvpn_ko.zip
Also make sure to change permissions (I think it was root:root, and chmod 644 I could be wrong though)

Cool! Thanks sir! Will try this out later

did anyone try this?
last time i tried tun.ko with openvpn, it rebooted the phone :e( apparently some kind of bug in the original kernel sources

Well insmod for both files work. Make sure to insmod ipip.ko as well its tunneling for ipv4. So i think it should work with openvpn as well. Didnt try openvpn though
Sent from my X10minipro using XDA Premium App

Thanks a lot! First tun.ko that is working.

glad it worked
could you do me a favor and upload the openvpn.apk ? the one i had is way ooold

openvpn is working fine with this tun.ko! just tested it. ip assign successful too

very nice. trying it now!

Related

Samba/CIFS for Motorola defy froyo

I just finished building a cifs.ko module for my motorola defy from source.
As the module has some dependencies to slow-work.ko you will need to load this prior to cifs.ko.
I finished testing it on my Motorola Defy Stock Froyo ROM (Linux version 2.6.32.9-ga28fcc4) and it worked fine. I was able to listen to music from my pc via a network share.
have fun.
tuxx
p.s. i will merge slow-work and cifs into a single module in order to be compatible with single module loading programs such as cifsmanager.
Hi,
cant wait for the merge
How about adding the nls_utf8.ko ?
nls_utf8.ko
i havent had time yet to merge cifs and slow-worker however i took a minute to build nls_utf8.ko...
i haven't tested it so please let me know if it works.. and if not i'll try to fix it (dont forget to post dmesg log)
tuxx
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
I did a cwm3+ flasheable zip for my own use, which I am attaching here, which I had working in CM7 until they were included.
To avoid problems with utf8 characters, in cifsManager settings, load via insmod and use path:
"/system/lib/modules/slow-work.ko:/system/lib/modules/nls_utf8.ko:/system/lib/modules/cifs.ko"
Do you really need to work to merge the files? Isn't it enough?
Perilla_ said:
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
I did a cwm3+ flasheable zip for my own use, which I am attaching here, which I had working in CM7 until they were included.
To avoid problems with utf8 characters, in cifsManager settings, load via insmod and use path:
"/system/lib/modules/slow-work.ko:/system/lib/modules/nls_utf8.ko:/system/lib/modules/cifs.ko"
Do you really need to work to merge the files? Isn't it enough?
Click to expand...
Click to collapse
thanks for the tip.
however I dont know how the cifs.ko of the other thread was compiled.. the thread you pasted says that a hex editor was used to change the kernel version string in the binary!?! That doesn't sound like a very nice solution. Also.. i had to port a few functions such as round_jiffie() which i saw in other build instructions was simply commented out due to laziness.. I prefer a clean build in which round_jiffie() is implemented (as i presume this is for latencies and will probably play a role for battery life etc.).
However I was unaware that you can ':' separate modules with cifsmanager. Thanks for that tip.
tuxx
p.s. if anyone is interested, i just built GNU screen for android.
Well... no, the cifs I uploaded in the zip, are from the thread that the solution said (this solution), which are from the milestone 2. HERE are the cifs for milestone 2 thread, they works with defy.
tuxx42 said:
i havent had time yet to merge cifs and slow-worker however i took a minute to build nls_utf8.ko...
i haven't tested it so please let me know if it works.. and if not i'll try to fix it (dont forget to post dmesg log)
tuxx
Click to expand...
Click to collapse
Hi,
going to test it this evening on a stock 2.6.32.9-ga28fcc4. I ll try to use the "multi:module" functionality of CIFSManager.
Perilla_ said:
Thanks but... cifs.ko was already working on defy. In THIS thread its asked, and HERE said how make it work.
Click to expand...
Click to collapse
Hi,
i thought this module was for the .29 kernel and is broken for stock 2.2.2 ?
Thats why i never bothered to try...
I used those cifs from eclair to CM7 ginger!

[CDMA][GSM] Help compile tun.ko without config.gz from the phone?

Hello,
I'm interested in compiling the tun.ko driver necessary for OpenVPN. However, I got stuck when trying to pull the config.gz file from /proc/ since Motorola didn't include it as an option.
I'm not great with all this and was just following a guide. Has anyone created a working .config file that I could use instead?
Thanks
Isn't any config included?
have you tried make oldconfig?
pajn said:
Isn't any config included?
have you tried make oldconfig?
Click to expand...
Click to collapse
I thought you needed the config.gz file (and the resultant .config) pulled from the phone to use make oldconfig?
Yes. But there should be one included or else we have to complain to Motorola.
The config is included in the binary so it have to be provided together with the source to follow GPL
The default configuration in the kernel source should be okay.
I'll compile that later for you
kholk said:
The default configuration in the kernel source should be okay.
I'll compile that later for you
Click to expand...
Click to collapse
Awesome thank you.
Emh, as the default kernel configuration says, the TUN/TAP interface driver is already included into the kernel. You don't need a module.
kholk said:
Emh, as the default kernel configuration says, the TUN/TAP interface driver is already included into the kernel. You don't need a module.
Click to expand...
Click to collapse
So you're saying even though I don't see tun.ko listed in the filesystem that I should be able to initiate TUN when configuring OpenVPN?
Thanks
try it,it working for my razr.
Kernal 2.6.35.7
View attachment tun_gb.ko.zip
Yes you're able to create a TUN/TAP device without tun.ko.
kholk said:
Yes you're able to create a TUN/TAP device without tun.ko.
Click to expand...
Click to collapse
My apologies. On my last phone I had to have a tun.ko module. My understanding after searching these past few days is most phones require it to be built. Is the RAZR different by having it built into the stock kernel?
By the way, finally got OpenVPN working today.
Thanks
Yup, it seems Moto wanted to include support for VPNs on stock!
What does this do? Sorry not familiar with this
Sent from my DROID RAZR using xda premium
blkghost22 said:
What does this do? Sorry not familiar with this
Sent from my DROID RAZR using xda premium
Click to expand...
Click to collapse
It lets you setup a VPN connection from your phone to another server. Basically, your phone encrypts all your data before going to Verizon, etc. then it arrives at (in my situation) my home router which decrypts it then sends the request out to the internet, and back to my phone encrypted and so on.
It's useful for:
1) I can access my home network from anywhere as if I were at home connected to my router over Wifi
2) If I'm out at a hotel or something and I want to use the Wifi to access a bank account or something without worrying about someone else on the network stealing my password.
Just to name a few.
Has anyone gotten cisco annyconnect working on the razr?

[Q] xperia mini, proxy wifi

hello, I say immediately that I am Italian so please respond with simple English.
I have an xperia mini (not x10) and I have not the option to configure the proxy wifi, I tried with AutoProxy but it does not work, when I try to browse the pages do not load...
I heard that the problem could be iptables and I found this: http://forum.xda-developers.com/showthread.php?t=1184907 but is for X8, X10 mini, X10 mini pro
someone can help me?
Sorry for my english
I tried hard but nothing worked, SE stock kernel doesn't supprots iptables/netfilter, install custom kernel, right now only krsh kernel is available for mini and good thing that it supports iptables/netfilter
I haven't tried it yet because installing custom kernel needs unlocked bootloader and I have x64 PC so basically I'm unable to unlock it right now.
I use ProxyDroid
Sent from my ST15i using XDA App
+1 for proxydroid
you can use it as global proxy or individual proxy (manually sellect apps)
proxydroid does n't work when I try to browse the pages will not load as AutoProxy
If I decide to change rom which would you recommend? I am interested to have iptables and possibly the Italian language
Attak92 said:
proxydroid does n't work when I try to browse the pages will not load as AutoProxy
help
Click to expand...
Click to collapse
same problem here
metalrawk said:
same problem here
Click to expand...
Click to collapse
If I decide to change rom which would you recommend? I am interested to have iptables and possibly the Italian language
Attak92 said:
If I decide to change rom which would you recommend? I am interested to have iptables and possibly the Italian language
Click to expand...
Click to collapse
iptables are in kernel, and at present, there is only one custom kernel made for xperia mini, and that is KrsH kernel, which supports iptables, I dont know if cyanogenmod's kernel have iptables support or not.
besides, you can contact maker of autoproxy via PM and get support
metalrawk said:
iptables are in kernel, and at present, there is only one custom kernel made for xperia mini, and that is KrsH kernel, which supports iptables, I dont know if cyanogenmod's kernel have iptables support or not.
besides, you can contact maker of autoproxy via PM and get support
Click to expand...
Click to collapse
I am already in contact with the developer of AutoProxy. I said he could be a dns problem, but at now there are n't news
what so my sony ericsson naite had the option to configure proxy, and this one does not! D: im dissapointed! :/
rmartinezdl said:
what so my sony ericsson naite had the option to configure proxy, and this one does not! D: im dissapointed! :/
Click to expand...
Click to collapse
even my old w300 had proxy setting option,
but there must be some way.
we can try to use other devices iptables binary in our phone, we just need that iptables files located in system/bin or system/xbin and copy them in our phone. that might help
I did a test with the developer of AutoProxy, the problem is the dns. brwser putting in the ip address of google.it. the page is loaded (see screenshot attached)
now i'm waiting for a reply from the developer.... i hope that he can solve the problem...
I was playing with proxydroid and managed to get wifi working. but it worked mere 1 minute. yen stopped working

[Q] WIFI error for x10

I use the rom called ThGo2 v15.0
I followed all the instruction, and everything is working fine except wifi.
When i try to turn on wifi, it shows an error. That is it.
Could someone help me with that. Thank you so much.
here is his thread
t=1193001"]http://forum.xda-developers.com/showthread.php?t=1193001[/URL]
you probably need to flash the wifi modules for whatever kernal you are using. Simply save them to your phone and flash with xRec or CW
wifi error
I think i flashed that
could you help me to find the file?
Thank you very much
Hi there,
I've got the same problem but with another ROM.
I have Wolfs TW Gingerbread and X10_2.3.3_DooMKernel-v06-FS-BootManager-v2.0.ftf with x10_gb_DooMKernel-v06-FS_wifi modules but there's still a wifi error...
The wifi module has to be flashed in xrecovery over the install custom zip option, right?
Edit1: Urgh, i see, i flashed wrong kernel version...had v05a instead of v06... :S
Edit2: So, now i flashed the things i wrote above, and i have still the error...i'm going mad xd
Edit3: Call me dumb or whatever, i finally figured out i had to reinstall the ROM after installing Kernel when the ROM was already booted once ;D
chuck199316 said:
I think i flashed that
could you help me to find the file?
Thank you very much
Click to expand...
Click to collapse
This is KERNEL (It's link is in OP from link you posted in your OP)
KERNEL
(You flash this through FLASHTOOL)
This is WIFI modules (for this kernel above):
WIFI MODULES
(You flash this through XRECOVERY)
If you are using other Kernel, pls tell us ..
Cheers
help
chuck199316 said:
I use the rom called ThGo2 v15.0
I followed all the instruction, and everything is working fine except wifi.
When i try to turn on wifi, it shows an error. That is it.
Could someone help me with that. Thank you so much.
here is his thread
t=1193001"]http://forum.xda-developers.com/showthread.php?t=1193001[/URL]
Click to expand...
Click to collapse
try to tlash this http://www.mediafire.com/?dgg1ja497mc13db hope it helps
Hi!
I'm using DoomKernel, not overclocked and using the Xperia S-tation v3.0 custom rom. Everythign works fine except the Wi-Fi. It just tells error.
Is there any chance of fixing this?
Thanks!
i'm using ROM zetra X gaming and i have that error to so can anyone find wifi modules for this ROM please
android 2.3.4
and doomlord kernel or samething like that
Vengeance66 said:
Hi!
I'm using DoomKernel, not overclocked and using the Xperia S-tation v3.0 custom rom. Everythign works fine except the Wi-Fi. It just tells error.
Is there any chance of fixing this?
Thanks!
Click to expand...
Click to collapse
Read DoomKernel thread: http://forum.xda-developers.com/showthread.php?t=1253853
Dudes, fear not you're not going mad re: DoomKernel v6 WiFi modules.
I'm NOT clear on the specifics(long time ago) but at least I can direct a different line of questions.
The WiFi and or any *.ko in /system/lib/modules/*.ko is wiped on boot by /etc/init.d/00modules.
00modules is a text file and can be viewed (I wouldn't edit it)
You'll see the script clears all *.ko and then replaces them with those found in /system/kernel/${KVER}/*.ko
It uses busybox to do this.
I guess the logic behind it is, that different kernels when booted will use different *.ko.
So.... what I did was extract the wifi.ko and other *.ko files out of the .zip and then place them in /system/kernel/${KVER}/ where ${KVER} is you kernel version
If there is already *.ko file in system/kernel/${KVER}/*.ko I'd back them up before I overwrote them with new ones.
The new *.ko in /system/kernel/${KVER}/*.ko need the following permission rw-r--r--
This worked for me (almost years ago) when I was having problems.
NOW, I'm not saying this is the answer, but this may be an area to explore if WiFi reverts to an "failing" version each time you boot no matter if you install the new modules in /system/lib/modules or not.
Hope this helps...

[Req] VPN tun.ko module

Hi all,
I would like to request tun.ko module.
I'm testing VPN service today, but can't run because of the said module is missing.
Can please someone provide the file and show how to install?
Thanks
masterinc said:
Hi all,
I would like to request tun.ko module.
I'm testing VPN service today, but can't run because of the said module is missing.
Can please someone provide the file and show how to install?
Thanks
Click to expand...
Click to collapse
It's for example in nightelf's kernel. But You have to create dir /dev/net if not exist and make symbolic link from /dev/tun to /dev/net/tun
Download tun.ko installer from market/google play
pawleonhart said:
Download tun.ko installer from market/google play
Click to expand...
Click to collapse
Have You tested this solution? Because tun.ko depends on kernel. I haven't seen that tun.ko installer supports Xperia line...
voyteckst said:
Have You tested this solution? Because tun.ko depends on kernel. I haven't seen that tun.ko installer supports Xperia line...
Click to expand...
Click to collapse
i did try the tun.ko installer. can't install...
masterinc said:
i did try the tun.ko installer. can't install...
Click to expand...
Click to collapse
Like I wrote... Use nightelf kernel (full version).
i am using xperia neo and im using it since the first time i had my neo. its working on me. by the way what kernel are in? all kernel based on 2.6.32.9 are working fine on my end.
edit: if you really want to try your vpn service then switch to CM (cyanogenmod) and you dont need to configure anything. btw, are you using the openvpn settings from the market or the built in one? coz i use the first.
im using codename9 rom now.. but the kernel is on experimental full..does it supports the tun.ko??? please help..im a newbie.. sorry for my english..

Categories

Resources