<div dir="ltr"><div>Hi Dan,<br>Correct, the AC250U is on Sprint. I'm using a MC760 for Verizon (data dumped below).<br><br><br>>> 2. "Modem not responding" error, it happens pretty often, maybe 30-40% of<br>
>> the time. If I retry 2-4 times it usually connects.<br>
<br>
>Does this happen the first time after you plug the modem in? Or does it<br>
>happen after you've disconnected a data session, and you're reconnecting<br>
>PPP?<br><br></div>Unfortunately, I sometimes do see it after a fresh reboot, and putting modem in for first time. Just in the last hour, I did that and it took 3 wvdial's before it worked. But I'm more likely to see it if I'm plugging modems in and out, or connecting/disconnecting sessions.<br>
<div><br></div><div>Thanks,<br></div><div>Eric<br></div><div><div><div class="gmail_extra"><br>[eric@linux-vn1z ~]$ mmcli -m 0<br><br>/org/freedesktop/ModemManager1/Modem/0 (device id '44289f46556e25bffc33b5be4ab79b404063ecca')<br>
-------------------------<br> Hardware | manufacturer: 'NOVATEL WIRELESS INCORPORATED'<br> | model: 'MC760 VERIZON'<br> | revision: 'Q6085BDRAGONFLY_V167 [2010-10-01 15:49:01]'<br>
| supported: 'cdma-evdo'<br> | current: 'cdma-evdo'<br> | equipment id: '5B0DDD05'<br> -------------------------<br> System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4'<br>
| drivers: 'option1'<br> | plugin: 'Novatel'<br> | primary port: 'ttyUSB0'<br> | ports: 'ttyUSB0 (at), ttyUSB1 (qcdm), ttyUSB2 (qcdm)'<br>
-------------------------<br> Numbers | own : '9193095513'<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; preferred: none<br>
| allowed: 3g; preferred: none<br> | allowed: 2g, 3g; preferred: none<br> | allowed: 2g, 3g; preferred: 2g<br> | allowed: 2g, 3g; preferred: 3g'<br>
| current: 'allowed: any; preferred: none'<br> -------------------------<br> Bands | supported: 'unknown'<br> | current: 'unknown'<br> -------------------------<br>
IP | supported: 'ipv4'<br> -------------------------<br> CDMA | meid: 'unknown'<br> | esn: '5B0DDD05'<br> | sid: 'unknown'<br>
| nid: 'unknown'<br> | registration: CDMA1x 'unknown'<br> | EV-DO 'unknown'<br> | activation: 'unknown'<br> -------------------------<br>
SIM | path: 'none'<br><br><br><div class="gmail_quote">On Thu, Mar 20, 2014 at 4:08 PM, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On Thu, 2014-03-20 at 15:17 -0600, Eric Johnson wrote:<br>
> So I was able to connect to both Verizon and Sprint using PPP and wvDial.<br>
> I did this using Sprint's instructions from<br>
> <a href="http://www4.sprint.com/pcsbusiness/downloads/Sprint_Mobile_Broadband_Setup_Guide.pdf" target="_blank">http://www4.sprint.com/pcsbusiness/downloads/Sprint_Mobile_Broadband_Setup_Guide.pdf</a>,<br>
> which boiled down to<br>
> changing /etc/wvdial.conf to:<br>
<br>
</div>Which devices are you using? I'll assume the AC250U is on Sprint, since<br>
that was never made for Verizon. What's the Verizon device?<br>
<div><div class="h5"><br>
> [Dialer Defaults]<br>
> Modem = /dev/ttyUSB0<br>
> Baud = 460800<br>
> Init1 = ATZ<br>
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0<br>
> ISDN = 0<br>
> Modem Type = USB Modem<br>
> Phone = #777<br>
> Username = ''<br>
> Password = ''<br>
> Carrier Check = no<br>
> Stupid Mode = 1<br>
><br>
> and then wvDialing....<br>
><br>
> [eric@linux-vn1z ~/modem]$ sudo wvdial<br>
> --> WvDial: Internet dialer version 1.61<br>
> --> Cannot get information for serial port.<br>
> --> Initializing modem.<br>
> --> Sending: ATZ<br>
> OK<br>
> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0<br>
> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0<br>
> OK<br>
> --> Modem initialized.<br>
> --> Sending: ATDT#777<br>
> --> Waiting for carrier.<br>
> ATDT#777<br>
> CONNECT<br>
> --> Carrier detected. Starting PPP immediately.<br>
> --> Starting pppd at Thu Mar 13 17:37:02 2014<br>
> --> Pid of pppd: 28332<br>
> --> Using interface ppp0<br>
> --> pppd: �[7f]<br>
> --> pppd: �[7f]<br>
> --> pppd: �[7f]<br>
> --> local IP address 184.232.199.246<br>
> --> pppd: �[7f]<br>
> --> remote IP address 66.1.12.193<br>
> --> pppd: �[7f]<br>
> --> primary DNS address 66.1.13.7<br>
> --> pppd: �[7f]<br>
> --> secondary DNS address 68.29.1.7<br>
> --> pppd: �[7f]<br>
> --> Script /etc/ppp/ip-up run successful<br>
> --> Default route Ok.<br>
> --> Nameserver (DNS) Ok.<br>
> --> Connected... Press Ctrl-C to disconnect<br>
> --> pppd: �[7f]<br>
><br>
> I am seeing 2 occasional issues, 1 minor, the other major:<br>
><br>
> 1. Sometimes the DNS fails on PPP connection. I've set<br>
> /etc/sysconfig/network/config<br>
> setting NETCONFIG_DNS_STATIC_SERVERS="8.8.8.8 4.4.4.4", to fall back on<br>
> Google's DNS.<br>
<br>
</div></div>Correct; sometimes with pppd and modem firmware, you'll get bogus DNS<br>
addresses. Usually they'll end up as 10.64.64.64 I think, and in that<br>
case, you just have to use something you know, like 8.8.8.8 or 4.2.2.1<br>
(Level3 in Chicago).<br>
<div class=""><br>
> 2. "Modem not responding" error, it happens pretty often, maybe 30-40% of<br>
> the time. If I retry 2-4 times it usually connects.<br>
<br>
</div>Does this happen the first time after you plug the modem in? Or does it<br>
happen after you've disconnected a data session, and you're reconnecting<br>
PPP?<br>
<br>
Dan<br>
<div class=""><br>
> [eric@linux-vn1z ~]$ sudo wvdial<br>
> --> WvDial: Internet dialer version 1.61<br>
> --> Initializing modem.<br>
> --> Sending: ATZ<br>
> --> Sending: ATQ0<br>
> --> Re-Sending: ATZ<br>
</div>> *--> Modem not responding.*<br>
<div class=""><div class="h5">><br>
> The "Modem not responding" error is much more important to me to fix, as I<br>
> can always work around the DNS issue. Any insights are appreciated. Or if<br>
> this is normal on these networks, that would be good to know too.<br>
> Thanks!<br>
><br>
><br>
><br>
><br>
> On Thu, Mar 13, 2014 at 5:14 PM, Eric Johnson <<a href="mailto:eric@minutekey.com">eric@minutekey.com</a>> wrote:<br>
><br>
> > Hi Aleksander,<br>
> > Wow, that python script sounds awesome, if you have a chance to finish<br>
> > it.<br>
> ><br>
> > I'm going to try to get pppd going, next. Then Verizon and DHCP or static<br>
> > IP I'm guessing.<br>
> > Thank!<br>
> > Eric<br>
> ><br>
> ><br>
> > On Thu, Mar 13, 2014 at 4:31 PM, Aleksander Morgado <<br>
> > <a href="mailto:aleksander@aleksander.es">aleksander@aleksander.es</a>> wrote:<br>
> ><br>
> >> Hey!<br>
> >><br>
> >> On Thu, Mar 13, 2014 at 6:28 PM, Eric Johnson <<a href="mailto:eric@minutekey.com">eric@minutekey.com</a>> wrote:<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>
> >> Everything went ok until this point. So, mmcli lets you get the port<br>
> >> in connected state; that's how far ModemManager goes. Still, there is<br>
> >> another step that needs to be done, which is the IP setup in the data<br>
> >> port (which would usually be done by e.g. NetworkManager). There<br>
> >> currently are three main cases, and what you need to look at is the<br>
> >> Bearer properties that you get when MM tells you you're connected<br>
> >> (i.e. the "mmcli -b 0" output):<br>
> >><br>
> >> Case 1) tty port<br>
> >> If the bearer tells you to use a tty as data port and use PPP, you<br>
> >> need to launch pppd on that tty, passing APN auth details among other<br>
> >> things.<br>
> >><br>
> >> Case 2) net port, dhcp<br>
> >> If the bearer tells you to use a net port as data port and use DHCP,<br>
> >> you need to bring the interface up and launch a DHCP client in that<br>
> >> interface.<br>
> >><br>
> >> Case 3) net port, static<br>
> >> If the bearer tells you to use a net port as data port and 'static'<br>
> >> config, it will also give you what IP address configuration (IP,<br>
> >> netmask..) you need to configure in the net port. So you'll need to<br>
> >> bring the interface up, and then setup those details in the interface.<br>
> >><br>
> >> Interestingly, I was bored last Monday and started to write a python<br>
> >> app (called it 'mm-online', I'm no good inventing new names) which<br>
> >> will do exactly all that (just not using mmcli); it will use<br>
> >> libmm-glib via GObject-introspection to call SimpleConnect() and then<br>
> >> (this not yet done) prepare the connection following the steps I said<br>
> >> earlier. This would allow a 'standalone' operation of ModemManager<br>
> >> (i.e. without a higher level connection manager like NetworkManager).<br>
> >><br>
> >><br>
> >> --<br>
> >> Aleksander<br>
> >> <a href="https://aleksander.es" target="_blank">https://aleksander.es</a><br>
> >><br>
> ><br>
> ><br>
</div></div><div class=""><div class="h5">> _______________________________________________<br>
> ModemManager-devel mailing list<br>
> <a href="mailto:ModemManager-devel@lists.freedesktop.org">ModemManager-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel</a><br>
<br>
<br>
</div></div></blockquote></div><br></div></div></div></div>