Hi Jupiter,
On 25.04.19 11:28, JH wrote:
I did try to use the $name.config, it did not work either, did I get
wrong with the $name?
$ cat /var/lib/connman/tpg-mcnf.conf
[service_wifi]
Name=TPG-MCNF
SSID=5450472d4d434e44
Passphrase=xxxxxx
AutoConnect=true
$ cat /var/lib/connman/telstra.conf
[cellular_505013520350165_context1]
Name=Telstra
Favorite=true
AutoConnect=true
Tarmo: You can find format and information in doc/config-format.txt.
Thanks!
BTW: you've used ".conf" suffix but the document mandates
".config".
Regardless, connman v1.36 certainly doesn't follow the file structure
described in doc/config-format.txt. After manually provisioning my
dial-up connection I can see directories:
/var/lib/connman/cellular_248030054743345_context1/
/var/lib/connman/ethernet_00e04c2154c3_cable/
Both contain two files "data" and "settings". Here's a
"settings" file,
which does what you're looking to do - start the dial-up on boot.
--- begin ---
[cellular_248030054743345_context1]
Name=Tele2 EE
Favorite=true
AutoConnect=true
Modified=2019-04-22T12:57:30.161163Z
IPv4.method=fixed
IPv4.netmask_prefixlen=32
IPv4.local_address=[...snip...]
IPv6.method=off
IPv6.privacy=disabled
--- end ---
The "data" file contains some garbage which I don't recognize.
Anyway, the service name and configuration format revolve around the
IMSI of the SIM card. Does this mean that I can only pre-provision a
cellular service if I know in advance the IMSI of the SIM card to be used?
--
Kind regards
Tarmo