<div dir="ltr">Hi, <div>thanks for you reply.</div><div>Unfortunately I can not use NM 1.0 and even compile. I tried to use the commands that I've shared, but I get the following output:</div><div><br></div><div><div><font face="monospace, monospace"># mmcli -m 0</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">/org/freedesktop/ModemManager1/Modem/0 (device id 'f85b28e50e46a2052dfefb8238550fd2cbc4b88b')</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> Hardware | manufacturer: 'SIMCOM_Ltd'</font></div><div><font face="monospace, monospace"> | model: 'SIMCOM_SIM900'</font></div><div><font face="monospace, monospace"> | revision: 'Revision:1137B01SIM900M64_ST_ENHANCE'</font></div><div><font face="monospace, monospace"> | supported: 'gsm-umts'</font></div><div><font face="monospace, monospace"> | current: 'gsm-umts'</font></div><div><font face="monospace, monospace"> | equipment id: 'xxxxxxxxxxxxxxxx'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> System | device: '/sys/devices/platform/orion-ehci.0/usb1/1-1/1-1.1'</font></div><div><font face="monospace, monospace"> | drivers: 'ftdi_sio'</font></div><div><font face="monospace, monospace"> | plugin: 'Generic'</font></div><div><font face="monospace, monospace"> | primary port: 'ttyUSB3'</font></div><div><font face="monospace, monospace"> | ports: 'ttyUSB3 (at)'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> Numbers | own : '350xxxxxxx'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> Status | lock: 'none'</font></div><div><font face="monospace, monospace"> | unlock retries: 'unknown'</font></div><div><font face="monospace, monospace"> | state: 'connected'</font></div><div><font face="monospace, monospace"> | power state: 'on'</font></div><div><font face="monospace, monospace"> | access tech: 'unknown'</font></div><div><font face="monospace, monospace"> | signal quality: '75' (cached)</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> Modes | supported: 'allowed: any; preferred: none'</font></div><div><font face="monospace, monospace"> | current: 'allowed: any; preferred: none'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> Bands | supported: 'unknown'</font></div><div><font face="monospace, monospace"> | current: 'unknown'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> IP | supported: 'ipv4'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> 3GPP | imei: 'xxxxxxxxxxxxxx'</font></div><div><font face="monospace, monospace"> | enabled locks: 'none'</font></div><div><font face="monospace, monospace"> | operator id: '22201'</font></div><div><font face="monospace, monospace"> | operator name: 'I TIM'</font></div><div><font face="monospace, monospace"> | subscription: 'unknown'</font></div><div><font face="monospace, monospace"> | registration: 'roaming'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> SIM | path: '/org/freedesktop/ModemManager1/SIM/0'</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/1'</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">root@mauNone:~/NM# mmcli -b 1</font></div><div><font face="monospace, monospace">Bearer '/org/freedesktop/ModemManager1/Bearer/1'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> Status | connected: 'yes'</font></div><div><font face="monospace, monospace"> | suspended: 'no'</font></div><div><font face="monospace, monospace"> | interface: 'ttyUSB3'</font></div><div><font face="monospace, monospace"> | IP timeout: '20'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> Properties | apn: '<a href="http://foo.mycarrier.com">foo.mycarrier.com</a>'</font></div><div><font face="monospace, monospace"> | roaming: 'allowed'</font></div><div><font face="monospace, monospace"> | IP type: 'none'</font></div><div><font face="monospace, monospace"> | user: 'none'</font></div><div><font face="monospace, monospace"> | password: 'none'</font></div><div><font face="monospace, monospace"> | number: 'none'</font></div><div><font face="monospace, monospace"> | Rm protocol: 'unknown'</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> IPv4 configuration | method: 'ppp'</font></div><div><font face="monospace, monospace"> | address: 'unknown'</font></div><div><font face="monospace, monospace"> | prefix: '0'</font></div><div><font face="monospace, monospace"> | gateway: 'unknown'</font></div><div><font face="monospace, monospace"> | DNS: none</font></div><div><font face="monospace, monospace"> -------------------------</font></div><div><font face="monospace, monospace"> IPv6 configuration | method: 'unknown'</font></div><div><br></div></div><div><br></div><div>....from here I can not go on<br></div><div>I don't understand when you say "<span style="font-size:13px"><i>PPP: you'll need to launch pppd on the specified TTY port.</i></span>".</div><div><br></div><div><br></div><div>Thanks and Best regards</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 26, 2015 at 5:51 PM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Mar 26, 2015 at 5:17 PM, Francesco Andrisani<br>
<<a href="mailto:francesco.andrisani@acotel.com">francesco.andrisani@acotel.com</a>> wrote:<br>
> i've successfully compiled the latest version of Modem Manager for my linux<br>
> arm device. I work only from command line because i use an embedded linux<br>
> device with Debian Squeeze (6) installed on.<br>
><br>
> I'm able to send command to ModemManager using mmcli interface.<br>
> I'm also able to launch modem connection using command:<br>
><br>
> mmcli -m 0 --simple-connect="apn=<a href="http://foo.mycarrier.com" target="_blank">foo.mycarrier.com</a>"<br>
><br>
> So my question is how can i do to create ppp interface and using modem for<br>
> internet navigation? On my device i've installed NetworkManager version<br>
> 0.8.1 and it work great with repository version of ModemManager (v. 0.4.1).<br>
<br>
</span>Well, obvious thing you could do is to try NetworkManager 1.x for example.<br>
<br>
If that is not an option, then you should check the "bearer IP<br>
settings" generated when you launched the connection:<br>
<br>
1) List bearers in modem:<br>
$ mmcli -m 0 --list-bearers<br>
<br>
2) Assuming you have bearer 0:<br>
$ mmcli -b 0<br>
<br>
You'll see there the IP settings to use, which can be:<br>
* PPP: you'll need to launch pppd on the specified TTY port.<br>
* Static: you'll need to set the provided IP settings on the<br>
specified NET port.<br>
* Dynamic: you'll need to launch a DHCP client on the specified NET port.<br>
<br>
Some time ago I started a simple connection manager script that would<br>
do that for you, but didn't advance much. I'd be very interested in<br>
seeing such a script :)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Aleksander<br>
<a href="https://aleksander.es" target="_blank">https://aleksander.es</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><font face="Arial, sans-serif" size="3">____________________________________________________</font><br>
<font face="Arial, sans-serif" size="3"><b>Francesco Andrisani</b></font><br>
<font face="Arial, sans-serif">mailto:<a href="mailto:francesco.andrisani@acotel.com" target="_blank">francesco.andrisani@acotel.com</a></font><br>
<font face="Arial, sans-serif" size="3"><b>Acotel Spa</b></font><br>
<font face="Arial, sans-serif" size="3"><a href="http://www.acotel.com/" target="_blank">http://www.acotel.com</a></font><br>
<font face="Arial, sans-serif" size="3">Via della Valle dei Fontanili, 29</font><br>
<font face="Arial, sans-serif" size="3">00168 Roma</font><br>
<font face="Arial, sans-serif" size="3">Tel +390661141200</font><br>
<font face="Arial, sans-serif" size="3">Fax +39066149936</font><br>
<font face="Arial, sans-serif" size="3">____________________________________________________</font><br>
<p align="CENTER"><font face="Arial, sans-serif"><font style="font-size:8pt" size="1"><span lang="it-IT"><span style="text-decoration:none"><span style="font-weight:normal">Le
informazioni contenute nella comunicazione che precede possono essere
riservate e sono, comunque, destinate esclusivamente alla persona o
all’ente sopraindicati. La diffusione, distribuzione e/o
copiatura non autorizzata del documento trasmesso da parte di
qualsiasi soggetto è proibita. La sicurezza e la correttezza
dei messaggi di posta elettronica non possono essere garantite. Se
avete ricevuto questo messaggio per errore, Vi preghiamo di
contattarci immediatamente. </span></span></span></font></font><font face="Arial, sans-serif"><font style="font-size:8pt" size="1"><span lang="en-GB"><span style="text-decoration:none"><span style="font-weight:normal">Grazie.</span></span></span></font></font></p>
<p style="margin-bottom:0cm" align="CENTER"><font face="Arial, sans-serif"><font style="font-size:8pt" size="1"><span lang="en-GB"><span style="text-decoration:none"><span style="font-weight:normal">This
message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any transmission.
If you receive this message in error, please immediately delete it
and all copies of it from your system, destroy any hard copies of it
and notify the sender. You must not, directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if you
are not the intended recipient. </span></span></span></font></font><font face="Arial, sans-serif"><font style="font-size:8pt" size="1"><span lang="it-IT"><span style="text-decoration:none"><span style="font-weight:normal">Thanks</span></span></span></font></font></p></div>
</div>