On Thu, 2009-06-18 at 16:40 +0100, Rick Jones wrote: > I get persistent failure to connect with Mobile Broadband, and this > seems to be a PPP timeout. Usually after a few retries it will work, > and I suspect NM is timing out too soon, and not giving PPP time to > get connected. > > Typical failure case in daemon.log is: > > Jun 18 16:28:54 <info> (ttyUSB2): device state change: 5 -> 6 > Jun 18 16:28:54 <info> (ttyUSB2): device state change: 6 -> 7 > Jun 18 16:29:08 <WARN> pppd_timed_out(): Looks like pppd didn't > initialize our dbus module > Jun 18 16:29:08 <info> (ttyUSB2): device state change: 7 -> 9 > > The timeout is 15 secs. Sometimes a good connection can take nearly > this long, so I think if there were more time there would be fewer > failures. > > Where is this timeout set? Is it in pppd - if so is there a setting > in /etc/ppp/options to tweak it - or is it set by NM? I'd really llike > to be able to try increasing this.
It's in NetworkManager itself, actually. I don't really have a problem with increasing that timeout to 20 seconds or so. But beyond that, I'd be *very* surprised if it would work reliably, since it would indicate problems on the provider's network or the card itself in setting up the GPRS data session. Dan > Log of a successful connection, for completeness: > > Jun 18 15:40:52 <info> (ttyUSB2): device state change: 5 -> 6 > Jun 18 15:40:52 <info> (ttyUSB2): device state change: 6 -> 7 > Jun 18 15:40:53 <info> PPP manager(IP Config Get) reply received. > Jun 18 15:40:53 <info> Activation (ttyUSB2) Stage 4 of 5 (IP > Configure Get) scheduled... > Jun 18 15:40:53 <info> Activation (ttyUSB2) Stage 4 of 5 (IP > Configure Get) started... > Jun 18 15:40:53 <info> Activation (ttyUSB2) Stage 5 of 5 (IP > Configure Commit) scheduled... > Jun 18 15:40:53 <info> Activation (ttyUSB2) Stage 4 of 5 (IP > Configure Get) complete. > Jun 18 15:40:53 <info> Activation (ttyUSB2) Stage 5 of 5 (IP > Configure Commit) started... > Jun 18 15:40:54 <info> (ttyUSB2): device state change: 7 -> 8 > > Thanks > Rick Jones > _______________________________________________ > NetworkManager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
