[SOLVED] Huawei EM770W NM wants PIN & No sim card found

[SOLVED] Huawei EM770W NM wants PIN & No sim card found

Postby FreeOwl » Apr 14th, '21, 08:44

I have the problem with Huawei EM770W, connecting via Network Manager wants PIN and then just Show Message:"No sim card found"

PC: Gigabyte S1080
OS: Mageia 8
Code: Select all
# uname -a
Linux s1080 5.10.27-desktop-1.mga8 #1 SMP Wed Mar 31 00:59:56 UTC 2021 i686 i686 i386 GNU/Linux

Modem Huawei EM770W
Code: Select all
# lsusb
Bus 003 Device 004: ID 12d1:1404 Huawei Technologies Co., Ltd. EM770W miniPCI WCDMA Modem

[root@s1080 ~]# mmcli -L
/org/freedesktop/ModemManager1/Modem/0 [huawei] EM770W
[root@s1080 ~]# mmcli -m 0
-----------------------------
General  |         dbus path: /org/freedesktop/ModemManager1/Modem/0
|         device id: 91c0b946a92aaca130edfbb57cfc7eeddfcb0c76
-----------------------------
Hardware |      manufacturer: huawei
|             model: EM770W
| firmware revision: 11.126.10.80.00
|         supported: gsm-umts
|           current: gsm-umts
|      equipment id: 357030021538604
-----------------------------
System   |            device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4
|           drivers: option1
|            plugin: huawei
|      primary port: ttyUSB2
|             ports: ttyUSB0 (at), ttyUSB1 (qcdm), ttyUSB2 (at), ttyUSB4 (at)
-----------------------------
Status   |    unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
|             state: disabled
|       power state: on
|    signal quality: 0% (cached)
-----------------------------
Modes    |         supported: allowed: 2g, 3g; preferred: none
|                    allowed: 2g, 3g; preferred: 2g
|                    allowed: 2g, 3g; preferred: 3g
|                    allowed: 2g; preferred: none
|                    allowed: 3g; preferred: none
|           current: allowed: 2g, 3g; preferred: 3g
-----------------------------
IP       |         supported: ipv4, ipv6
-----------------------------
3GPP     |              imei: 357030021538777
-----------------------------
SIM      |         dbus path: /org/freedesktop/ModemManager1/SIM/0


It works great on windows.

please advise me how to make it work?
Last edited by doktor5000 on Apr 22nd, '21, 16:45, edited 1 time in total.
Reason: adjusted thread title
FreeOwl
 
Posts: 7
Joined: Feb 29th, '16, 12:57

Re: Huawei EM770W NM wants PIN & Show Message No sim card fo

Postby doktor5000 » Apr 14th, '21, 19:07

FreeOwl wrote:-----------------------------
Status | unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: disabled
| power state: on
| signal quality: 0% (cached)


This is what it looks like here:

-----------------------------
Status | unlock retries: sim-pin (3), sim-puk (10)
| state: registered
| power state: on
| access tech: hspa
| signal quality: 40% (recent)



Not sure but it does seem like an issue with reading the status of the SIM card. If it's dualsim (it lists two SIM cards in mmcli output) then you may need to specify -i index to select the right SIM card.

Could you please unplug the modem, then open a terminal, as root run
Code: Select all
journalctl -af

then leave that running, plugin the modem again, then wait like 30 seconds or so until no new output appears (the modem is usually mode-switched at least once in between from mass-storage to modem mode, this may take a while depending on the modem) and afterwards post all the output here.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16798
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Huawei EM770W NM wants PIN & Show Message No sim card fo

Postby FreeOwl » Apr 15th, '21, 09:52

doktor5000 wrote:This is what it looks like here:
-----------------------------
Status | unlock retries: sim-pin (3), sim-puk (10)
| state: registered
| power state: on
| access tech: hspa
| signal quality: 40% (recent)


let's take it in order:
1) this is a Mini PCI-E modem (page 9)
2) after enabling, before entering the user password:
Code: Select all
[root@s1080 ~]# mmcli -m 0
-----------------------------
General  |         dbus path: /org/freedesktop/ModemManager1/Modem/0
|         device id: 68703fd1162584ec2431b67abb6830630a4cf862
-----------------------------
Hardware |      manufacturer: huawei
|             model: EM770W
| firmware revision: 11.126.10.80.00
|         supported: gsm-umts
|           current: gsm-umts
|      equipment id: 357030021538604
-----------------------------
System   |            device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4
|           drivers: option1
|            plugin: huawei
|      primary port: ttyUSB2
|             ports: ttyUSB0 (at), ttyUSB1 (qcdm), ttyUSB2 (at), ttyUSB4 (at)
-----------------------------
Status   |    unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
|             state: disabled
|       power state: low
|    signal quality: 0% (cached)
-----------------------------
Modes    |         supported: allowed: 2g, 3g; preferred: none
|                    allowed: 2g, 3g; preferred: 2g
|                    allowed: 2g, 3g; preferred: 3g
|                    allowed: 2g; preferred: none
|                    allowed: 3g; preferred: none
|           current: allowed: 2g, 3g; preferred: 3g
-----------------------------
IP       |         supported: ipv4, ipv6
-----------------------------
3GPP     |              imei: 357030021538604
-----------------------------
SIM      |         dbus path: /org/freedesktop/ModemManager1/SIM/0

3) the status can be changed:
Code: Select all
[root@s1080 ~]# mmcli -m 0 --enable
successfully enabled the modem
[root@s1080 ~]# mmcli -m 0
-----------------------------
General  |         dbus path: /org/freedesktop/ModemManager1/Modem/0
|         device id: 68703fd1162584ec2431b67abb6830630a4cf862
-----------------------------
Hardware |      manufacturer: huawei
|             model: EM770W
| firmware revision: 11.126.10.80.00
|         supported: gsm-umts
|           current: gsm-umts
|      equipment id: 357030021538604
-----------------------------
System   |            device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4
|           drivers: option1
|            plugin: huawei
|      primary port: ttyUSB2
|             ports: ttyUSB0 (at), ttyUSB1 (qcdm), ttyUSB2 (at), ttyUSB4 (at)
-----------------------------
Status   |    unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
|             state: registered
|       power state: on
|       access tech: umts
|    signal quality: 54% (recent)
-----------------------------
Modes    |         supported: allowed: 2g, 3g; preferred: none
|                    allowed: 2g, 3g; preferred: 2g
|                    allowed: 2g, 3g; preferred: 3g
|                    allowed: 2g; preferred: none
|                    allowed: 3g; preferred: none
|           current: allowed: 2g, 3g; preferred: 3g
-----------------------------
IP       |         supported: ipv4, ipv6
-----------------------------
3GPP     |              imei: 357030021538604
|       operator id: 25099
|     operator name: Beeline
|      registration: home
-----------------------------
SIM      |         dbus path: /org/freedesktop/ModemManager1/SIM/0

- it is now enabled, but
Code: Select all
[root@s1080 ~]# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 50:e5:49:4e:64:69 brd ff:ff:ff:ff:ff:ff
altname enp3s0
3: wlp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 74:2f:68:f1:df:04 brd ff:ff:ff:ff:ff:ff

What do I need to do to make a connection?
FreeOwl
 
Posts: 7
Joined: Feb 29th, '16, 12:57

Re: Huawei EM770W NM wants PIN & Show Message No sim card fo

Postby doktor5000 » Apr 15th, '21, 17:37

Setup a broadband/3G connection via your preferred networkmanager frontend.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16798
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Huawei EM770W NM wants PIN & Show Message No sim card fo

Postby FreeOwl » Apr 16th, '21, 16:21

doktor5000 wrote:Setup a broadband/3G connection via your preferred networkmanager frontend.

I used drakconnect, this as a result I get the error "No sim card found".
Modem Manager GUI-sends SMS, USSD sends, modem, network sees, but does not connect to the Internet - thinks for a long time and does not do anything...

Code: Select all
Apr 16 12:32:30 localhost net_applet[3330]: running: draknetcenter
Apr 16 12:32:31 localhost draknetcenter[6896]: ### Program is starting ###
Apr 16 12:32:37 localhost draknetcenter[6896]: running: udevadm info --query=property --path=/sys/bus/usb/devices/1-4
Apr 16 12:32:40 localhost draknetcenter[6896]: running: /bin/rpm -q --qf %{name}#012 comgt ppp
Apr 16 12:32:40 localhost draknetcenter[6896]: No settings found for driver "option" in category "network::connection::cellular_card"
Apr 16 12:32:40 localhost draknetcenter[6896]: running: udevadm info --query=property --path=/sys/bus/usb/devices/1-4
Apr 16 12:32:40 localhost draknetcenter[6896]: running: udevadm info --query=property --path=/sys/bus/usb/devices/1-4
Apr 16 12:32:40 localhost draknetcenter[6896]: running: comgt -d /dev/ttyUSB1 PIN
Apr 16 12:33:22 localhost draknetcenter[6896]: running: udevadm info --query=property --path=/sys/bus/usb/devices/1-4
Apr 16 12:34:06 localhost draknetcenter[6896]: ### Program is exiting ###
FreeOwl
 
Posts: 7
Joined: Feb 29th, '16, 12:57

Re: Huawei EM770W NM wants PIN & Show Message No sim card fo

Postby FreeOwl » Apr 22nd, '21, 10:37

close the topic.
I do not know what exactly helped, but I will write (suddenly someone will come in handy) what I did:
1. On the tablet, Mageia was first installed during the 6th version, removed all mga6 packages
2. Removed all mga7 packages
3. Switched to NetworkManager under the guidance of Wiki
4. For SMS, USSD requests, "Modem Manager GUI" is installed

Now everything works, the modem establishes the connection automatically. The speed is so-so, I'm thinking of changing to 4G

Thank you all for participating

PS I apologize for my English. the translation is made using translate.yandex.ru
FreeOwl
 
Posts: 7
Joined: Feb 29th, '16, 12:57


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest