Hi,
I have a device with a Quectel EC21 module. I have to make `ofono` working to 
connect internet using the lte. In the past, another company use `pppd` to 
connect internet. Using their scripts, I can connect internet when the module 
is set to avoid authentication (`noauth`). Now I try to do the same with 
`ofono` (I have no prior knowledge of ofono/connman and even the use of cell 
module).
 
According to `connman-api.txt`,
```
string AuthenticationMethod [readwrite]
        Holds the PPP authentication method to use.  Valid values are "pap", 
"chap" and "none".
        Defaults to "chap".
```

I could set the value of AuthenticationMethod  to "pap, "chap" and "none". For 
example,
```
        context.SetProperty("AuthenticationMethod", dbus.String("pap"), timeout 
= 100)
```
will set the value. but,
```
        context.SetProperty("AuthenticationMethod", dbus.String("none"), 
timeout = 100)
```
I got the following error,
```
        org.ofono.Error.InvalidFormat: Argument format is not recognized
```

According to `lte-api.txt`,
```
string AuthenticationMethod [readwrite, experimental]

                        Sets the Method used for the authentication
                        for the default APN.

                        Available values are "none", "pap" and "chap".
                        Default is "none".

                        If the AuthenticationMethod is set to 'none',
                        no authentication is performed for the default attach
                        APN.  Username and Password properties are ignored,
                        even if containing a valid value.  If Username or
                        Password are empty, AuthenticationMethod is implicitly
                        assumed to be set to 'none'.
```
we can read that `If Username or Password are empty, AuthenticationMethod is 
implicitly assumed to be set to 'none'.`. I try that using the `connman-api`, 
but yet no internet.
Using the `lte-api` don't work much, It seems the field `AuthenticationMethod` 
is not present. When I print what come from `lte.GetProperties()` I got only 
the field `DefaultAccessPointName`,
```
DefaultAccessPointName
dbus.Dictionary({dbus.String('DefaultAccessPointName'): dbus.String('', 
variant_level=1)}, signature=dbus.Signature('sv'))
```
I don't see how I could solve this. Help would be appreciated.


Additionnal informations:
versions:
```
# ofonod -v
1.24
# connmand -v
1.35
```


regards,
_______________________________________________
ofono mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to