Glauco I'm using Android 2.2. About iptables version i don't remember and I can't see it now, but I'll see if I'm using 1.3.7 or 1.4.7.
Earlence, about building an emulator kernel image with netfilter, it will work on emulator. But when I start testing on a real smartphone, will I need to do that to? I would like the simplest solution so I will not have problem to do it again in a real smartphone. Thank you for the suggestions. > Date: Tue, 12 Apr 2011 13:02:20 -0700 > Subject: [android-kernel] Re: Iptables > From: [email protected] > To: [email protected] > > you need to build an emulator kernel image with netfilter support. > there have been many threads dealing with that on this group, search > for them. > > -Earlence > > On Apr 12, 8:03 pm, Glauco Junquera <[email protected]> wrote: > > What Android version are you using on emulator? > > I had a similar problem with Android 2.3 > > > > Try to use iptables 1.4.7 instead of 1.3.7 and probaly you will solve > > your problem, i think iptables 1.3.7 dont works properly on Android > > 2.3 kernel. > > > > On Sun, Apr 10, 2011 at 3:01 PM, Alex Castilio dos Santos > > > > <[email protected]> wrote: > > > Hi people, > > > > > I have a university project using Android. I need iptables on Android > > > emulator, so I can test my project program on the PC. But I'm having some > > > trouble with that. I'll explain what I have done. > > > > > I remounted / using "mount -o remount, rw rootfs /" and than I pushed > > > iptables to /sbin/iptables and then chmod 777 iptables. > > > > > The problem comes now. When I try to "iptables -L" the following message > > > is > > > shown: "iptables v1.3.7: can't initialize iptables table `filter': > > > iptables > > > who? (do you need to insmod?) > > > Perhaps iptables or your kernel needs to be upgraded." > > > > > I used lsmod but the message "/proc/modules: No such file or directory" > > > appears. > > > > > I'm looking for how to use iptables on Android emulator for a long time, > > > and > > > now, when I finally got it, it doesn't work correctly. So if you can help > > > me, I'll be very glad. > > > > > Thanks. > > > > > -- > > > unsubscribe: [email protected] > > > website:http://groups.google.com/group/android-kernel > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
