Hello everybody
I own HTC Desire HD running stock 2.3.3 rooted ROM
I managed to compile TUN module from kernel sources available from developer.htc.com
I know that openvpn 2.1.1 binary is available and it works OK
The thing is that I need openVPN 2.2.0.
I never compiled anything for Android although I have crosscompiled applications from sources before.
Among others I managed to successfully build OpenVPN 2.2.0 for MIPS32 architecture (dd-wrt linux-based router)
could somebody please give me some help on how to get the toolchain?
I tried the latest Android NDK and build standalone toolchain from that but it does not work
when I issue gcc (android version) it gives me error, cc1 killed (internal error)
any ideas?
thank you very much for any input in advance
I downloaded EABI toolchain from here http://www.codesourcery.com/sgpp/lite/arm/portal/[email protected]=lite and the lates Android NDK
I managed to build libssl.a and libcrypto.a libraries from sources of openssl 1.0.0d
how ever I cannot get ./configure script of openVPN to run successfully
It fails here
checking for ctime .... no
required library not found
I am trying to crosscompile in Ubuntu 11.04 32bit Virtual Machine
any help is greatly appreciated
no news on this, anybody?
I really would like to run OpenVPN 2.2.0 on my Desire HD
I'm a newbie from China where the network censorship is very famous.
So VPN is very important for all of my android devices(and desktops and laptops).
Since there seems no way to use the L2TP/PPTP vpn so openvpn is the only choice for Kindle Fire.
My KF is rooted and the binary of openvpn with busybox is installed,the last piece of the network freedom is only a working tun.ko.
Is there any working tun.ko for the stock kernel?
Or is there any kernel source which is known to compile working module for the stock kernel?
Yes,I know i can use ssh tunnel to get avoid the censorship,but the performance of ssh -D is not so good,and it also causes some extra battery drain.
There are other threads with info on this.
UPDATE: These modules were added by request to Hundsbuah's kernel here:
http://forum.xda-developers.com/showthread.php?t=2246062
______________________________________________________________________
I was not going to post this because it has limited use for most TF300T owners but it can't hurt so here it is. The attached file(ath9k.tar.gz) contains kernel modules needed to get AR9271 based usb wifi dongles working on the latest stock TF300T kernel(Asus build 10.4.2.20, kernel version 3.1.10). I have tested the modules with this dongle: TP-Link TL-WN722N.
Uncompress the file and you will get an ath9k directory. Inside are the modules, 2 scripts for easy loading and unloading of the modules, and iwconfig compiled for Android. Getting the dongle working goes something like this:
Su to root. Copy htc_9271.hw to /system/etc/firmware. Run the scripts start_ath9k and stop_ath9k to load and unload the modules.
After the modules are loaded, insert the dongle into the keyboard full size usb port and run ifconfig and iwconfig as needed. If wlan0(default android wifi) is on then iwconfig will show the dongle as wlan1.
Note: I did not post this on the Dev forum because I did not develop these modules...I only changed a few lines in 2 modules before compiling them.
ath9k
I have one mtech atab7t tablet with 4.0.4 android(rooted) and 3.0.8+ kernel [email protected] can i add the driver somehow?
kerteszalex said:
I have one mtech atab7t tablet with 4.0.4 android(rooted) and 3.0.8+ kernel [email protected] can i add the driver somehow?
Click to expand...
Click to collapse
Not very likely...you would need to get your kernel source, add ath9k driver support to the kernel config, then fix any compile errors.
bads3ctor said:
Not very likely...you would need to get your kernel source, add ath9k driver support to the kernel config, then fix any compile errors.
Click to expand...
Click to collapse
you can able to make a tutor for me? i am new in these things :/
kerteszalex said:
you can able to make a tutor for me? i am new in these things :/
Click to expand...
Click to collapse
Hmmm...kernel module compiling in 1 easy lesson....not sure it's possible.
bads3ctor said:
Hmmm...kernel module compiling in 1 easy lesson....not sure it's possible.
Click to expand...
Click to collapse
I really need this usb wifi support for my tab :/ i purchased recently more powerful antennas for my router but this tablet lost the signal on the next room :/ sorry for my bad english
kerteszalex said:
I really need this usb wifi support for my tab :/ i purchased recently more powerful antennas for my router but this tablet lost the signal on the next room :/ sorry for my bad english
Click to expand...
Click to collapse
You need the kernel source for your tablet and a way to root your tablet. I did a cursory Google search for the kernel source for your tablet and I can't find it. If you can get the kernel source code for your tablet then it might be possible to compile ath9k modules. If you can't root that tablet then kernel modules won't be useful because there would be no way to load them.
bads3ctor said:
You need the kernel source for your tablet and a way to root your tablet. I did a cursory Google search for the kernel source for your tablet and I can't find it. If you can get the kernel source code for your tablet then it might be possible to compile ath9k modules. If you can't root that tablet then kernel modules won't be useful because there would be no way to load them.
Click to expand...
Click to collapse
the tablet comes with root.i can extract the kernel from it?
kerteszalex said:
the tablet comes with root.i can extract the kernel from it?
Click to expand...
Click to collapse
You need the kernel source code from the tablet manufacturer.
Hello! I have source code for my kernel (Nexus 7 4.2.2) and I successful built module cifs.ko and cp210x.ko, but i can't build module ath9_htc. I add in my nexus_defconfig file
CONFIG_ATH_COMMON=m
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K_HTC=m
but after make modules command only atk.ko created.
Sorry for my english.
SpulN said:
Hello! I have source code for my kernel (Nexus 7 4.2.2) and I successful built module cifs.ko and cp210x.ko, but i can't build module ath9_htc. I add in my nexus_defconfig file
CONFIG_ATH_COMMON=m
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K_HTC=m
but after make modules command only atk.ko created.
Sorry for my english.
Click to expand...
Click to collapse
I had to comment out a few lines of code in 2 modules to get mine to compile. On the TF300T, it has to do with LED code not present in the stock kernel that is referred to in 2 of the modules. If you use my modules on the TF300T, you will get no LED blinking on the WIFI stick when data is transmitted or received.
EDIT: Newegg has an Atheros AR9271 USB stick for $9.99 with a cradle.
http://www.newegg.com/Product/Product.aspx?Item=N82E16833166068
For anyone wondering what these modules are used for, read this:
http://forum.xda-developers.com/showthread.php?t=1714300
HELP!! Need Kernel Module ath9k for GT-N5110 Galaxy Note 8.0
HELP !!!
Could really use some help. For the life of me I can't compile a kernel module driver ath9k for my USB wireless adapter TL-WN722N. So it can be used by insmod on my rooted Galaxy Note 8.0 GT-N5110 on Kernel 3.0.31 Build BMC9 running android 4.1.2. The source code is available at opensource.samsung. and is listed as the GT-N5110 NA (north america) model. If some one could help me please? I would be forever in your debt... :good:
Hello
When trying to add modules via your script, it gives me an "exec format error" for each module. How can this be fixed?
Device: Asus Padfone A66, Android 4.1.1
hi I am getting some problem with this attach file, i decompressed it and got the directory. but what are the next stapes ? sorry but i am not getting that part to copy to system/etc/firmware. will u make clear the process stapewise?
Sorry for bothering this old thread. I'm trying to get this to work on my OnePlus 3 running Oxygen OS Nougat. I installed Linux on my phone and I would like to install the TP-LINK drivers on it as the inbuilt WiFi module on my phone does not support monitor mode. I connected this WiFi adapter and trying to get it to work. Please help.
I just need to use a wn-722n with my Nexus 10. Please recommend a stable (preferably lightweight) ROM with built in support.
I'm a basic user and not ready to build my own kernel just to run a popular wifi card.
If it has a linux chroot or overlay of some kind then even better. I know about kali nethunter but dont need all those utils and have heard the 722n can have issues with it.
Thank you.
I work for a company that is going to deploy a bunch of the BT-2000 glasses, and I've hit a wall when trying to implement an OpenVPN based client software, the problem is the stock kernel does not have the tun.ko kernel module built in. I've tried to contact Epson support about this as I know that other 4.0.4 devices did have this built in years ago but they are no help. It seems that I have no access to the kernel sources and no way to even install a custom kernel like I would on a nexus device. Any suggestions?