I see that the previous log showed wlan0 was being used as the network interface whereas this time it’s eth0. The routing table looks ok, and the kodi log no longer has all those errors getting URLs.
I could ping google.com but still i could not connect to kodi addon repository
Please set Kodi into debug mode and try to access the repository. Then provide us with logs.