Changes

Jump to: navigation, search
Tamir moved page [[Linux Mint: Mobile broadband]] to [[Application note - fitlet2 Linux Mobile broadband configuration]]
* This application note provides an example for configuring SIMCOM SIM7100E/SIM5360E over Linux
* This application note applies to fitlet2 with the above mentioned modems.
 
== List of tested devices ==
* The guide was tested on a systems with the specs listed below, but should be easily adaptable
* NOTE: nmcli and mmcli tools used in the guide do not require X windows system and desktop environment, they work on servers as well
<pre>
Device: fitlet2
OS: Linux Mint 19 Tara
Kernel: 4.15.0-23-generic
Modem: SIM7100E
</pre>
<pre>
Device: fitlet2
CPU: Intel(R) Atom(TM) Processor E3950
BIOS: 05/14/2018 American Megatrends Inc. FLT2.0.40.01.00
OS: CentOS 7
Kernel: 4.17.11-1.el7.elrepo.x86_64
Modem: SIM5360E
</pre>
== Detailed modem and SIM information ==
<pre>
$ mmcli -m 0
-------------------------
Bearers | paths: 'none'
</pre>
 
<pre>
$ mmcli -i 0
SIM '/org/freedesktop/ModemManager1/SIM/0'
-------------------------
Properties | imsi : '425030300567978'
| id : '8997250003005679782'
| operator id : '42503'
| operator name : 'Rami Levy'
</pre>
</pre>
* Edit the APN settings of your network. Comprehensive lists of major carriers and their settings can be found online, e.g.:[https://mobilebroadbandprovider.info/ https://mobilebroadbandprovider.info/]* NOTE: In most cases the only information required is the APN and sometimes a username and password – all other fields may be left at their defaults
<pre>
nmcli> set gsm.apn internet.rl
nmcli> set gsm.username rl@3g
nmcli> set gsm.password rl
nmcli>
</pre>
* Review your APN and other settings with print command:
<pre>
nmcli> print
===============================================================================
Connection profile details (Rami Levi Mobile)
===============================================================================
connection.id: Rami Levi Mobile
connection.uuid: 36fbc401-a3c8-4735-a404-fcbbc119943d
connection.stable-id: --
connection.type: gsm
connection.interface-name: --
connection.autoconnect: yes
connection.autoconnect-priority: 0
connection.autoconnect-retries: -1 (default)
connection.auth-retries: -1
connection.timestamp: 0
connection.read-only: no
connection.permissions: --
connection.zone: --
connection.master: --
connection.slave-type: --
connection.autoconnect-slaves: -1 (default)
connection.secondaries: --
connection.gateway-ping-timeout: 0
connection.metered: unknown
connection.lldp: default
-------------------------------------------------------------------------------
ipv4.method: auto
ipv4.dns: --
ipv4.dns-search: --
ipv4.dns-options: ""
ipv4.dns-priority: 0
ipv4.addresses: --
ipv4.gateway: --
ipv4.routes: --
ipv4.route-metric: -1
ipv4.route-table: 0 (unspec)
ipv4.ignore-auto-routes: no
ipv4.ignore-auto-dns: no
ipv4.dhcp-client-id: --
ipv4.dhcp-timeout: 0 (default)
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.dhcp-fqdn: --
ipv4.never-default: no
ipv4.may-fail: yes
ipv4.dad-timeout: -1 (default)
-------------------------------------------------------------------------------
ipv6.method: auto
ipv6.dns: --
ipv6.dns-search: --
ipv6.dns-options: ""
ipv6.dns-priority: 0
ipv6.addresses: --
ipv6.gateway: --
ipv6.routes: --
ipv6.route-metric: -1
ipv6.route-table: 0 (unspec)
ipv6.ignore-auto-routes: no
ipv6.ignore-auto-dns: no
ipv6.never-default: no
ipv6.may-fail: yes
ipv6.ip6-privacy: -1 (unknown)
ipv6.addr-gen-mode: stable-privacy
ipv6.dhcp-send-hostname: yes
ipv6.dhcp-hostname: --
ipv6.token: --
-------------------------------------------------------------------------------
gsm.number: *99#
gsm.username: rl@3g
gsm.password: <hidden>
gsm.password-flags: 0 (none)
gsm.apn: internet.rl
gsm.network-id: --
gsm.pin: <hidden>
gsm.pin-flags: 0 (none)
gsm.home-only: no
gsm.device-id: --
gsm.sim-id: --
gsm.sim-operator-id: --
gsm.mtu: auto
-------------------------------------------------------------------------------
proxy.method: none
proxy.browser-only: no
proxy.pac-url: --
proxy.pac-script: --
-------------------------------------------------------------------------------
nmcli>
</pre>
* Supporing Supposing you're running as root, you'll now be able to save your connection and exit
<pre>
nmcli> save
</pre>
* That's all, you can use GSM connectionReview your connections info
<pre>
$ nmcli
interface: wwp0s21f0u8u2i5
</pre>
 
* That's all, you are connected
 
[[category:Application notes]]
[[category:fitlet2]]
[[category:software]]
1,586
edits