[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
internal 3g modem
From: |
Divan Santana |
Subject: |
internal 3g modem |
Date: |
Fri, 27 Sep 2019 12:35:38 +0200 |
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.
- internal 3g modem,
Divan Santana <=