yxc5430013 发表于 2022-11-25 18:15:27

5G模块找不到SIM卡

5G模组固定好了,ifconfig也能查到,但是flags是4099,如1.png
SIM卡也插入,正反如2.png

打开设置到网络,如3.png
选择移动宽带--添加新连接,如4.png
找不到国家和地区,后面的选项也都是空
有什么解决办法?


799959745 发表于 2022-11-28 10:10:57

没检测到SIM卡,应该是插槽太松了,在SIM卡背后贴点胶布垫一下再插入

yxc5430013 发表于 2022-11-28 11:06:09

799959745 发表于 2022-11-28 10:10
没检测到SIM卡,应该是插槽太松了,在SIM卡背后贴点胶布垫一下再插入

有什么命令能知道sim卡是否插入吗,我现在多垫了块硬纸板还是和4.png一样找不到国家和地区

799959745 发表于 2022-11-28 11:56:40

执行拨号程序:quectel-CM
看下 SIM 卡的 LOG 显示的是什么

yxc5430013 发表于 2022-11-28 13:44:12

799959745 发表于 2022-11-28 11:56
执行拨号程序:quectel-CM
看下 SIM 卡的 LOG 显示的是什么

QConnectManager_Linux_V1.6.1
Find /sys/bus/usb/devices/2-1.3 idVendor=0x2c7c idProduct=0x900, bus=0x002, dev=0x005
Auto find qmichannel = /dev/ttyUSB2
Auto find usbnet_adapter = enx1e05434c6404
netcard driver = cdc_ncm, driver version = 5.10.110
Modem works in ECM_RNDIS_NCM mode
atc_fd = 7
AT> ATE0Q0V1
AT< OK
AT> AT+QCFG="usbnet"
AT< +QCFG: "usbnet",5
AT< OK
AT> AT+QNETDEVCTL=?
AT< +QNETDEVCTL: (1-8),(0-3),(0,1)
AT< OK
AT> AT+CGREG=2
AT< OK
AT> AT+CEREG=2
AT< OK
AT> AT+C5GREG=2
AT< OK
AT> AT+QNETDEVSTATUS=?
AT< +QNETDEVSTATUS: (1-8)
AT< OK
AT> AT+QCFG="NAT"
AT< +QCFG: "nat",0
AT< OK
AT> AT+CGMR
AT< Platform Version: MOCORTM_20C_W22.01.3_P6_Debug
AT< Project Version:   Orca_NR_modem
AT< BASEVersion:    5G_MODEM_20C_W22.01.3_P6
AT< HW Version:      udx710_modem
AT< 07-01-2022 09:37:37
AT< OK
AT> AT+CPIN?
AT< +CPIN: READY
AT< OK
AT> AT+QCCID
AT< +QCCID: 89860115834022682491
AT< OK
requestGetICCID 89860115834022682491
AT> AT+CIMI
AT< 460010886201263
AT< OK
requestGetIMSI 460010886201263
AT> AT+QICSGP=1
AT< +QICSGP: 3,"3gnet","","",0
AT< OK
requestGetProfile 3gnet///0/IPV4
AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
AT< +COPS: 0,0,"CHN-UNICOM",11
AT< +COPS: 0,1,"CUCC",11
AT< +COPS: 0,2,"46001",11
AT< OK
AT> AT+C5GREG?
AT< +C5GREG: 2,1,"CFA401","CFA236002",11,9,01.000000
AT< OK
AT> at+cops?
AT< +COPS: 0,2,"46001",11
AT< OK
AT> at+qeng="servingcell"
AT< +QENG: "servingcell","NOCONN","NR5G-SA","TDD",460,01,CFA236002,166,CFA401,627264,78,5,-104,-12,2,0,12,1
AT< OK
AT> AT+QNETDEVSTATUS=1
AT< +CME ERROR: 3
ifconfig enx1e05434c6404 0.0.0.0
ifconfig enx1e05434c6404 down
AT> AT+QNETDEVCTL=1,1,1
AT< OK
AT> AT+QNETDEVSTATUS=1
AT< +CME ERROR: 3
AT> AT+QNETDEVSTATUS=1
AT< +CME ERROR: 3
AT> AT+QNETDEVSTATUS=1
AT< +QNETDEVSTATUS: 10.110.0.145,255.255.255.0,10.110.0.1,,58.240.57.33,221.6.4.66,2408:843e:0400:0434:172b:a893:1bad:2493,,,,2408:8000:aaaa:0000:0000:0000:0000:0000,2409:8084:8000:0010:2002:4860:4860:8888
AT< OK
AT> AT+QNETDEVSTATUS=1
AT< +QNETDEVSTATUS: 10.110.0.145,255.255.255.0,10.110.0.1,,58.240.57.33,221.6.4.66,2408:843e:0400:0434:172b:a893:1bad:2493,,,,2408:8000:aaaa:0000:0000:0000:0000:0000,2409:8084:8000:0010:2002:4860:4860:8888
AT< OK
requestGetIPAddress 10.110.0.145
AT> at+cops?
AT< +COPS: 0,2,"46001",11
AT< OK
AT> at+qeng="servingcell"
AT< +QENG: "servingcell","NOCONN","NR5G-SA","TDD",460,01,CFA236002,166,CFA401,627264,78,20,-104,-6,2,21,12,1
AT< OK
AT> AT+QNETDEVSTATUS=1
AT< +QNETDEVSTATUS: 10.110.0.145,255.255.255.0,10.110.0.1,,58.240.57.33,221.6.4.66,2408:843e:0400:0434:172b:a893:1bad:2493,,,,2408:8000:aaaa:0000:0000:0000:0000:0000,2409:8084:8000:0010:2002:4860:4860:8888
AT< OK
ifconfig enx1e05434c6404 up
busybox udhcpc -f -n -q -t 5 -i enx1e05434c6404
AT< +QNETDEVSTATUS: 1,1,"IPV4V6",0
AT> at+cops?
AT< +COPS: 0,2,"46001",11
AT< OK
AT> at+qeng="servingcell"
AT< +QENG: "servingcell","NOCONN","NR5G-SA","TDD",460,01,CFA236002,166,CFA401,627264,78,100,-103,-6,3,21,12,1
AT< OK
AT> AT+QNETDEVSTATUS=1
AT< +QNETDEVSTATUS: 10.110.0.145,255.255.255.0,10.110.0.1,,58.240.57.33,221.6.4.66,2408:843e:0400:0434:172b:a893:1bad:2493,,,,2408:8000:aaaa:0000:0000:0000:0000:0000,2409:8084:8000:0010:2002:4860:4860:8888
AT< OK
AT> at+cops?

799959745 发表于 2022-11-28 14:08:27

yxc5430013 发表于 2022-11-28 13:44
QConnectManager_Linux_V1.6.1
Find /sys/bus/usb/devices/ ...

看log没什么问题,插天线了吗?

yxc5430013 发表于 2022-11-28 14:14:40

本帖最后由 yxc5430013 于 2022-11-28 17:28 编辑

799959745 发表于 2022-11-28 14:08
看log没什么问题,插天线了吗?

有的
板子是4G的,插的是5g模组,sim卡试过5g卡和4g卡
firefly@firefly:~$ ifconfig
enxde117f889370: flags=4099<UP,BROADCAST,MULTICAST>mtu 1500
      ether de:11:7f:88:93:70txqueuelen 1000(Ethernet)
      RX packets 0bytes 0 (0.0 B)
      RX errors 0dropped 0overruns 0frame 0
      TX packets 0bytes 0 (0.0 B)
      TX errors 0dropped 0 overruns 0carrier 0collisions 0

yxc5430013 发表于 2022-11-28 14:29:22

本帖最后由 yxc5430013 于 2022-11-28 17:28 编辑


799959745 发表于 2022-11-29 15:14:12

yxc5430013 发表于 2022-11-28 14:29


用的是什么 5G 模块?
页: [1]
查看完整版本: 5G模块找不到SIM卡