This is my definition in init.rc:
service dhcpcd /system/bin/dhcpcd -o domain_name_servers -ABKL
disabled
oneshot
NOTE if you're using Froyo, you cannot add the interface (eth0).
But if you're using older version, eth0 is necessary.
If it still doesn't work, you need to capture the
packets replied from dhcp server to see what's wrong.
On 8月5日, 下午9時45分, guru <[email protected]> wrote:
> Hi Chih Wei
>
> Can you comment on my below mail! Just I need direction not exact
> solution.
>
> Thanks
> Gururaja B O
> On Aug 3, 1:34 pm, Chih-Wei <[email protected]> wrote:
>
> > The problem is, domain_name_servers is not
> > a default option in Android's dhcpcd.
> > I don't understand why.
>
> > Either modify external/dhcpcd, or add
> > domain_name_servers to your dhcpcd.conf,
> > or add -o domain_name_servers to your
> > dhcpcd command.
>
> > On 8月3日, 下午2時21分, guru <[email protected]> wrote:
>
> > > Hi All
>
> > > I am trying to enable wifi in froyo. I did some modification to the
> > > code base
>
> > > Now wifi is enabled and scanning. But it is not connecting
>
> > > logs shows that gateway dsn1 dsn2 server everything is zero.
>
> > > V/WifiStateTracker( 1020): IP configuration: ipaddr 10.50.200.236
> > > gateway 0.0.0.0 netmask 0.0.0.0 dns1 0.0.0.0 dns2 0.0.0.0 DHCP server
> > > 0.0.0.0 lease -1398609015 seconds
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting