android 8.0 can not setting gateway when dhcp server ack

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

android 8.0 can not setting gateway when dhcp server ack

1,473件の閲覧回数
james_wu1
Contributor I

Dear All

our wifi get dhcp ip but can not setting the gateway.

NetworkManagementService response below message. please help.

08-13 12:49:02.885 400 482 D ConnectivityService: NetworkAgentInfo [WIFI () - 106] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to CONNECTED
08-13 12:49:02.898 400 482 E ConnectivityService: Exception adding interface: java.lang.IllegalStateException: command '192 network interface add 106 wlan0' failed with '400 192 addInterfaceToNetwork() failed (Address family not supported by protocol)'
08-13 12:49:02.899 258 359 E Netd : interface wlan0 not assigned to any netId
08-13 12:49:02.908 400 482 E ConnectivityService: Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '194 network route add 106 wlan0 10.10.10.0/24' failed with '400 194 addRoute() failed (No such device)'
08-13 12:49:02.923 400 482 E ConnectivityService: Exception in addRoute for gateway: java.lang.IllegalStateException: command '195 network route add 106 wlan0 0.0.0.0/0 10.10.10.254' failed with '400 195 addRoute() failed (No such device)'

thank you.

James

ラベル(1)
0 件の賞賛
返信
1 返信

1,292件の閲覧回数
b36401
NXP Employee
NXP Employee

Please pay attention on "106" in this log.
Here as address is expected instead.
So please make sure that wifi interface is configured correctly.

Also as a workaround please try to play with turning off or on IPv6.

0 件の賞賛
返信