[modem-manager] how unlock PIN before probe nm settings



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

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, 
-- 
Sérgio M. B.

Attachment: smime.p7s
Description: S/MIME cryptographic signature



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