On 07/17/2017 04:39 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote:
I am trying to use connman+ofono to connect to internet using TELIT 910
EUG modem chip.
Versions Used: Connman:1.34 and Ofono:1.20
To establish the internet connection I am using the python scripts
within the ofono/test directory as follows:
/usr/lib/ofono/test/create-internet-context web.vodafone.de vodafone
After this I could see that the device gets the IP address, gateway and nameserver as
ofono_start_gsm.sh: Interface is wwan0
ofono_start_gsm.sh: IP address is 10.249.29.20
ofono_start_gsm.sh: Gateway is 10.249.29.21
ofono_start_gsm.sh: Nameserver is 10.105.144.254
At this point I excepted Connman to connect to the internet but it doesn't.
Indeed, now it should be online. What does ConnMan say about the service:
I am seeing the following error message from Connman, >
connmand: Online check failed for 0x50db78 Vodafone.
If the routes would be setup correctly I assume this online check would
also work. So we get the routing somehow wrong.
From the debug message I understood that connman is not able to
connect to the internet(status 400).
Yes, there is a section on the online check in the README.
But if I run manually dhclient on wwan0 interface, I could connect to
the internet. It puzzles me, why it is not working with connman. Any
help on this topic would be great J
Sure, glad to help. Just a bit limited bandwidth on my side. If you
could post the logs of oFono and ConnMan we maybe identify what is going
wrong. At least we can compare what dhclient is doing.