Hi Chih-Wei
I added -o domain_name_servers as below
service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ieth0 -c/
data/misc/wifi/wpa_supplicant.conf
group wifi inet
disabled
oneshot
service dhcpcd /system/bin/dhcpcd -B -o domain_name_servers eth0
disabled
oneshot
the log showing
IP configuration: ipaddr 0.0.0.0 gateway 0.0.0.0 netmask 0.0.0.0 dns1
10.50.201.5 dns2 125.22.47.125 DHCP server 0.0.0.0 lease -1398609015
seconds
now dns1 is coming but not ipaddr and netmask, DHCP servers are not
coming?
where I am going wrong?
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
>
> > Please let me know where I need to change to achieve desired result.
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting