On 08/15/2016 04:19 AM, Aleksander Morgado wrote:
On 15/08/16 03:01, Neil Cherry wrote:
Okay this was interesting ... I can now reach the modem (Netgear 341u)
from my server (and browser). But I can't seem to ping anything via
the wwan0 (other than the we server's address). So some more work.
What do you mean you can reach the modem through your browser?
http://sprintmodem/ (192.168.2.1)
Here's what I did:
# Plugged in the modem
mmcli -L
# As root
mmcli -m 0 -e
qmi-network /dev/cdc-wdm0 start
dhclient -d wwan0
Not sure why you mixed the qmi-network and mmcli calls here.
I've been doing searches and found the commands used together. So I
gave it a try. Right now this isn't working as well as I hoped but
it has kind-of gotten me one step further.
Can you run ModemManager with --debug and post what happens after you
run this?:
$ mmcli -m 0 --simple-connect="apn=internet"
$ mmcli -b 0 // to show bearer info, to make sure DHCP is needed
$ dhclient wwan0
I think I'll have to, as I may have reached http://sprintmodem/ but it
hasn't really connected (modem still says connecting to internet).
--
Linux Home Automation Neil Cherry [email protected]
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies
_______________________________________________
ModemManager-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel