<?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.category" string="serial">
<match key="@info.parent:usb.vendor_id" int="0x0af0">
<match key="@info.parent:usb.product_id" int="0x5000">
<match key="@info.parent:usb.interface.number" int="0">
<append key="info.capabilities" type="strlist">modem</append>
<append key="info.capabilities" type="strlist">gsm</append>
</match>
</match>
</match>
</match>
</device>
</deviceinfo>
However, I needed to modify nm-gsm-device to work with the Option card to
try the registration again also for the reply "+CREG: 0,0". After the
second or third "+CREG: 0,0" reply, it then replies with "+CREG: 0,2" as
expected. This patch works for me:
Index: nm-gsm-device.c
===================================================================
--- nm-gsm-device.c (revision 3294)
+++ nm-gsm-device.c (working copy)
@@ -233,6 +233,7 @@
automatic_registration_get_network (device);
break;
case 2:
+ case 3:
gsm_device_set_pending (NM_GSM_DEVICE (device),
g_timeout_add (1000, automatic_registration_again, device));
break;
@@ -251,7 +252,7 @@
automatic_registration (NMSerialDevice *device)
{
guint id;
- char *responses[] = { "+CREG: 0,1", "+CREG: 0,5", "+CREG: 0,2", NULL };
+ char *responses[] = { "+CREG: 0,1", "+CREG: 0,5", "+CREG: 0,2", "+CREG: 0,0", NULL };
nm_serial_device_send_command_string (device, "AT+CREG?");
id = nm_serial_device_wait_for_reply (device, 60, responses, automatic_registration_response, NULL);
--------------
I needed to tick "noauth" in gconf-editor, shouldn't this be the default
for dialup?
Currently I am struggling with the routes and the IP configuration, setted
after dialing in. They do not seem reasonable to me and I cannot reach the
DNS server nor the peer (10.64.64.64).
ppp0 Link encap:Point-to-Point Protocol
inet addr:90.187.199.128 P-t-P:10.64.64.64 Mask:255.255.255.255
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
Has anyone a clue?
Thanks for NetworkManager and the GSM/UMTS support.
BR,
Markus
------------------------------------------------
| Dipl.-Ing. Markus Becker
| Communication Networks
| Mobile Research Center
| TZI - Center for Computing Technologies
| University Bremen
| Germany
------------------------------------------------
| web: http://www.comnets.uni-bremen.de/~mab/
| mailto: mab comnets uni-bremen de
| telephone: +49 421 218 2287
| building: NW1 room: N2260
------------------------------------------------
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list