Wifi needs an appropriate wifi driver.  Assuming you have that you need to
list the wifi softap interface in an overlay of
frameworks/base/core/res/res/values/config.xml, config_tether_wifi_regexs.

R

On Wed, Nov 17, 2010 at 2:39 AM, guru <[email protected]> wrote:

> Hi Hamilton Vera,
>
> I enabled CONFIG_IP_NF_FILTER option in kernel. Now that error is not
> coming.
> But in settings "Portable Wi-Fi hotsopt settings" option is still
> disabled.
>
> any idea?
>
> I am getting below logs for iptables...
>
> I//system/bin/iptables(  790): ACCEPT  0 opt -- in eth0 out eth0
> 0.0.0.0/0  -> 0.0.0.0/0  state RELATED,ESTABLISHED
>
> I//system/bin/iptables(  790): ACCEPT  0 opt -- in eth0 out eth0
> 0.0.0.0/0  -> 0.0.0.0/0
>
> I//system/bin/iptables(  790): MASQUERADE  0 opt -- in * out eth0
> 0.0.0.0/0  -> 0.0.0.0/0
>
> ---
> ---
> I//system/bin/iptables(  790): Flushing chain `INPUT'
>
> I//system/bin/iptables(  790): Flushing chain `OUTPUT'
>
> I/RecoverySystem( 1069): No recovery log file
>
> I//system/bin/iptables(  790): Flushing chain `FORWARD'
>
> I//system/bin/iptables(  790): Flushing chain `PREROUTING'
>
> I//system/bin/iptables(  790): Flushing chain `POSTROUTING'
>
> I//system/bin/iptables(  790): Flushing chain `OUTPUT'
>
> I//system/bin/iptables(  790): ACCEPT  0 opt -- in eth0 out eth0
> 0.0.0.0/0  -> 0.0.0.0/0  state RELATED,ESTABLISHED
>
> I//system/bin/iptables(  790): ACCEPT  0 opt -- in eth0 out eth0
> 0.0.0.0/0  -> 0.0.0.0/0
>
> I//system/bin/iptables(  790): MASQUERADE  0 opt -- in * out eth0
> 0.0.0.0/0  -> 0.0.0.0/0
>
>
>
> Thanks
> Gururaja B O
>
>
>
>
> On Nov 12, 6:55 pm, Hamilton Vera <[email protected]> wrote:
> > Hum, quite strange.
> >
> > If your netfilter is "kernel builted-in", maybe you can try to build
> > as modules and load them using insmod.
> >
> > lsmod | grep tables
> > ip_tables               9991  1 iptable_filter
> > x_tables               14299  1 ip_tables
> >
> > []'s
> >
> > Hamilton Vera
> >
> >
> >
> > On Fri, Nov 12, 2010 at 2:09 AM, Gururaj BO <[email protected]>
> wrote:
> > > Hi Hamilton,
> >
> > > Netfilter is configured. if if see .config Nerfilter options are
> enabled.
> >
> > > Thanks
> > > Gururaja B O
> >
> > > On Wed, Nov 10, 2010 at 6:08 PM, Hamilton Vera <
> [email protected]>
> > > wrote:
> >
> > >> Hi, make sure that netfilter is configured properly  in your kernel
> >
> > >> On Wed, Nov 10, 2010 at 8:57 AM, guru <[email protected]> wrote:
> > >> > Hi All
> >
> > >> > I enabled the wifi tethering option in settings and when I turn on
> > >> > wifi, it is showing Wifi tethering available but from logs I am
> seeing
> > >> > above error. Below is the log
> >
> > >> > D/NetdConnector( 1022): SND -> {nat enable eth0 eth0} {null}
> > >> > I/FrameworkListener(  757):  before read c->getSocket() = 14
> > >> > I/FrameworkListener(  757):  before dispatchCommand ,buffer = nat
> > >> > enable eth0 eth0
> > >> > W/FrameworkListener(  757): data =nat enable eth0 eth0
> > >> > W/FrameworkListener(  757): Insid For Lood argv[0]= nat
> > >> > W/FrameworkListener(  757): getCommand= interface
> > >> > W/FrameworkListener(  757): Insid For Lood argv[0]= nat
> > >> > W/FrameworkListener(  757): getCommand= ipfwd
> > >> > W/FrameworkListener(  757): Insid For Lood argv[0]= nat
> > >> > W/FrameworkListener(  757): getCommand= tether
> > >> > W/FrameworkListener(  757): Insid For Lood argv[0]= nat
> > >> > W/FrameworkListener(  757): getCommand= nat
> > >> > W/FrameworkListener(  757): If
> > >> > I//system/bin/iptables(  757): iptables v1.3.7: can't initialize
> > >> > iptables table `filter': Table does not exist (do you need to
> insmod?)
> > >> > I//system/bin/iptables(  757): Perhaps iptables or your kernel needs
> > >> > to be upgraded.
> > >> > I/logwrapper(  757): /system/bin/iptables terminated by exit(3)
> > >> > D/NetdConnector( 1022): RCV <- {400 Nat operation failed (I/O
> error)}
> > >> > W/NetdConnector( 1022): Check =true
> > >> > W/NetdConnector( 1022): not an USB Event
> > >> > D/NetdConnector( 1022): RSP <- {400 Nat operation failed (I/O
> error)}
> > >> > D/NetdConnector( 1022): SND -> {tether interface remove eth0} {null}
> > >> > I/FrameworkListener(  757): before read c->getSocket() = 14
> > >> > I/FrameworkListener(  757): before dispatchCommand ,buffer = tether
> > >> > interface remove eth0
> >
> > >> > Please let me know why this problem is coming and where I need to do
> > >> > changes?
> >
> > >> > Thanks
> > >> > Gururaja b o
> >
> > >> > --
> > >> > unsubscribe: 
> > >> > [email protected]<android-porting%[email protected]>
> > >> > website:http://groups.google.com/group/android-porting
> >
> > >> --
> > >> Hamilton Vera
> > >> int Administrator (char Network[],char ComputationalSystems[])
> > >>http://hvera.wordpress.com
> >
> > --
> > Hamilton Vera
> > int Administrator (char Network[],char ComputationalSystems[])
> http://hvera.wordpress.com
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to