Re: Mobile Broadband - how do I trace/debug the modem initialisation?



On Mon, 2008-10-20 at 17:55 +0300, Tambet Ingo wrote:
> On Sat, Oct 18, 2008 at 2:59 PM, Rick Jones <rick activeservice co uk> wrote:
> > Where are the actual dialling protocol exchanges defined - are they
> > hard-coded? Not being able to script this bit of the connection seems to be
> > problematic, compared to pppd. I'd really like to move to NM instead of
> > messing with pppd, pon, poff etc. but I can't get past the first hurdle :(
> 
> If you have recent enough NM (r4155 or newer), you can turn on serial
> debug with NM_SERIAL_DEBUG environment variable. The AT commands are
> hard coded and there are no plans to leave it to users to figure out.

I actually converted NM_SERIAL_DEBUG into an environment variable about
2 weeks ago or something.  No longer need to ask uses to rebuild, but
can simply

NM_SERIAL_DEBUG=1 /usr/sbin/NetworkManager --no-daemon

and have them test out and report results.

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]