862
edits
Changes
no edit summary
Please note that Linux expects the SIM to be inserted in slot 0.
====1 - Install connman====
On your Cosmo, open a terminal (Menu -> Applications -> System -> Terminal)
<code>sudo apt install connman cmst mobile-broadband-provider-info ofono-scripts</code><code></code><br /><code>sudo apt remove network-manager plasma-nm</code><br /><code>sudo reboot</code>
====2 - Enable Roaming====
Roaming needs to be explicitly enabled beforehand if needed. To enable roaming type this command in a terminal:
<code>/usr/share/ofono/scripts/set-roaming-allowed</code>
====3 - Configure APN====
The next step is to configure the APN for your specific network operator. For some operator the APN details might be already populated correctly. For some others operators you will have to retrieve the APN details, usually they are found online or by contacting your operator.
Note that you might also be required to send the set-roaming-allowed command if using the device while roaming.
====4 - Running cmst at login====
Because cmst will be used to handle both mobile and WIFI connection, it's a good idea to run automatically it at every login. To do that, Go to Menu -> Applications -> Settings -> System Settings.
[[File:22_34.jpg|center|800x600px|border]]
====5 - Known bugs and limitations====
* CoDi external screen not yet working in Linux
* Linux mobile data is still experimental at this stage, and not all features are enabled.
* Powering OFF and ON the mobile chipset using cmst does not always work as expected - a reboot will fix the issue.
====6 - Troubleshoot====
If cmst shows a working connection but you can't browse the Internet, it might be because the DNS has not been automatically populated. In this case you can set one using the following command:
<code>sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf</code>