Need help with a Netgear AirCard 314u
Neil Cherry
ncherry at linuxha.com
Thu Aug 11 16:54:47 UTC 2016
I'm not even sure I'm starting at the correct point but here goes ...
I've compiled ModemManager (and libqmi and libmbim) on my Debian machine.
Hopefully I've put everything in the correct places (I used /usr to clobber
the debian apt installed ancient libraries). When I start ModemManager and
use mmcli, I get no errors so that's a good start.
Here's what I get when I start up (hopefully close to recent):
ModemManager & mmcli say 1.7.0
I'm running this script (after restarting MomdemManager to get the most
recent running):
#!/bin/sh
# https://mail.gnome.org/archives/networkmanager-list/2013-April/msg00101.html
mmcli -L
MODEM=$(mmcli -L | grep freedesktop | awk '{ print $1}')
if [ -z "${MODEM}" ]; then
echo "No modem found, please check modem"
exit 2
fi
#
APN="${APN-internet}"
mmcli -v -m ${MODEM} -e
date ; echo "\nCurrent Modem Configuration:"
mmcli -m ${MODEM}
mmcli -v -m ${MODEM} --simple-connect="apn=${APN}"
mmcli -v -m ${MODEM} --simple-connect="apn=${APN}"
if [ $? -eq 1 ]; then
echo "Simple connect failed"
mmcli -m ${MODEM} --simple-disconnect
exit 1
fi
mmcli -v -m ${MODEM} --location-get-3gpp
date ; echo "\nObtaining DHCP lease"
dhclient -d -4 wwan0
It all seems to run fine but I get no IP address on the wwan0 (well 169.254.156.247)
Any ideas in what I should do next to debug this?
The trace of the above command is at:
http://ushomeautomation.com/temp/mmcli.out
--
Linux Home Automation Neil Cherry ncherry at linuxha.com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies
More information about the ModemManager-devel
mailing list