IPTABLES binary and modules - XPERIA X10 Android Development

Did anyone managed to install iptables on a rooted X10?

What I read is,you need first to activate netfilter hooks in kernel,like cyanogenmod,native SE kernel hasn't activated yet,i think.
Waiting for Roms

collider said:
What I read is,you need first to activate netfilter hooks in kernel,like cyanogenmod,native SE kernel hasn't activated yet,i think.
Waiting for Roms
Click to expand...
Click to collapse
So, netfilter is disabled?
Damn it...
I was hoping is enabled but the release doesn't have the binaries/modules...
Somebody here got samba working and i was hoping it was the same issue

Related

netfilter for superboot kernel

Hi Guys,
after a lot of experiments with the various custom roms out there, I decided to settle with stock for now until the mods stabilize a bit more.
I applied modaco's EPE54B superboot+highmem and manually installed busybox for Titanium Backup. The only thing missing for me is Wireless Tethering.
Now to my question: Is CONFIG_NETFILTER=y really needed for WT, or could I load netfilter as a module. I'm asking because I don't want to go throug the hassles to build my own kernel with nf+hiighmem
If it has to be built into the kernel, does anyone know where I could find the .29+highmem source modaco used for his build?
Thanks very much,
Paul
seems like a kernel module should work fine...the only way to know for sure is to try.
is modprobe on the default system?
I was running superboot mostly stock with a setup similar to yours for a while, busybox and a few utils manually installed, manually updated EPE54B etc. Decided to flash modaco's 'insecure' rom and flash over the undervolted 2.6.33 kernel though. This has been working great, as I get full ADB support form the ramdisk of modaco's insecure, and all the benefits of himem, undervolting/battery life, speed, and tethering from the UV 2.6.33 kernel.
Not something your considering?
Thanks for your answers.
The .32 and .32 kernels are crashing for me regularly. Soft-Rebooting, that is.
Maybe it's because they all seem to be UV or OCed.
Also, I tried to keep my device as stock as possible. But I can't live without highmem
Modprobe seems to be available from busybox.
Also insmod.
I still would need the .29+highmem source for compiling the module, right?
Cause Paul from Modaco hasn't answered me yet
Best wishes,
Paul (sic )
pschyska said:
I still would need the .29+highmem source for compiling the module, right?
Click to expand...
Click to collapse
http://github.com/cyanogen/cm-kernel/tree/android-msm-2.6.29-nexusone-highmem
.29 with highmem
packetlss said:
http://github.com/cyanogen/cm-kernel/tree/android-msm-2.6.29-nexusone-highmem
.29 with highmem
Click to expand...
Click to collapse
TYVM - I will try it when I am back home.
If you can get it working can you post a tutoral on how to do it?
yes a tutorial would be awesome. I also want as stock a phone as I can get, but need (read: want) himem and wireless tether.

[Q] tun.ko / kernel sources for LG P500

I'm sorry if this is yet another thread for kernel recompilation and tun.ko.
I would like to be able to use openvpn with the P500... but I can't find the source for the kernel used in the LG P500.
Can I use generic sources for 2.6.32.9 or is a lg-patched kernel required?
xdadevc
Did it myself...
Well... I helped out myself
Here's a tun.ko module for the LG P500! Openvpn works now.
Since source is not available from LG (yet) the module is compiled from the original 2.6.32.9 sources used in the P500 and it works in my P500 (tested with tun openvpn).
xdadevc
Hello,
thanks I've searched it for many hours. I must look if it works, but i can load it per insmod that is a right way.
Also now I must configurate my own openVPN network.
Thanks a lot.
Greeting schreibnix
Great news! Thanks =)
Thanks a lot...looking forward to test it
Once kernel source drops if you guys notify me I'll Oc it like I did the optimus S and lg ally.
Yes, OC kernel
We need some power for our OO
Hi i want to test my OpenVPN server but i need tap kernel driver, have you compile it?
Many thanks
xdadevc said:
Here's a tun.ko module for the LG P500! Openvpn works now.
Click to expand...
Click to collapse
Thank you very much my friend! I downloaded it and works like a charm! I have some minor dns problems, but I'm sure I'll find the solution.
dimiz said:
Hi i want to test my OpenVPN server but i need tap kernel driver, have you compile it?
Many thanks
Click to expand...
Click to collapse
AFAIk there is no tap kernel driver for openvpn,
we can only use tun
the tun.ko on cm7's rom is not compatible with the kernel.
so i searched for a compatible tun.ko for the kernel
anyone who have some problems on configuration (config file of openvpn )
you can contact me,
FYI we use openvpn here in our country to have free internet, ( using backdoor connection )breaking onto the network's firewall
cmangalos said:
AFAIk there is no tap kernel driver for openvpn,
we can only use tun
the tun.ko on cm7's rom is not compatible with the kernel.
so i searched for a compatible tun.ko for the kernel
anyone who have some problems on configuration (config file of openvpn )
you can contact me,
FYI we use openvpn here in our country to have free internet, ( using backdoor connection )breaking onto the network's firewall
Click to expand...
Click to collapse
Hi bro,
I cannot make it to work with my phone. I'm running Mik_os CM7 on my LG P500. Please help. Thanks!
tun.ko
Hi, I need to tun.ko for P500 Android 2.3.3 core 2.6.35.10-perf. Can you help me?
multibestia said:
Hi, I need to tun.ko for P500 Android 2.3.3 core 2.6.35.10-perf. Can you help me?
Click to expand...
Click to collapse
You mean the stock **** kernel? No, cannot help. Download the sources and compile it.
Or just flash a saner kernel from Paolo or franco.
tun.ko for LGP 500 with Android 2.3.3
After searching all the forums and all the possible forums , I couldn't find anywhere the Tun.ko module of LGP 500 with Gingerbread.
I decided to re-compile the kernel module to build tun.ko and got it working successfully
I am able to connect to VPN
Attaching if anyone want to use it
Tested on Bell LG E720B optimus Chic
xdadevc said:
Well... I helped out myself
Here's a tun.ko module for the LG P500! Openvpn works now.
Since source is not available from LG (yet) the module is compiled from the original 2.6.32.9 sources used in the P500 and it works in my P500 (tested with tun openvpn).
xdadevc
Click to expand...
Click to collapse
This particular one works on my Bell LG E720B Optimus Chic if anyone is interested.
xdadevc said:
Well... I helped out myself
Here's a tun.ko module for the LG P500! Openvpn works now.
Since source is not available from LG (yet) the module is compiled from the original 2.6.32.9 sources used in the P500 and it works in my P500 (tested with tun openvpn).
xdadevc
Click to expand...
Click to collapse
Hi,
could you shows the steps how you compile it..
Was trying to get tun.ko for 2.6.35.10-perf+ (V20G)
kdpandian said:
After searching all the forums and all the possible forums , I couldn't find anywhere the Tun.ko module of LGP 500 with Gingerbread.
I decided to re-compile the kernel module to build tun.ko and got it working successfully
I am able to connect to VPN
Attaching if anyone want to use it
Click to expand...
Click to collapse
it worked for me bro... thanx a million...
sagardrokr said:
it worked for me bro... thanx a million...
Click to expand...
Click to collapse
Hi...
This sounds very promising. I can't see the attachment for tun.ko for LGP 500 with Gingerbread. Can you please attach it.
Many Thanks,
--
Indrajeet

include iptables support in aosp roms?

just a quick question, are someone planning to include iptables support in any custom rom, so we can use DroidWall in our X10's??It's very usefull for those who haven't unlimited data plan.
Thank you
+1 : I second that
Even if you add iptables you cannot use it without enabling the netfilter in the kernal. If you cannot change the kernal (i mean if ASOP need the exact same kernal of SE) it is not possible . Correct me if I'm wrong.
It would be nice to have iptables so we can use transproxy and use wifi proxy.
I was aware of the netfilter issue, but I thought our fantastic cookers could do something about it, I was hoping this this tio be possible at least in the aosp 2.2 rom
Sent from my X10i using XDA App

[Help] Unable to start wifi - After installed custom kernel

Hi everyone,
My X10i said that it cannot enable wifi after I had installed custom kernel on STOCK ROM (I have tried many of stock firmwares but the same problem). The custom kernel I used is:
- FreeKernel-alpha1 by zdzihu
- FreeKernel-alpha1-in-call volume fix by zdzihu
I also used the FreeXperia Kernel beta4 by Bin4ry. The wifi works good but I cannot start a full benchmark from Quadrand. It said that "this phone does not support ..." something like that when I tried to benchmark.
Please help!
Thanks in advance.
Custom kernals aren't supported at this point so it would make sense that you had some error, especially when you are installing it on a STOCK rom. There's not much you can do until they develop something stable =)
aval1392 said:
Custom kernals aren't supported at this point so it would make sense that you had some error, especially when you are installing it on a STOCK rom. There's not much you can do until they develop something stable =)
Click to expand...
Click to collapse
Thanks, I create this thread because I watched the video in which X10i (STOCK firmware) installed custom kernel from zdzihu and the wifi works properly. But mine is not working.
Just download "barnacle" from the marketplace and use that. It works perfectly.
sasukewa said:
Just download "barnacle" from the marketplace and use that. It works perfectly.
Click to expand...
Click to collapse
Sorry, I mentioned about the native wifi, not the Wifi tethering . Thanks any way
FiDra said:
Sorry, I mentioned about the native wifi, not the Wifi tethering . Thanks any way
Click to expand...
Click to collapse
Can you post a dmesg of the error right after the "Unable to start Wi-fi" ?
Open a terminal emulator and type dmesg, save the text and attach it here, I have a similar problem :
http://forum.xda-developers.com/showthread.php?p=12882017
Thanks, I will do it and post the info asap.
one possible reason could be..
wifi.ko needs to insmod in the kernel mine was stuck coz of that.
did you used flashable zip to install kernel or manually did the editing.
please post your chargemon @ /system/bin/chargemon
+ logcat.

[Q] samsung galaxy s2 i9100g config.gz missing

i tried to install ubuntu on my sgs2 via linux installer but as soon i open it it says:
Sorry, but your kernal does not have the necessary features for install linux.
please check kernal:
kernal feature is not known because the /proc/config.gz
file is not found.
i rooted my sgs2 on its stock rom update i.e. 2.3.6 i9100GDDKI1
kernal version 2.6.35.7
build no. GINGERBREAD.XWKJ2
please help me. and if it is not possible to install ubuntu via this software please suggest me another method.
jash2711 said:
please check kernal:
kernal feature is not known because the /proc/config.gz
file is not found.
Click to expand...
Click to collapse
I would suggest you don't play with your phone if you don't know what you're doing...
When you compile a kernel in linux, you have the option to enable/disable the creation of config.gz inside the kernel or outside it. If that option is disabled, you won't be able to get the .config the kernel was built with.
The option required is IKCONFIG or Kernel .config support
This option enables the complete Linux kernel ".config" file contents to be saved in the kernel. It provides documentation of which kernel options are used in a running kernel or in an on-disk kernel. This information can be extracted from the kernel image file with the script scripts/extract-ikconfig and used as input to rebuild the current kernel or to build another kernel. It can also be extracted from a running kernel by reading /proc/config.gz if enabled (below).
Click to expand...
Click to collapse
So if you want to have /proc/config.gz support you either need to recompile the kernel with CONFIG_IKCONFIG enabled or find a kernel that has it enabled by default.
AzureusPT said:
I would suggest you don't play with your phone if you don't know what you're doing...
When you compile a kernel in linux, you have the option to enable/disable the creation of config.gz inside the kernel or outside it. If that option is disabled, you won't be able to get the .config the kernel was built with.
The option required is IKCONFIG or Kernel .config support
So if you want to have /proc/config.gz support you either need to recompile the kernel with CONFIG_IKCONFIG enabled or find a kernel that has it enabled by default.
Click to expand...
Click to collapse
does that mean i have to flash my sgs2? bcoz i didnt flash it earlier. just rooted it with doomlord rooting toolkit. so didnt ask me any of these option. if there is any other way like just unrooting it and thn rooting it back with the above mentioned option please tell me how to do that.
sorry if am asking too many or silly questions but apparently there is not too much of support for my android device.
can anyone please suggest a soln fast?
jash2711 said:
if it is not possible to install ubuntu via this software please suggest me another method.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1223128

Categories

Resources