From: Divan Santana <divan@santanas.co.za>
To: Help guix <help-guix@gnu.org>
Subject: internal 3g modem
Date: Fri, 27 Sep 2019 12:35:38 +0200 [thread overview]
Message-ID: <87k19u1100.fsf@santanas.co.za> (raw)
Hi Guix,
Hopefully someone knowledgeable with these things here can help out. :)
I'm trying to get the internal 3g modem to work in my Dell laptop
running guix.
Ideally with networkmanager/modemmanager would be great.
Using nm-connection-editor and selecting mobile broadband, it says
can't find any device.
Creating the connection manually and running it says:
ds@swift ~ $ sudo nmcli con up modem-internal
Error: Connection activation failed: No suitable device found for this connection.
Creating this file and trying to start the connecting with mbim-network results in this:
ds@swift ~ $ cat /etc/mbim-network.conf
APN=internet
ds@swift ~ $ ll /dev/cdc-wdm1
crw------- 1 root root 180, 1 2019-09-27 12:09:35 /dev/cdc-wdm1
ds@swift ~ $ sudo mbim-network /dev/cdc-wdm1 start
Loading profile at /etc/mbim-network.conf...
APN: internet
APN auth protocol: unset
APN user: unset
APN password: unset
mbim-proxy: no
Querying subscriber ready status 'mbimcli -d /dev/cdc-wdm1 --query-subscriber-ready-status --no-close '...
[/dev/cdc-wdm1] Subscriber ready status retrieved: Ready state: 'initialized' Subscriber ID: '655071911202447' SIM ICCID: '89270761914025156856' Ready info: 'none' Telephone numbers: (0) 'unknown' [/dev/cdc-wdm1] Session not closed: TRID: '3'
Saving state at /tmp/mbim-network-state-cdc-wdm1... (TRID: 3)
Querying registration state 'mbimcli -d /dev/cdc-wdm1 --query-registration-state --no-open=3 --no-close '...
[/dev/cdc-wdm1] Registration status: Network error: 'unknown' Register state: 'home' Register mode: 'automatic' Available data classes: 'umts, hsdpa, hsupa' Current cellular class: 'gsm' Provider ID: '65507' Provider name: 'FNB' Roaming text: 'unknown' Registration flags: 'packet-service-automatic-attach' [/dev/cdc-wdm1] Session not closed: TRID: '4'
Saving state at /tmp/mbim-network-state-cdc-wdm1... (TRID: 4)
Attaching to packet service with 'mbimcli -d /dev/cdc-wdm1 --attach-packet-service --no-open=4 --no-close '...
Saving state at /tmp/mbim-network-state-cdc-wdm1... (TRID: 5)
Starting network with 'mbimcli -d /dev/cdc-wdm1 --connect=apn='internet' --no-open=5 --no-close '...
Network started successfully
Saving state at /tmp/mbim-network-state-cdc-wdm1... (TRID: 7)
ds@swift ~ $ sudo mbimcli -d /dev/cdc-wdm1 --query-ip-configuration --no-open=11 --no-close
[/dev/cdc-wdm1] IPv4 configuration available: 'address, gateway, dns, mtu'
IP [0]: '10.122.106.8/28'
Gateway: '10.122.106.9'
DNS [0]: '41.50.20.29'
DNS [1]: '41.50.20.61'
MTU: '1500'
[/dev/cdc-wdm1] IPv6 configuration available: 'none'
[/dev/cdc-wdm1] Session not closed:
TRID: '12'
ds@swift ~ $ sudo ip link set wwan0 up
ds@swift ~ $ sudo dhclient -v wwan0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wwan0/52:da:30:0c:9c:de
Sending on LPF/wwan0/52:da:30:0c:9c:de
Sending on Socket/fallback
DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 6
times out.
I think this is the internal modem device:
Bus 002 Device 003: ID 413c:81b6 Dell Computer Corp. DW5811e Snapdragon⢠X7 LTE
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x413c Dell Computer Corp.
idProduct 0x81b6
bcdDevice 0.06
iManufacturer 1 Sierra Wireless, Incorporated
iProduct 2 DW5811e Snapdragon⢠X7 LTE
iSerial 3 LF81212090021022
bNumConfigurations 1
It seems from the above it's /almost/ working using mbimcli.
I'm not sure why MM doesn't detect it.
next reply other threads:[~2019-09-27 13:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 10:35 Divan Santana [this message]
2019-09-27 17:15 ` internal 3g modem pelzflorian (Florian Pelz)
2019-09-28 13:59 ` Divan Santana
2019-09-28 14:38 ` pelzflorian (Florian Pelz)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k19u1100.fsf@santanas.co.za \
--to=divan@santanas.co.za \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).