Re: [modem-manager] how unlock PIN before probe nm settings
- From: Dan Williams <dcbw redhat com>
- To: Sergio Monteiro Basto <sergio sergiomb no-ip org>
- Cc: networkmanager-list gnome org
- Subject: Re: [modem-manager] how unlock PIN before probe nm settings
- Date: Wed, 06 Jan 2010 22:50:45 -0800
On Sun, 2010-01-03 at 18:00 +0000, Sergio Monteiro Basto wrote:
> Hi,
> I had try ModemManager-0.2.997-4.git20091218.fc12.i686,
> NetworkManager-0.7.997-2.git20091214.fc12.i686
>
> service NetworkManager stop
> killall -TERM modem-manager
> (in other console) modem-manager --debug
> service NetworkManager start
There's a bug open for this, and I'd definitely like to fix it. It'll
take a bit of fiddling around with the probing code first so that we try
AT+CPIN? as part of the probe process if both GCAP and ATI fail. If
CPIN returns "SIM PIN" or one of the other codes, then we'll know it's a
GSM modem and then we can grab it.
Dan
> I found that nm probes doesn't work because I hadn't unlock PIN sim
> card.
> if I do:
> service NetworkManager stop
> killall -TERM modem-manager
> logger $(COMGTPIN=0000 /usr/bin/comgt PIN -d /dev/ttyUSB0)
> service NetworkManager start
>
> the mobile broadband works just prefect.
>
> (using usb_modswith in udev ACTION=="add", ATTRS{idVendor}=="19d2",
> ATTRS{idProduct}=="2000", RUN+="/usr/bin/usb_modeswitch"
> on /etc/udev/rules.d/70-persistent-cd.rules)
>
> So the question is : is there a way of unlock PIN, before modem-manger
> starts to probe the modem ?
>
>
> Thanks,
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]