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 <glauco...@gmail.com> 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
>
> <alex_c...@hotmail.com> 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: android-kernel+unsubscr...@googlegroups.com
> > website:http://groups.google.com/group/android-kernel

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to