linaro-swg/optee_android_manifest

IP address is assigned but unable to connect to internet.

pt6567 opened this issue · 1 comments

When connecting via Wifi / ethernet, I can see that the board is being assigned an IP address. I am able to arping the gateway too.

 wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 78:a5:04:22:c5:41 brd ff:ff:ff:ff:ff:ff
    inet 10.42.0.108/24 brd 10.42.0.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::7aa5:4ff:fe22:c541/64 scope link 
       valid_lft forever preferred_lft forever

root@hikey:/ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.42.0.0       *               255.255.255.0   U     0      0        0 wlan0
root@hikey:/ # 

Tried adding gateway as

root@hikey:/ # ip ro ad default via 10.42.0.1 dev wlan0                        
root@hikey:/ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.42.0.1       0.0.0.0         UG    0      0        0 wlan0
10.42.0.0       *               255.255.255.0   U     0      0        0 wlan0
root@hikey:/ # ping 10.42.0.1
connect: Network is unreachable

still not able to ping the gateway ip.
Any idea what might be wrong?