Den 06. aug. 2012 12:07, skrev Aleksander Morgado:
More or less, yes. You have the 'mmcli' utility in that branch, though, so you can skip writing raw dbus-send commands and play with the cli instead, like this (assuming only one modem connected, so index 0): Show modem info and status: $> mmcli -m 0 Send PIN: $> sudo mmcli -i 0 --pin=1234 Enable modem: $> sudo mmcli -m 0 -e Connect: $> sudo mmcli -m 0 --simple-connect="apn=internet"
After this step, is it supposed to be possible to run a DHCP query against the wwan0 device? When I try, it just hangs (No response to DHCPDISCOVER). All look fine in the ModemManager output ((9/9): All done), and connection works fine with the same version of libqmi with the script that does this instead of the above steps:
echo AT+CGDCONT=1,"IP","internet.netcom.no" > /dev/ttyUSB2 qmi-network /dev/cdc-wdm0 start (I used 'sudo mmcli -m 0 --simple-connect="apn=internet.netcom.no") -- Marius _______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
