After digging some more, I found that read_uevent in rtnl.c looks for
"wwan" to tie it to cellular. So I had to modify the GobiNet driver
to register the driver using FLAG_WWAN instead of FLAG_ETH. It's
working now.
On Mon, Jun 26, 2017 at 10:52 AM, Daryl Nebrich <darylnebrich(a)gmail.com> wrote:
Hi,
I'm using connman 1.34 and ofono 1.20. The modem is a Sierra AR7x
series with QC/Gobi. I'm using Sierra's GobiNet and GobiSerial
drivers. The drivers use QC's RmNet to expose the cell data
connection as an ethernet network interface on the host.
Once the modem is setup and online in ofono, I'm able to create the
data connection in connman using "connect cellular...". After the
connection is established, connmanctl services shows -
connmanctl> services
*AO Wired ethernet_00049f04434e_cable
*AR Wired ethernet_3e75cbee771b_cable
c AT&T cellular_310410598635836_context1
The eth1 interface doesn't look to be associated with the cellular
service. Eventually, the pending cell service connection times out
(service.c:connect_timeout) and the connection is torn down. I
attached the log file. Line 53 shows where detect_newlink() appears
to setup eth1 as a new ethernet service and doesn't detect it as part
of the cellular service. Any ideas how to fix?
Jun 26 14:10:14 imx6qsabreauto daemon.debug connmand[1836]:
../connman-1.34/src/detect.c:detect_newlink() type 1 index 41
Jun 26 14:10:14 imx6qsabreauto daemon.debug connmand[1836]:
../connman-1.34/plugins/ethernet.c:ethernet_newlink() index 41 flags
36995 change 1
Jun 26 14:10:14 imx6qsabreauto daemon.debug connmand[1836]:
../connman-1.34/plugins/ethernet.c:ethernet_newlink() power on
Thanks,
Daryl