<div dir="ltr"><div><div><div><div>Hi,<br></div>I'm working on a kiosk system that has no GUI, and hope to use mmcli to get my mobile broadband modems working. Happily, according to a recent thread, that can be done: "I can now initialise and obtain an IP connection "woohooo"" from<a href="http://lists.freedesktop.org/archives/modemmanager-devel/2013-December/000682.html" target="_blank"> http://lists.freedesktop.org/archives/modemmanager-devel/2013-December/000682.html</a><br>
<br></div>I am able to enable, connect, and list a bearer with mmcli (great job to the MM team, by the way, for the hard work that makes that possible). <br><br>When I run wvdialconf, to make the PPP connection the bearer info says is necessary, no modem is found. I'm initially trying to connect to Sprint's network in the US, with mmcli version 1.0.0, on openSUSE 13.1, and to Verizon down the road.<br>
<br></div><div>The commands I ran are included below, I erred on the side of more info.<br></div>Thanks,<br></div>Eric<br><div><div><br><div><div><div><div><br>[eric@linux-vn1z ~]$ mmcli -V<br><br>mmcli 1.0.0<br>Copyright (2011) Aleksander Morgado<br>
License GPLv2+: GNU GPL version 2 or later <<a href="http://gnu.org/licenses/gpl-2.0.html">http://gnu.org/licenses/gpl-2.0.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br>
<br>[eric@linux-vn1z ~]$ mmcli -m 0<br><br>/org/freedesktop/ModemManager1/Modem/0 (device id '1b626896f91de15cc1d4466754f5ca4f2c65f909')<br> -------------------------<br> Hardware | manufacturer: 'Sierra Wireless, Inc.'<br>
| model: 'AC250U Rev 1.0 (3)'<br> | revision: 'p3012801,60764 [Apr 20 2010 16:48:57]<br> | QCOM: SWI6085_FP.01.28 <br> | BOOT: SWI6085_PP.01.28.01 2010/04/20 19:26:34<br>
| APPL: SWI6085_PP.01.28.01 2010/04/20 19:26:34<br> | USBD: SWI6085_GENERIC.00.01<br> | USB VID: 0x1199 PID: 0x0301'<br> | supported: 'cdma-evdo'<br>
| current: 'cdma-evdo'<br> | equipment id: '60ACB38B'<br> -------------------------<br> System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.2'<br>
| drivers: 'sierra'<br> | plugin: 'Sierra'<br> | primary port: 'ttyUSB0'<br> | ports: 'ttyUSB0 (at), ttyUSB3 (qcdm)'<br> -------------------------<br>
Numbers | own : '3033568131'<br> -------------------------<br> Status | lock: 'none'<br> | unlock retries: 'unknown'<br> | state: 'disabled'<br>
| power state: 'on'<br> | access tech: 'unknown'<br> | signal quality: '0' (cached)<br> -------------------------<br> Modes | supported: 'allowed: 2g, 3g; preferred: none'<br>
| current: 'allowed: 2g, 3g; preferred: none'<br> -------------------------<br> Bands | supported: 'unknown'<br> | current: 'unknown'<br> -------------------------<br>
IP | supported: 'ipv4'<br> -------------------------<br> CDMA | meid: 'unknown'<br> | esn: '60ACB38B'<br> | sid: 'unknown'<br>
| nid: 'unknown'<br> | registration: CDMA1x 'unknown'<br> | EV-DO 'unknown'<br> | activation: 'unknown'<br> -------------------------<br>
SIM | path: 'none'<br><br>[eric@linux-vn1z ~]$ mmcli -m 0 -e<br>successfully enabled the modem<br>[eric@linux-vn1z ~]$ mmcli -m 0 <br><br>/org/freedesktop/ModemManager1/Modem/0 (device id '1b626896f91de15cc1d4466754f5ca4f2c65f909')<br>
-------------------------<br> Hardware | manufacturer: 'Sierra Wireless, Inc.'<br> | model: 'AC250U Rev 1.0 (3)'<br> | revision: 'p3012801,60764 [Apr 20 2010 16:48:57]<br>
| QCOM: SWI6085_FP.01.28 <br> | BOOT: SWI6085_PP.01.28.01 2010/04/20 19:26:34<br> | APPL: SWI6085_PP.01.28.01 2010/04/20 19:26:34<br> | USBD: SWI6085_GENERIC.00.01<br>
| USB VID: 0x1199 PID: 0x0301'<br> | supported: 'cdma-evdo'<br> | current: 'cdma-evdo'<br> | equipment id: '60ACB38B'<br>
-------------------------<br> System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.2'<br> | drivers: 'sierra'<br> | plugin: 'Sierra'<br>
| primary port: 'ttyUSB0'<br> | ports: 'ttyUSB0 (at), ttyUSB3 (qcdm)'<br> -------------------------<br> Numbers | own : '3033568131'<br> -------------------------<br>
Status | lock: 'none'<br> | unlock retries: 'unknown'<br> | state: 'registered'<br> | power state: 'on'<br> | access tech: 'evdoa'<br>
| signal quality: '38' (recent)<br> -------------------------<br> Modes | supported: 'allowed: 2g, 3g; preferred: none'<br> | current: 'allowed: 2g, 3g; preferred: none'<br>
-------------------------<br> Bands | supported: 'unknown'<br> | current: 'unknown'<br> -------------------------<br> IP | supported: 'ipv4'<br> -------------------------<br>
CDMA | meid: 'unknown'<br> | esn: '60ACB38B'<br> | sid: '0'<br> | nid: '0'<br> | registration: CDMA1x 'home'<br>
| EV-DO 'home'<br> | activation: 'unknown'<br> -------------------------<br> SIM | path: 'none'<br><br>[eric@linux-vn1z ~]$ mmcli -m 0 --simple-connect="number=#777"<br>
successfully connected the modem<br>[eric@linux-vn1z ~]$ mmcli -m 0 <br><br>/org/freedesktop/ModemManager1/Modem/0 (device id '1b626896f91de15cc1d4466754f5ca4f2c65f909')<br> -------------------------<br> Hardware | manufacturer: 'Sierra Wireless, Inc.'<br>
| model: 'AC250U Rev 1.0 (3)'<br> | revision: 'p3012801,60764 [Apr 20 2010 16:48:57]<br> | QCOM: SWI6085_FP.01.28 <br> | BOOT: SWI6085_PP.01.28.01 2010/04/20 19:26:34<br>
| APPL: SWI6085_PP.01.28.01 2010/04/20 19:26:34<br> | USBD: SWI6085_GENERIC.00.01<br> | USB VID: 0x1199 PID: 0x0301'<br> | supported: 'cdma-evdo'<br>
| current: 'cdma-evdo'<br> | equipment id: '60ACB38B'<br> -------------------------<br> System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4.2'<br>
| drivers: 'sierra'<br> | plugin: 'Sierra'<br> | primary port: 'ttyUSB0'<br> | ports: 'ttyUSB0 (at), ttyUSB3 (qcdm)'<br> -------------------------<br>
Numbers | own : '3033568131'<br> -------------------------<br> Status | lock: 'none'<br> | unlock retries: 'unknown'<br> | state: 'connected'<br>
| power state: 'on'<br> | access tech: 'evdoa'<br> | signal quality: '56' (recent)<br> -------------------------<br> Modes | supported: 'allowed: 2g, 3g; preferred: none'<br>
| current: 'allowed: 2g, 3g; preferred: none'<br> -------------------------<br> Bands | supported: 'unknown'<br> | current: 'unknown'<br> -------------------------<br>
IP | supported: 'ipv4'<br> -------------------------<br> CDMA | meid: 'unknown'<br> | esn: '60ACB38B'<br> | sid: '4121'<br>
| nid: '4'<br> | registration: CDMA1x 'registered'<br> | EV-DO 'registered'<br> | activation: 'unknown'<br> -------------------------<br>
SIM | path: 'none'<br><br>[eric@linux-vn1z ~]$ mmcli -b 0<br>Bearer '/org/freedesktop/ModemManager1/Bearer/0'<br> -------------------------<br> Status | connected: 'yes'<br>
| suspended: 'no'<br> | interface: 'ttyUSB0'<br> | IP timeout: '20'<br> -------------------------<br> Properties | apn: 'none'<br>
| roaming: 'allowed'<br> | IP type: 'none'<br> | user: 'none'<br> | password: 'none'<br> | number: '#777'<br>
| Rm protocol: 'unknown'<br> -------------------------<br> IPv4 configuration | method: 'ppp'<br> -------------------------<br> IPv6 configuration | method: 'unknown'<br>
<br>[eric@linux-vn1z ~]$ mmcli -m 0 --list-bearers<br><br>Found 1 bearers:<br><br> /org/freedesktop/ModemManager1/Bearer/0<br><br>[eric@linux-vn1z ~]$ wvdialconf<br>Editing `/etc/wvdial.conf'.<br><br>Scanning your serial ports for a modem.<br>
<br>ttyS0<Info>: Device or resource busy<br>Modem Port Scan<*1>: S0 <br>ttyS1<Info>: Device or resource busy<br>Modem Port Scan<*1>: S1 <br>ttyS2<Info>: Device or resource busy<br>Modem Port Scan<*1>: S2 <br>
ttyS3<Info>: Device or resource busy<br>Modem Port Scan<*1>: S3 <br>ttyS4<Info>: Device or resource busy<br>Modem Port Scan<*1>: S4 <br>ttyS5<Info>: Device or resource busy<br>Modem Port Scan<*1>: S5 <br>
ttyS6<Info>: Device or resource busy<br>Modem Port Scan<*1>: S6 <br>ttyS7<Info>: Device or resource busy<br>Modem Port Scan<*1>: S7 <br>ttyS8<Info>: Device or resource busy<br>Modem Port Scan<*1>: S8 <br>
ttyS9<Info>: Device or resource busy<br>Modem Port Scan<*1>: S9 <br>ttyS10<Info>: Device or resource busy<br>Modem Port Scan<*1>: S10 <br>ttyS11<Info>: Device or resource busy<br>Modem Port Scan<*1>: S11 <br>
ttyS12<Info>: Device or resource busy<br>Modem Port Scan<*1>: S12 <br>ttyS13<Info>: Device or resource busy<br>Modem Port Scan<*1>: S13 <br>ttyS14<Info>: Device or resource busy<br>Modem Port Scan<*1>: S14 <br>
ttyS15<Info>: Device or resource busy<br>Modem Port Scan<*1>: S15 <br>ttyS16<Info>: Device or resource busy<br>Modem Port Scan<*1>: S16 <br>ttyS17<Info>: Device or resource busy<br>Modem Port Scan<*1>: S17 <br>
ttyS18<Info>: Device or resource busy<br>Modem Port Scan<*1>: S18 <br>ttyS19<Info>: Device or resource busy<br>Modem Port Scan<*1>: S19 <br>ttyS20<Info>: Device or resource busy<br>Modem Port Scan<*1>: S20 <br>
ttyS21<Info>: Device or resource busy<br>Modem Port Scan<*1>: S21 <br>ttyS22<Info>: Device or resource busy<br>Modem Port Scan<*1>: S22 <br>ttyS23<Info>: Device or resource busy<br>Modem Port Scan<*1>: S23 <br>
ttyS24<Info>: Device or resource busy<br>Modem Port Scan<*1>: S24 <br>ttyS25<Info>: Device or resource busy<br>Modem Port Scan<*1>: S25 <br>ttyS26<Info>: Device or resource busy<br>Modem Port Scan<*1>: S26 <br>
ttyS27<Info>: Device or resource busy<br>Modem Port Scan<*1>: S27 <br>ttyS28<Info>: Device or resource busy<br>Modem Port Scan<*1>: S28 <br>ttyS29<Info>: Device or resource busy<br>Modem Port Scan<*1>: S29 <br>
ttyS30<Info>: Device or resource busy<br>Modem Port Scan<*1>: S30 <br>ttyS31<Info>: Device or resource busy<br>Modem Port Scan<*1>: S31 <br>ttyUSB0<Info>: Device or resource busy<br>Modem Port Scan<*1>: USB0 <br>
ttyUSB1<Info>: Device or resource busy<br>Modem Port Scan<*1>: USB1 <br>ttyUSB2<Info>: Device or resource busy<br>Modem Port Scan<*1>: USB2 <br>ttyUSB3<Info>: Device or resource busy<br>Modem Port Scan<*1>: USB3 <br>
<br><br>Sorry, no modem was detected! Is it in use by another program?<br>Did you configure it properly with setserial?<br><br>Please read the FAQ at <a href="http://alumnit.ca/wiki/?WvDial">http://alumnit.ca/wiki/?WvDial</a><br>
[eric@linux-vn1z ~]$ <br></div></div></div></div></div></div></div>