OESF Portables Forum
Model Specific Forums => Cosmo Communicator => Cosmo Communicator - Linux => Topic started by: laukref on August 01, 2020, 06:10:52 pm
-
According to the Planet Computers installation guide to activate mobile data:
http://support.planetcom.co.uk/index.php/Cosmo_Linux_Mobile_Data#Install_connman
the command:
/ usr / share / ofono / scripts / list-contexts
It should show the default APN configuration but in my case no context information appears, I only see this:
[/ ril_1]
[/ ril_0]
Any idea why no context appears?
-
In some cases as explained by planet your operator is not configured automatically.
here is my output : Operator is "oi " here in BRAZIL.
I dont know where this output is stored. But as in you other post you said that your sim card is locked. Try to disable the pin code ( please see my full answer in your post ). But I really dont know if the cause of your problem is the pin code. Just a suggestion.
[ /ril_0 ]
[ /ril_0/context1 ]
Name = Internet
Active = 0
Type = internet
Protocol = dual
AccessPointName = gprs.oi.com.br
Username =
Password = oioioi
AuthenticationMethod = any
Settings = { }
IPv6.Settings = { }
[ /ril_0/context2 ]
Name = Oi MMS
Active = 0
Type = mms
Protocol = ip
AccessPointName = mmsgprs.oi.com.br
Username = oimms
Password = oioioi
AuthenticationMethod = any
MessageProxy = 192.168.10.50:3128
MessageCenter = http://200.222.42.204:8002
Settings = { }
IPv6.Settings = { }
[ /ril_0/context3 ]
Name = IMS
Active = 0
Type = ims
Protocol = dual
AccessPointName = ims
Username =
Password =
AuthenticationMethod = none
Settings = { }
IPv6.Settings = { }
[ /ril_1 ]
-
it is stored in /var/lib/ofono/"a number " and inside have some files .The fiile is "gprs" like below
root@cosmopda:/var/lib/ofono/724314938245683# more gprs
[Settings]
Powered=true
RoamingAllowed=1
[context1]
Name=Internet
AccessPointName=gprs.oi.com.br
Username=
Password=oioioi
AuthenticationMethod=any
Type=internet
Protocol=dual
[context2]
Name=Oi MMS
AccessPointName=mmsgprs.oi.com.br
Username=oimms
Password=oioioi
AuthenticationMethod=any
Type=mms
Protocol=ip
MessageProxy=192.168.10.50:3128
MessageCenter=http://200.222.42.204:8002
[context3]
Name=IMS
AccessPointName=ims
Username=
Password=
AuthenticationMethod=none
Type=ims
Protocol=dual
-
Thanks cam1965, as you suggested the solution was to first unlock the SIM using the command:
/usr/share/ofono/scripts/enter-pin pin <pin_number>
Once this was done, the response of:
/usr/share/ofono/scripts/list-contexts
displays my operator information.