Hi Pao,

Thanks for your reply.

I did try running the "modem-netns-setup.py" script which makes the modems 
invisible to ofono as expected. Deleting the namespaces then restarting the 
ofono service makes them reappear.

I've watched your talk and read the accompanying slide deck, and you mentioned 
a patch being put in place that works around this removal issue - do you have 
details of this patch so we can apply it and try? This removal issue also seems 
to be talked about in https://osmocom.org/issues/3881 when modems crash, which 
happens frequently.

https://github.com/osmocom/osmo-gsm-tester/blob/b172c066fb73e0156f9be2f024ae625e31f39abc/src/osmo_gsm_tester/obj/ms_ofono.py#L694
 also seems to deal with moving modem interfaces into network namespaces, and 
following this example 
https://github.com/osmocom/osmo-gsm-tester/blob/master/sysmocom/suites/gprs/ping.py
 I tried adding the calls to "activate_context" and "setup_context_data_plane" 
to our 4G ping test script, which crashed out with an error 
"GDBus.Error:org.ofono.Error.NotAttached: GPRS is not attached (36)".

Best,
Callum.

Reply via email to