<div dir="ltr">Ok Aleksander...i know now. <div>But why (using mmcli) i'm not able to see ip address of connected modem? I see only "<span style="font-family:monospace,monospace;font-size:13px">address: 'unknown'".</span></div><div><span style="font-family:monospace,monospace;font-size:13px"><br></span></div><div><span style="font-family:monospace,monospace;font-size:13px">Thanks and Regards</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 30, 2015 at 2:57 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"><div class="HOEnZb"><div class="h5">On Mon, Mar 30, 2015 at 2:43 PM, Francesco Andrisani<br>
<<a href="mailto:francesco.andrisani@acotel.com">francesco.andrisani@acotel.com</a>> wrote:<br>
> Hi,<br>
> thanks for you reply.<br>
> Unfortunately I can not use NM 1.0 and even compile. I tried to use the<br>
> commands that I've shared, but I get the following output:<br>
><br>
> # mmcli -m 0<br>
><br>
> /org/freedesktop/ModemManager1/Modem/0 (device id<br>
> 'f85b28e50e46a2052dfefb8238550fd2cbc4b88b')<br>
> -------------------------<br>
> Hardware | manufacturer: 'SIMCOM_Ltd'<br>
> | model: 'SIMCOM_SIM900'<br>
> | revision: 'Revision:1137B01SIM900M64_ST_ENHANCE'<br>
> | supported: 'gsm-umts'<br>
> | current: 'gsm-umts'<br>
> | equipment id: 'xxxxxxxxxxxxxxxx'<br>
> -------------------------<br>
> System | device:<br>
> '/sys/devices/platform/orion-ehci.0/usb1/1-1/1-1.1'<br>
> | drivers: 'ftdi_sio'<br>
> | plugin: 'Generic'<br>
> | primary port: 'ttyUSB3'<br>
> | ports: 'ttyUSB3 (at)'<br>
> -------------------------<br>
> Numbers | own : '350xxxxxxx'<br>
> -------------------------<br>
> Status | lock: 'none'<br>
> | unlock retries: 'unknown'<br>
> | state: 'connected'<br>
> | power state: 'on'<br>
> | access tech: 'unknown'<br>
> | signal quality: '75' (cached)<br>
> -------------------------<br>
> Modes | supported: 'allowed: any; preferred: none'<br>
> | current: 'allowed: any; preferred: none'<br>
> -------------------------<br>
> Bands | supported: 'unknown'<br>
> | current: 'unknown'<br>
> -------------------------<br>
> IP | supported: 'ipv4'<br>
> -------------------------<br>
> 3GPP | imei: 'xxxxxxxxxxxxxx'<br>
> | enabled locks: 'none'<br>
> | operator id: '22201'<br>
> | operator name: 'I TIM'<br>
> | subscription: 'unknown'<br>
> | registration: 'roaming'<br>
> -------------------------<br>
> SIM | path: '/org/freedesktop/ModemManager1/SIM/0'<br>
><br>
> -------------------------<br>
> Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/1'<br>
><br>
> root@mauNone:~/NM# mmcli -b 1<br>
> Bearer '/org/freedesktop/ModemManager1/Bearer/1'<br>
> -------------------------<br>
> Status | connected: 'yes'<br>
> | suspended: 'no'<br>
> | interface: 'ttyUSB3'<br>
> | IP timeout: '20'<br>
> -------------------------<br>
> Properties | apn: '<a href="http://foo.mycarrier.com" target="_blank">foo.mycarrier.com</a>'<br>
> | roaming: 'allowed'<br>
> | IP type: 'none'<br>
> | user: 'none'<br>
> | password: 'none'<br>
> | number: 'none'<br>
> | Rm protocol: 'unknown'<br>
> -------------------------<br>
> IPv4 configuration | method: 'ppp'<br>
> | address: 'unknown'<br>
> | prefix: '0'<br>
> | gateway: 'unknown'<br>
> | DNS: none<br>
> -------------------------<br>
> IPv6 configuration | method: 'unknown'<br>
><br>
><br>
> ....from here I can not go on<br>
> I don't understand when you say "PPP: you'll need to launch pppd on the<br>
> specified TTY port.".<br>
><br>
<br>
</div></div>pppd is a daemon that will allow you to establish a PPP session on the<br>
already-connected TTY port. In this case, ModemManager was able to<br>
connect (put in 'connected' mode) the ttyUSB3 serial port. Once MM has<br>
done that, pppd needs to be launched on that ttyUSB3. pppd will create<br>
a ppp0 network port, which is the one giving you the IP connectivity.<br>
Usually NetworkManager is in charge of doing that, but if you cannot<br>
use it, then you'll need to have an additional setup to get pppd<br>
launched once ModemManager exposes the IP details in DBus.<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>