AnsweredAssumed Answered

android 8.0 can not setting gateway when dhcp server ack

Question asked by james wu on Aug 13, 2019
Latest reply on Aug 13, 2019 by Victor Linnik

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

Outcomes