Op 20-08-18 om 09:03 schreef Beniamino Galvani:
> c = client.get_connection_by_id(id)
> s_gsm = c.get_setting_gsm()
> s_gsm.set_property(NM.SETTING_GSM_APN, "xyz")
> try:
> c.commit_changes(True, None)
> print("The connection profile has been updated.")
> except Exception as e:
> sys.stderr.write("Error: %s\n" % e)
I did something similar before but without the commit so went looking
for other options :(.
Thanks for the example.
~infirit
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list