DroidWall X8 - XPERIA X8 General

"can't initialize iptables table 'filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded."
This error message unfortunately means that your kernel does not support iptables/netfilter, so DroidWall will not work.
There is nothing I can do on DroidWall to make it work, and the only possible solution is to flash a customized ROM with netfilter support.
Anybody have a ROM with netfilter?
or somebody can make it?
I'm a beginner in this os.
Please help

Sensitivity said:
"can't initialize iptables table 'filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded."
This error message unfortunately means that your kernel does not support iptables/netfilter, so DroidWall will not work.
There is nothing I can do on DroidWall to make it work, and the only possible solution is to flash a customized ROM with netfilter support.
Anybody have a ROM with netfilter?
or somebody can make it?
I'm a beginner in this os.
Please help
Click to expand...
Click to collapse
Only by changing kernel and this is not possible at the moment.
Sent from my E15i using XDA Premium App

Is there any alternative app or is there only DroidWall. I mean working on Xperias

Related

[IDEA] 2 TB SDCARD for Free 8) Mount CIFS Shares deppending on WLAN Access Point

Hello world ! 8)
I mannaged to mount my complete shares on my windows Network to SD-Card ...
I'm using CM6 RC1 and i can simply do a :
modprobe cifs
mount -t cifs //192.168.0.X/share /sdcard/smbshare -o username=XXX,password=YYY
on Computer (PC-here 192.158.0.X) you have to make a share with the name "share" - on SDCARD in your android you have to make a directory with the name smbshare - the dir you are going to mount the PC-Share into)
magicly my sdcard is now a 1,5 Terabyte hdd ... 8)
No more streaming clients are need - just access MP3/DivX/MKV/PDF/etc.
WITHOUT DOWNLOADING TO SDCARD FIRST ...!
(watched a DivX movie directly with Rock-Player 5 minutes ago ... no copy to SDCARD nessasary)
Problem : after a reboot everything is gone ... 8) ... no automatic rermount - no difference between different WLAN-Routers
I am not firm enough on linux to write a script and do the neccasary things to get some logic behind this feature.
It would be wonderful if someone can programm a gui which fires up the nessasary mount when connecting to a wlan - differing between different wlans (networks) with different ressources.
shelling arround is not the best way for android users - something GUI like (e.g. Astro with SMB Modul - but mounting the share instead of copying to sdcard) would give everyone direct access to every file on the network without the nessasary streaming.
Even VPNing to the share should be possible ... giving direct access without streaming servers like ORK/etc.
Good idea ? please add some comments ...
************************************************************
************************************************************
Edit :
A small GUI frontend for managing CIFS shares is available in the following thread:
http://forum.xda-developers.com/showthread.php?t=756158
Let the show beginn !
Very good idea.
I'll take a look into it. Maybe after the weekend. We'll see..
That sounds f**** great! 8)
Thanks for the positive reply!
Sent from my Desire using XDA App
fogbav you can use GScripts for have a link to a script that do this command for you, and have differents scripts for do the same on different WLan.
Code:
#!/bin/bash
MY_USERNAME="your_user_name_here"
MY_PASSWORD="your_password_here"
modprobe cifs
mount -t cifs //192.168.0.X/share /sdcard/smbshare -o username=${MY_USERNAME},password=${MY_PASSWORD}
Wow ... that looks promising ... will test soon.
Thank you very much for the script !
Edit : Works like hell ... thank you ! Now let's see if beidl can do some magic tricks with "usability" and "different WLAN/Shares" logic.
Thank you all ...
What firmwares are you guys using? I'm on LeeDroid 1.6 and seems like cifs is not present for me after doing 'lsmod'. Thanks.
Cyanogen. 6 RC1. So it is Froyo...
Sent from my Desire using XDA App
If someone can provide me a cifs.ko module working with the official HTC Froyo (kernel version 2.6.32.15) then I can start working on a GUI.
I honestly don't want to go back to CM until it's problems are solved and 720p is working.
beidl said:
If someone can provide me a cifs.ko module working with the official HTC Froyo (kernel version 2.6.32.15) then I can start working on a GUI.
I honestly don't want to go back to CM until it's problems are solved and 720p is working.
Click to expand...
Click to collapse
Isn't the kernel source needed to compile a module for that specific kernel?
martino2k6 said:
Isn't the kernel source needed to compile a module for that specific kernel?
Click to expand...
Click to collapse
Well, it depends. One of the today released ROMs has a tun and ext4 module included, still we don't have HTCs new kernel sources. The thing is that I'm sure someone here on xda has access to the private HTC repositories. I remember the old days of the G1 community when someone gave "cyrowski" (old G1 dev) a dump of HTCs private git repository.
But I guess I'll most probably try the newest CM nightly anyways. So then I can also try to write a nice little GUI.
If you can get this working on roms with no cifs in app form it will be epic. I'll be more than happy to be a tester.
Had the above script workin fine in Adams OD 3.02 but had to go back to DeFrost without cifs (I think, didn't work anyway). I miss being able to stream EVERYTHING.
You can dooooo iiiiiiit!
Sent from my HTC Desire using XDA App
Sorry if this is a nooby question. Which ROM should i try this on and what should i enter the commands in?
I am happy to test this as it looks promising.
Thanks.
Bump......
Hi... i think you have to use a non stocked rom compiled with kernel from source code like cm6 opendesire. Stock roms dont have cifs function even new 2.2 official build doesnt have it until source is released by HTC.
Sent from my HTC Desire using XDA App
So do i enter the code in a terminal app?
ukmaddnes1 said:
So do i enter the code in a terminal app?
Click to expand...
Click to collapse
Yes.
(too short blah blah blah)
i get an error with modprobe that file or directory does not exist
su
modeprobe cifs
if this gives an error ... it seems there is no CIFS modul in your rom ... use CM6 ...
again error....it seems that i don't have the module installed........can anyone upload the module and tell me where to put it ???? i mean into what folder it should be
are there any guides on adding cifs into an existing rom/kernel? dont mind doing the work, just have no idea where to start atm.

Droidwall and CWM3

Hi guys,
I just wanted to ask u if anybody uses Droidwall and has CWM3 recovery on his phone.
In the past when I was trying CM7 for SGS I found out that Droidwall was not working and I thought that its problem of CM7 being in beta stage.
But now I tried JVK firmware with kernel from Chainfire and Droidwall was not working too.
And what do these two fw have in common? Yes, both uses CWM3 recovery, so I came to a conclusion that there is some problem between Droidwall and CWM.
So again, my question is if anybody succesfuly uses Droidwall with CWM3 recovery.
Thanks in advance for your answers.
Mikulec said:
So again, my question is if anybody succesfuly uses Droidwall with CWM3 recovery.
Thanks in advance for your answers.
Click to expand...
Click to collapse
Yes I do and it works without problems (DroidWall v1.5.0)
Try reinstalling DroidWall from Market if you get errors like "Segmentation Fault"
while trying to Activate the FW.
Or maybe you're still using v2.4 of CF-Kernel?
Yep, it was v2.4 kernel, was there some problem in v2.4? I saw that there is a new version.
Anyway thanks, at least I know its not caused by cwm3.
it might be droidwall now includes a patch similar to my cm7 iptables in newer versions, if not, the bundled iptables segfaults
you can fix it by installing that:
(FOR CM7 ONLY) http://kang.project-voodoo.org/f/iptables-cm7-kang.zip
Mikulec said:
But now I tried JVK firmware with kernel from Chainfire and Droidwall was not working too.
Click to expand...
Click to collapse
Same Problem here....
JVK and Chainfire 2.5 Droidwall not working
Script is mounting /system as yaffs2, obviously that is not going to work.
As I am big noob to the dev. stuff, Chainfire do you think the developer of Droiwall will be able to fix that?
bilboa1 said:
it might be droidwall now includes a patch similar to my cm7 iptables in newer versions, if not, the bundled iptables segfaults
you can fix it by installing that:
(FOR CM7 ONLY) http://kang.project-voodoo.org/f/iptables-cm7-kang.zip
Click to expand...
Click to collapse
I am going to try that, will post if it works.
Well I have no idea if the executable itself will work right... I just know that update script doesn't work
Fix for iptables / Droidwall posted here: http://forum.xda-developers.com/showpost.php?p=12527335&postcount=1212
You know what Chainfire? Its working, but u sure know that already.
U are my true hero now, thank you very much.
is it just me or the fix doesn't help?
mike.sw said:
is it just me or the fix doesn't help?
Click to expand...
Click to collapse
Definitely works for me.
when trying to watch the log or viewing the rules i can see lots of Segmentation Fault errors. can you view your log?
Many Thanks to Chainfire!!
It works for me fine...
I got an error when trying enable Droidwall, but Droidwall is enabled and work in Background. So everythink ist perfekt for me

[Q] tun.ko for Gingerbread 2.3.4 (XXJVO)

Hello,
I had a tun.ko working with FROYO, but this tun.ko module doesn't work with Gingerbread 2.3.4 anymore.
Where can I find a new tun.ko module for Gingerbread 2.3.4 (XXJVP) ?
Thanks in advice
Use Darky's rom (10.1). Works great with OpenVPN.
Check load tun kernel module using insmod
Location is /lib/modules/tun.ko
Binary is installed to /system/xbin/openvpn
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
xdadev_user said:
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
Click to expand...
Click to collapse
Don't have time right now, but I'll try to compile it for JVP tomorrow.
Sent from my GT-I9100 using Tapatalk
don't know if it works, but this is the one extracted from latest darky's rom kernel.
I'm still on 2.2.1, but you may try it and post some feedback..
xdadev_user said:
Hi,
thanks for this info, but currently I'm happy with my flashed/configured phone.
Is it possible, that you or someone else post tun.ko here ?
Click to expand...
Click to collapse
I had a quick look, and as far as I can tell tun.ko should not be required as it should be built into the kernel in Gingerbread (that is, if you are not using a custom kernel). At least it is enabled in the kernel config that comes with the sources, can't confirm if it's actually enabled in the shipped kernel, but it should be.
@captive
thanks for this tun.ko, but it doens't work.
Code:
insmode tun.ko
invalid module format. Maybe this module is for 2.3.3.
@jps1974
lsmod shows me no tun device
Or can someone explain me how I can build my tun.ko ?
xdadev_user said:
@captive
thanks for this tun.ko, but it doens't work.
Code:
insmode tun.ko
invalid module format. Maybe this module is for 2.3.3.
@jps1974
lsmod shows me no tun device
Or can someone explain me how I can build my tun.ko ?
Click to expand...
Click to collapse
That's because it's not a kernel module but built into the kernel instead. So whatever you're trying to do should, from what I understand, work without having to load any module. Anyway, here's a tun.ko that you can try.
my question was stupid
thanks @jps1974,
but with your tun.ko I got the same error message
invalid module format
Click to expand...
Click to collapse
Any idea, what I'm doing wrong ? With Froyo I had no problem.
A module must only be compiled for correct kernel version 2.6.35.7, or?
My Basisbandversion: I9000XXJVP
Kernel-Version: 2.6.35.7-I9000XXJVO-CL182937
Buildnumber: GINGERBREAD.XXJVP
sorry for my dump question, but i´ve never heard about tun.ko
can someone tell me what the **** that is ?
xdadev_user said:
thanks @jps1974,
but with your tun.ko I got the same error message
Any idea, what I'm doing wrong ? With Froyo I had no problem.
A module must only be compiled for correct kernel version 2.6.35.7, or?
My Basisbandversion: I9000XXJVP
Kernel-Version: 2.6.35.7-I9000XXJVO-CL182937
Buildnumber: GINGERBREAD.XXJVP
Click to expand...
Click to collapse
Oh, so you have a JVP firmware with a JVO kernel - you neglected to mention that
Try the attached file.
The module must be compiled using the exact same source code that was used to build the kernel, and also in this case the version string (2.6.35.7-I9000XXJVO-CL182937 ...) must match exactly the kernel. I believe this is because the kernel is compiled without module versioning support, someone please correct me if I'm wrong.
Did you really need the tun.ko? I think thats compiled in the kernel and you don´t need that any more. I have vpncwidget for my vpn connection to my fritzbox.
Hi,
thanks @jps1974,
but with your tun.ko I got the same error message :-(
But I thínk Woddi123 and you jps1974 (mentioned before) are right.
I still have a /dev/tun device. So maybe I really don't need a tun.ko anymore.
Edit: Yes vpnc works. Sorry for this confusions.

[kexec exploryng][sbf checking] need help

Guys, we with Quarx now exploryng kexec module.
As far i can see, we need /proc/atags node to exist in system to use it.
Maybe you can help me.
I need that you flash all sbf that we have...
And check if such node exists(/proc/atags)
If so - we can get working kexec and custom kernels for ever.
Please ,check it.
Thanks!
Is /proc/atags just a copy of the atags struct (which comes from the CDT)? It's probably possible to create a module (using symsearch if necessary) to add that if it is all we need... but I assume quarx is aware of that approach? Worst case we just copy the bits out and fake it. Did you look into that already? In the interim, you could build a fastboot kernel that has /proc/atags for kexec testing (I assume--unless the Motorola kernel source doesn't include /proc/atags support then it will take more work and I assume none of the released kernels would have it). Time to start the grep incantations.
Edit: In arch/arm/Kconfig I see:
Code:
config ATAGS_PROC
bool "Export atags in procfs"
depends on KEXEC
default y
help
Should the atags used to boot the kernel be exported in an "atags"
file in procfs. Useful with kexec.
Default y means either that Motorola explicitly disabled it, or that it's been disabled in the OMAP tree.
boot5.img have atags support.
Already get that info to http://fjfalcon.ru/atags
It does look like /proc/atags is just a memcpy of the struct that comes from the CDT.
I think the problem is the /proc/atags depends on KEXEC support in the kernel. So needing /proc/atags is the tip of the iceberg and the iceberg is "we need a kernel that supports KEXEC". I'm guessing there's no chance in hell that's there on any kernels. I wonder if there's a way to check whether atags.c was included by looking at only the kernel images rather than flashing them all. So, I'm guessing boot5.img has KEXEC support. Or do you have a kexec module that you're injecting? They've tried kexec on Milestone a long time ago, so there must be a way around missing kexec in the kernel.
Damn, for now i used kexec-arm -e /sdcard/kernel and get phone frozen.
I need uart..
http://fjfalcon.ru/kexec_load.ko
fjfalcon said:
Guys, we with Quarx now exploryng kexec module.
As far i can see, we need /proc/atags node to exist in system to use it.
Maybe you can help me.
I need that you flash all sbf that we have...
And check if such node exists(/proc/atags)
If so - we can get working kexec and custom kernels for ever.
Please ,check it.
Thanks!
Click to expand...
Click to collapse
I check if I had /proc/atags in a nandroid backup (French stock sbf) with unyaffs but I doesn't have.
Zachary57 said:
I check if I had /proc/atags in a nandroid backup (French stock sbf) with unyaffs but I doesn't have.
Click to expand...
Click to collapse
/proc is a memory filesystem generated by the kernel after boot, unfortunately. You would have to boot the kernel to check. Nevertheless I'm pretty confident that none of our kernels has it because enabling /proc/atags in the kernel *requires* also enabling kexec in the kernel according to the XT720's kernel source. I can't think of any reason for Motorola to ever enable kexec in their kernel (kexec allows booting a second kernel from the current kernel which is why we're interested in it--motorola developers would be using engineering devices and flash whatever kernel they want directly).
fjfalcon said:
Guys, we with Quarx now exploryng kexec module.
As far i can see, we need /proc/atags node to exist in system to use it.
Maybe you can help me.
I need that you flash all sbf that we have...
And check if such node exists(/proc/atags)
If so - we can get working kexec and custom kernels for ever.
Please ,check it.
Thanks!
Click to expand...
Click to collapse
sir, there is no /proc/atags in modsbf .sbf . tqvm

[Q] CIFS/SMD Mount

Hey,
today I tought about mounting my Windows network share on my rooted Nexus 4.
I searched a bit and found the App CifsManager, but it doesn't seem to work.
I think the problem is a missing module the kernel needs, cfis.ko rather.
Are I am right when I think there needs to be a device-specific module?
If so, is there already a module out there? If not, can you post a link to the needed module?
When I'm out in left field, how do I mount my network shares?
Greetings
I would also very much appreciate it if someone could direct me to a cifs module for the stock 4.2.1 kernel.
Bump -- anyone know which kernels include a cifs module or where one could get a cifs module for use with 4.2 on the N4?
Thanks
Bump.
Bump.
HashWorks said:
Bump.
Click to expand...
Click to collapse
I understand CM 10.1 has CIFS support built into the kernel. That said, I still cannot get it to work - neither through cifsmanager or through adb shell manually.
I am going to post some request for assistance to see if I can get this working and will post back here if I do.

Categories

Resources