Quectel EP06-E LTE Module changes pfSense+ NDI after cold start or hard reset
-
Hmm, so it appears with a random MAC address at each boot?
How exactly does it appear in the boot log? Which driver is it using?
Which usbnet mode is it using now?
If you can switch it to ppp mode that would likely remove both the double NAT and the USB Ethernet (so no new NDI) but the throughput will likely be reduced. Possibly a lot.
Steve
-
@stephenw10
Hi Steve!
I cannot determine which Quectel USB-Mode is used right now, since every "AT+ qfcg="usbnet", [0...2] " query is answered w/ an error.
But it seems to be the ",1" ECM Mode.The bootlog, related to that Quectel device, is this:
ue0: link state changed to UP
ue0: permanently promiscuous mode enabled
ugen0.2: <Quectel EP06-E> at usbus0 (disconnected)
u3g0: at uhub0, port 6, addr 1 (disconnected)
u3g0: detached
cdce0: at uhub0, port 6, addr 1 (disconnected)
cdce0: detached
ugen0.2: <Quectel EP06-E> at usbus0
u3g0 on uhub0
u3g0: <Quectel EP06-E, class 239/2, rev 2.00/3.10, addr 2> on usbus0
u3g0: Found 4 ports.
cdce0 on uhub0
cdce0: <Quectel EP06-E, class 239/2, rev 2.00/3.10, addr 2> on usbus0
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 56:8b:1d:94:cc:3d
ue0: permanently promiscuous mode enabled
ue0: link state changed to DOWN
ue0: link state changed to UPI added already some of the Kernel Modules by modifying the /boot/loader.conf, so the actual ones are these w/ this additions to the loader.conf:
if_urndis_load="YES"
if_cdce_load="YES"
if_ipheth_load="YES"*Id Refs Address Size Name
1 34 0xffffffff80200000 33a5390 kernel
2 1 0xffffffff835a6000 4b98 if_urndis.ko
3 1 0xffffffff835ab000 1e2f0 opensolaris.ko
6 1 0xffffffff83bbe000 42a0 if_ipheth.ko
7 1 0xffffffff845e5000 5a80 udf.ko
8 1 0xffffffff845eb000 2240 cpuctl.ko
9 1 0xffffffff845ee000 4250 ichsmb.ko
10 1 0xffffffff845f3000 2178 smbus.ko
11 1 0xffffffff845f6000 9290 aesni.ko
12 1 0xffffffff84600000 4428 cryptodev.ko
13 1 0xffffffff84800000 5d67c8 iimb.ko
14 1 0xffffffff84605000 20f0 coretemp.koThe original loaded ones were these:
Id Refs Address Size Name
1 24 0xffffffff80200000 33a5390 kernel
3 1 0xffffffff83b91000 1e2f0 opensolaris.ko
4 1 0xffffffff845e5000 5a80 udf.ko
5 1 0xffffffff845eb000 2240 cpuctl.ko
6 1 0xffffffff845ee000 4250 ichsmb.ko
7 1 0xffffffff845f3000 2178 smbus.ko
8 1 0xffffffff845f6000 9290 aesni.ko
9 1 0xffffffff84600000 4428 cryptodev.ko
10 1 0xffffffff84800000 5d67c8 iimb.ko
11 1 0xffffffff84605000 20f0 coretemp.ko*a kldstat -v states this relation:
374 uhub/cdceBest reagrds
Famelazar
-
@stephenw10 said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
If you can switch it to ppp mode that would likely remove both the double NAT
That was also my idea.
I forgot to write, that assigning a spoof MAC Address only prevents a change of the NID on a warm reboot. -
What if you just send:
AT+QCFG=“usbnet”
?
I'd expect it to return the current mode. But it seems as though it must be in mode 1 (ecm).Do you see an AT prompt on more than one com port?
I wouldn't have expected to need any additional modules loaded. Did you have to add those before it attached?
You might try booting in verbose mode. I have seen USB adapters show that the hardware MAC cannot be read and a random one is used. There may be a clue there.
-
@stephenw10 said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
AT+QCFG=“usbnet” ?
Good idea, but I did that already before :-). Here are the results:
[some prompt]/root: cu -l /dev/ttyU0.3 -s 19200
Connected
AT+QCFG=“usbnet” ?
ERROR
AT+QCFG=“usbnet”
ERROR
AT+QCFG=“usbnet”,?
ERRORBest regards
Famelazar
@stephenw10 said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
Did you have to add those before it attached?
No - Was just an idea and I was curious if that might help.
@stephenw10 said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
I have seen USB adapters show that the hardware MAC cannot be read and a random one is used. There may be a clue there.
Seems to be a good one. I will give it a try.
-
@Famelazar said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
Did you have to add those before it attached?
No - Was just an idea and I was curious if that might help.
Ah, then I would remove or comment out those loader lines to avoid confusion.
-
@stephenw10
Hi again!here are the dmesg from a verbose boot (-> loader.conf -> verbose_loading="YES")
---<<BOOT>>--- Copyright (c) 1992-2024 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 15.0-CURRENT #0 plus-RELENG_24_03-n256311-e71f834dd81: Fri Apr 19 00:28:14 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/obj/amd64/Y4MAEJ2R/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/sources/FreeBSD-src-plus-RELENG_24_03/amd64.amd64/sys/pfSense amd64 FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) VT(efifb): resolution 800x600 module cdce already present! CPU: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (1996.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x706a8 Family=0x6 Model=0x7a Stepping=8 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2294e287<FSGSBASE,TSCADJ,SGX,SMEP,ERMS,NFPUSG,MPX,PQE,RDSEED,SMAP,CLFLUSHOPT,PROCTRACE,SHA> Structured Extended Features2=0x40400004<UMIP,RDPID,SGXLC> Structured Extended Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0x6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 8051970048 (7678 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <INTEL GLK-SOC > WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 <Version 2.0> irqs 0-119 Launching APs: 2 1 3 TCP_ratelimit: Is now initialized ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE. ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff80750310, 0) error 1 ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE. ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff807503c0, 0) error 1 ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE. ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff80750470, 0) error 1 iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE. iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_bss_fw, 0xffffffff80770010, 0) error 1 iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE. iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_ibss_fw, 0xffffffff807700c0, 0) error 1 iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE. iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_monitor_fw, 0xffffffff80770170, 0) error 1 random: entropy device external interface wlan: mac acl policy registered kbd1 at kbdmux0 WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 15.0. efirtc0: <EFI Realtime Clock> efirtc0: registered as a time-of-day clock, resolution 1.000000s netgate0: <unknown hardware> smbios0: <System Management BIOS> at iomem 0x7a0b9000-0x7a0b9017 smbios0: Version: 3.1 acpi0: <ALASKA A M I > unknown: I/O range not supported cpu0: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 8 on acpi0 Timecounter "HPET" frequency 19200000 Hz quality 950 Event timer "HPET" frequency 19200000 Hz quality 550 Event timer "HPET1" frequency 19200000 Hz quality 440 Event timer "HPET2" frequency 19200000 Hz quality 440 Event timer "HPET3" frequency 19200000 Hz quality 440 Event timer "HPET4" frequency 19200000 Hz quality 440 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pcib0: Length mismatch for 3 range: 1 vs 1000000010000 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0x90000000-0x90ffffff,0x88000000-0x8fffffff irq 19 at device 2.0 on pci0 vgapci0: Boot video device pci0: <simple comms> at device 15.0 (no driver attached) ahci0: <Intel Gemini Lake AHCI SATA controller> port 0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0x91f10000-0x91f11fff,0x91f14000-0x91f140ff,0x91f13000-0x91f137ff irq 19 at device 18.0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 pcib1: <ACPI PCI-PCI bridge> irq 21 at device 19.0 on pci0 pci1: <ACPI PCI bus> on pcib1 igc0: <Intel(R) Ethernet Controller I225-V> mem 0x91d00000-0x91dfffff,0x91e00000-0x91e03fff irq 22 at device 0.0 on pci1 igc0: Using 1024 TX descriptors and 1024 RX descriptors igc0: Using 4 RX queues 4 TX queues igc0: Using MSI-X interrupts with 5 vectors igc0: Ethernet address: 20:7c:14:f0:c8:52 igc0: netmap queues/slots: TX 4/1024, RX 4/1024 pcib2: <ACPI PCI-PCI bridge> irq 21 at device 19.1 on pci0 pci2: <ACPI PCI bus> on pcib2 igc1: <Intel(R) Ethernet Controller I225-V> mem 0x91a00000-0x91afffff,0x91b00000-0x91b03fff irq 23 at device 0.0 on pci2 igc1: Using 1024 TX descriptors and 1024 RX descriptors igc1: Using 4 RX queues 4 TX queues igc1: Using MSI-X interrupts with 5 vectors igc1: Ethernet address: 20:7c:14:f0:c8:53 igc1: netmap queues/slots: TX 4/1024, RX 4/1024 pcib3: <ACPI PCI-PCI bridge> irq 21 at device 19.2 on pci0 pci3: <ACPI PCI bus> on pcib3 igc2: <Intel(R) Ethernet Controller I225-V> mem 0x91700000-0x917fffff,0x91800000-0x91803fff irq 20 at device 0.0 on pci3 igc2: Using 1024 TX descriptors and 1024 RX descriptors igc2: Using 4 RX queues 4 TX queues igc2: Using MSI-X interrupts with 5 vectors igc2: Ethernet address: 20:7c:14:f0:c8:54 igc2: netmap queues/slots: TX 4/1024, RX 4/1024 pcib4: <ACPI PCI-PCI bridge> irq 21 at device 19.3 on pci0 pci4: <ACPI PCI bus> on pcib4 igc3: <Intel(R) Ethernet Controller I225-V> mem 0x91400000-0x914fffff,0x91500000-0x91503fff irq 21 at device 0.0 on pci4 igc3: Using 1024 TX descriptors and 1024 RX descriptors igc3: Using 4 RX queues 4 TX queues igc3: Using MSI-X interrupts with 5 vectors igc3: Ethernet address: 20:7c:14:f0:c8:55 igc3: netmap queues/slots: TX 4/1024, RX 4/1024 pcib5: <ACPI PCI-PCI bridge> irq 22 at device 20.0 on pci0 pci5: <ACPI PCI bus> on pcib5 igc4: <Intel(R) Ethernet Controller I225-V> mem 0x91100000-0x911fffff,0x91200000-0x91203fff irq 22 at device 0.0 on pci5 igc4: Using 1024 TX descriptors and 1024 RX descriptors igc4: Using 4 RX queues 4 TX queues igc4: Using MSI-X interrupts with 5 vectors igc4: Ethernet address: 20:7c:14:f0:c8:56 igc4: netmap queues/slots: TX 4/1024, RX 4/1024 pcib6: <ACPI PCI-PCI bridge> irq 22 at device 20.1 on pci0 pci6: <ACPI PCI bus> on pcib6 xhci0: <Intel Gemini Lake USB 3.0 controller> mem 0x91f00000-0x91f0ffff irq 17 at device 21.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 acpi_button0: <Power Button> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ns8250: UART FCR is broken ns8250: UART FCR is broken uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 Timecounter "TSC" frequency 1996801062 Hz quality 1000 Timecounters tick every 1.000 msec ZFS filesystem version: 5 ZFS storage pool version: features support (5000) ugen0.1: <Intel XHCI root HUB> at usbus0 uhub0 on usbus0 uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 Trying to mount root from ufs:/dev/ada0p2 [rw]... uhub0: 16 ports with 16 removable, self powered Root mount waiting for: CAM usbus0 ugen0.2: <Quectel EP06-E> at usbus0 u3g0 on uhub0 u3g0: <Quectel EP06-E, class 239/2, rev 2.00/3.10, addr 1> on usbus0 u3g0: Found 4 ports. cdce0 on uhub0 cdce0: <Quectel EP06-E, class 239/2, rev 2.00/3.10, addr 1> on usbus0 ue0: <USB Ethernet> on cdce0 ue0: Ethernet address: 66:ca:0b:ee:c7:99 Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <Braninzap 256G HCS10A2P> ACS-2 ATA SATA 3.x device ada0: Serial Number SCRW22010504G0033 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 4096bytes) ada0: Command Queueing enabled ada0: 244198MB (500118192 512 byte sectors) ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: <WDC WD5000LPLX-08ZNTT0 05.01A05> ACS-2 ATA SATA 3.x device ada1: Serial Number WD-WX41AC79DCUT ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 476940MB (976773168 512 byte sectors) CPU: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (1996.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x706a8 Family=0x6 Model=0x7a Stepping=8 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2294e287<FSGSBASE,TSCADJ,SGX,SMEP,ERMS,NFPUSG,MPX,PQE,RDSEED,SMAP,CLFLUSHOPT,PROCTRACE,SHA> Structured Extended Features2=0x40400004<UMIP,RDPID,SGXLC> Structured Extended Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0xc6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics ichsmb0: <Intel Gemini Lake SMBus controller> port 0xf040-0xf05f mem 0x91f12000-0x91f120ff irq 20 at device 31.1 on pci0 smbus0: <System Management Bus> on ichsmb0 aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256> ue0: link state changed to UP coretemp0: <CPU On-Die Thermal Sensors> on cpu0 lo0: link state changed to UP igc0: link state changed to UP [fib_algo] inet.0 (bsearch4#24) rebuild_fd_flm: switching algo to radix4_lockless ue0: permanently promiscuous mode enabled tun1: changing name to 'ovpns1' ovpns1: link state changed to UP pflog0: promiscuous mode enabled igc1: link state changed to UP igc2: link state changed to UP igc0: promiscuous mode enabled ugen0.2: <Quectel EP06-E> at usbus0 (disconnected) u3g0: at uhub0, port 6, addr 1 (disconnected) u3g0: detached cdce0: at uhub0, port 6, addr 1 (disconnected) igc0: promiscuous mode disabled cdce0: detached ugen0.2: <Quectel EP06-E> at usbus0 u3g0 on uhub0 u3g0: <Quectel EP06-E, class 239/2, rev 2.00/3.10, addr 2> on usbus0 u3g0: Found 4 ports. cdce0 on uhub0 cdce0: <Quectel EP06-E, class 239/2, rev 2.00/3.10, addr 2> on usbus0 ue0: <USB Ethernet> on cdce0 ue0: Ethernet address: 56:8b:1d:94:cc:3d ue0: permanently promiscuous mode enabled ue0: link state changed to DOWN ue0: link state changed to UP igc0: promiscuous mode enabled igc0: promiscuous mode disabled igc0: promiscuous mode enabled igc0: promiscuous mode disabled igc0: promiscuous mode enabled igc0: promiscuous mode disabled igc0: promiscuous mode enabled igc0: promiscuous mode disabled pflog0: promiscuous mode disabled ovpns1: link state changed to DOWN Waiting (max 60 seconds) for system process `vnlru' to stop... done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining... 5 4 2 0 0 0 done All buffers synced. ---<<BOOT>>--- Copyright (c) 1992-2024 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 15.0-CURRENT #0 plus-RELENG_24_03-n256311-e71f834dd81: Fri Apr 19 00:28:14 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/obj/amd64/Y4MAEJ2R/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/sources/FreeBSD-src-plus-RELENG_24_03/amd64.amd64/sys/pfSense amd64 FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) VT(efifb): resolution 800x600 module cdce already present! CPU: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (1996.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x706a8 Family=0x6 Model=0x7a Stepping=8 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2294e287<FSGSBASE,TSCADJ,SGX,SMEP,ERMS,NFPUSG,MPX,PQE,RDSEED,SMAP,CLFLUSHOPT,PROCTRACE,SHA> Structured Extended Features2=0x40400004<UMIP,RDPID,SGXLC> Structured Extended Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0x6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 8051970048 (7678 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <INTEL GLK-SOC > WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 <Version 2.0> irqs 0-119 Launching APs: 2 3 1 TCP_ratelimit: Is now initialized ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE. ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff80750310, 0) error 1 ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE. ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff807503c0, 0) error 1 ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE. ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff80750470, 0) error 1 iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE. iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_bss_fw, 0xffffffff80770010, 0) error 1 iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE. iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_ibss_fw, 0xffffffff807700c0, 0) error 1 iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE. iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_monitor_fw, 0xffffffff80770170, 0) error 1 random: entropy device external interface wlan: mac acl policy registered kbd1 at kbdmux0 WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 15.0. efirtc0: <EFI Realtime Clock> efirtc0: registered as a time-of-day clock, resolution 1.000000s netgate0: <unknown hardware> smbios0: <System Management BIOS> at iomem 0x7a0b9000-0x7a0b9017 smbios0: Version: 3.1 acpi0: <ALASKA A M I > unknown: I/O range not supported cpu0: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 8 on acpi0 Timecounter "HPET" frequency 19200000 Hz quality 950 Event timer "HPET" frequency 19200000 Hz quality 550 Event timer "HPET1" frequency 19200000 Hz quality 440 Event timer "HPET2" frequency 19200000 Hz quality 440 Event timer "HPET3" frequency 19200000 Hz quality 440 Event timer "HPET4" frequency 19200000 Hz quality 440 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pcib0: Length mismatch for 3 range: 1 vs 1000000010000 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0x90000000-0x90ffffff,0x88000000-0x8fffffff irq 19 at device 2.0 on pci0 vgapci0: Boot video device pci0: <simple comms> at device 15.0 (no driver attached) ahci0: <Intel Gemini Lake AHCI SATA controller> port 0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0x91f10000-0x91f11fff,0x91f14000-0x91f140ff,0x91f13000-0x91f137ff irq 19 at device 18.0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 pcib1: <ACPI PCI-PCI bridge> irq 21 at device 19.0 on pci0 pci1: <ACPI PCI bus> on pcib1 igc0: <Intel(R) Ethernet Controller I225-V> mem 0x91d00000-0x91dfffff,0x91e00000-0x91e03fff irq 22 at device 0.0 on pci1 igc0: Using 1024 TX descriptors and 1024 RX descriptors igc0: Using 4 RX queues 4 TX queues igc0: Using MSI-X interrupts with 5 vectors igc0: Ethernet address: 20:7c:14:f0:c8:52 igc0: netmap queues/slots: TX 4/1024, RX 4/1024 pcib2: <ACPI PCI-PCI bridge> irq 21 at device 19.1 on pci0 pci2: <ACPI PCI bus> on pcib2 igc1: <Intel(R) Ethernet Controller I225-V> mem 0x91a00000-0x91afffff,0x91b00000-0x91b03fff irq 23 at device 0.0 on pci2 igc1: Using 1024 TX descriptors and 1024 RX descriptors igc1: Using 4 RX queues 4 TX queues igc1: Using MSI-X interrupts with 5 vectors igc1: Ethernet address: 20:7c:14:f0:c8:53 igc1: netmap queues/slots: TX 4/1024, RX 4/1024 pcib3: <ACPI PCI-PCI bridge> irq 21 at device 19.2 on pci0 pci3: <ACPI PCI bus> on pcib3 igc2: <Intel(R) Ethernet Controller I225-V> mem 0x91700000-0x917fffff,0x91800000-0x91803fff irq 20 at device 0.0 on pci3 igc2: Using 1024 TX descriptors and 1024 RX descriptors igc2: Using 4 RX queues 4 TX queues igc2: Using MSI-X interrupts with 5 vectors igc2: Ethernet address: 20:7c:14:f0:c8:54 igc2: netmap queues/slots: TX 4/1024, RX 4/1024 pcib4: <ACPI PCI-PCI bridge> irq 21 at device 19.3 on pci0 pci4: <ACPI PCI bus> on pcib4 igc3: <Intel(R) Ethernet Controller I225-V> mem 0x91400000-0x914fffff,0x91500000-0x91503fff irq 21 at device 0.0 on pci4 igc3: Using 1024 TX descriptors and 1024 RX descriptors igc3: Using 4 RX queues 4 TX queues igc3: Using MSI-X interrupts with 5 vectors igc3: Ethernet address: 20:7c:14:f0:c8:55 igc3: netmap queues/slots: TX 4/1024, RX 4/1024 pcib5: <ACPI PCI-PCI bridge> irq 22 at device 20.0 on pci0 pci5: <ACPI PCI bus> on pcib5 igc4: <Intel(R) Ethernet Controller I225-V> mem 0x91100000-0x911fffff,0x91200000-0x91203fff irq 22 at device 0.0 on pci5 igc4: Using 1024 TX descriptors and 1024 RX descriptors igc4: Using 4 RX queues 4 TX queues igc4: Using MSI-X interrupts with 5 vectors igc4: Ethernet address: 20:7c:14:f0:c8:56 igc4: netmap queues/slots: TX 4/1024, RX 4/1024 pcib6: <ACPI PCI-PCI bridge> irq 22 at device 20.1 on pci0 pci6: <ACPI PCI bus> on pcib6 xhci0: <Intel Gemini Lake USB 3.0 controller> mem 0x91f00000-0x91f0ffff irq 17 at device 21.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 acpi_button0: <Power Button> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ns8250: UART FCR is broken ns8250: UART FCR is broken uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 Timecounter "TSC" frequency 1996800675 Hz quality 1000 Timecounters tick every 1.000 msec ugen0.1: <Intel XHCI root HUB> at usbus0 uhub0 on usbus0 uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Trying to mount root from ufs:/dev/ada0p2 [rw]... uhub0: 16 ports with 16 removable, self powered Root mount waiting for: CAM usbus0 ugen0.2: <Quectel EP06-E> at usbus0 u3g0 on uhub0 u3g0: <Quectel EP06-E, class 239/2, rev 2.00/3.10, addr 1> on usbus0 u3g0: Found 4 ports. cdce0 on uhub0 cdce0: <Quectel EP06-E, class 239/2, rev 2.00/3.10, addr 1> on usbus0 ue0: <USB Ethernet> on cdce0 ue0: Ethernet address: 56:8b:1d:94:cc:3d Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <Braninzap 256G HCS10A2P> ACS-2 ATA SATA 3.x device ada0: Serial Number SCRW22010504G0033 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 4096bytes) ada0: Command Queueing enabled ada0: 244198MB (500118192 512 byte sectors) ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: <WDC WD5000LPLX-08ZNTT0 05.01A05> ACS-2 ATA SATA 3.x device ada1: Serial Number WD-WX41AC79DCUT ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 476940MB (976773168 512 byte sectors) CPU: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (1996.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x706a8 Family=0x6 Model=0x7a Stepping=8 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2294e287<FSGSBASE,TSCADJ,SGX,SMEP,ERMS,NFPUSG,MPX,PQE,RDSEED,SMAP,CLFLUSHOPT,PROCTRACE,SHA> Structured Extended Features2=0x40400004<UMIP,RDPID,SGXLC> Structured Extended Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0xc6b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME,MDS_NO> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics ichsmb0: <Intel Gemini Lake SMBus controller> port 0xf040-0xf05f mem 0x91f12000-0x91f120ff irq 20 at device 31.1 on pci0 smbus0: <System Management Bus> on ichsmb0 aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256> coretemp0: <CPU On-Die Thermal Sensors> on cpu0 ue0: link state changed to UP lo0: link state changed to UP igc0: link state changed to UP [fib_algo] inet.0 (bsearch4#24) rebuild_fd_flm: switching algo to radix4_lockless ue0: permanently promiscuous mode enabled igc1: link state changed to UP igc2: link state changed to UP tun1: changing name to 'ovpns1' ovpns1: link state changed to UP pflog0: promiscuous mode enabled igc0: promiscuous mode enabled
Well thats a bit long., but i hope thats the info you need
King Regads
FamelazarBTW: Guess I Owe you at least one Beer - or similar
-
You need to use the loader line:
boot_verbose=YES
Or interrupt the boot at the loader menu (OK> prompt) and enter:
boot -v
That boot verbose one time. -
@stephenw10
Posting plain text is a bit rediculous ...tztztztz.Now as a ZIPed File...dmesg-fw.zip
Thanks for inspectinting this in advance!
-
Mmm, nothing terribly revealing there. Importantly it doesn't show:
cdce0: on usbus0 cdce0: No valid alternate setting found device_attach: cdce0 attach returned 6 cdce0: on usbus0 cdce0: faking MAC address ue0: on cdce0 ue0: Ethernet address: 2a:3f:38:a3:80:00
You can remove the verbose line.
Check the output of:
usbconfig -d ugen0.2 dump_all_desc
See if it has more than one config index. -
@stephenw10
No. Only one Index but here you go
(see attachment) -
@stephenw10
At the end I guess it depends not on BSD/pfSense but on the Card itself and its behaviour... *sigh
Guess I have to remove it from the device and try my luck w/ the Windows drivers and/or ADB to bring in "PPP-Mode" or another one which fixes the MAC Issue. Otherwise I don't want to go back to the CE Edition, since this is also at Test of pfSense+ for some Customers since -overall- the support is great. -
@stephenw10 said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
Importantly it doesn't show:
Ah Ok. Thats what you meant before
-
@Famelazar said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
At the end I guess it depends not on BSD/pfSense but on the Card itself and its behaviour...
To some extent. This Sierra card, for example, does return a value for the MAC address but....
Jun 14 17:37:52 kernel ugen0.4: <Sierra Wireless Inc. Sierra Wireless EM7345 4G LTE> at usbus0 Jun 14 17:37:52 kernel cdce0 on uhub0 Jun 14 17:37:52 kernel cdce0: <Sierra Wireless Inc. Sierra Wireless EM7345 4G LTE, class 239/2, rev 2.00/17.29, addr 3> on usbus0 Jun 14 17:37:52 kernel ue0: <USB Ethernet> on cdce0 Jun 14 17:37:52 kernel umodem0 Jun 14 17:37:52 kernel ue0: Ethernet address: ff:ff:ff:ff:ff:ff Jun 14 17:37:52 kernel on uhub0 Jun 14 17:37:52 kernel umodem0: <Sierra Wireless Inc. Sierra Wireless EM7345 4G LTE, class 239/2, rev 2.00/17.29, addr 3> on usbus0 Jun 14 17:37:52 kernel umodem0: data interface 3, has no CM over data, has break
Not useful!
No second config index available on your card.
Yes, switching the mode in something else might be easiest.
-
@stephenw10 said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
ue0: Ethernet address: ff:ff:ff:ff:ff:ff
Uhhh GREAT *laugh ...tztz
-
@stephenw10 said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
Yes, switching the mode in something else might be easiest.
Ok. I don't want to disassemble the box, since its 24/6,5 needed. This will take some time until I get another (external) Quectel Card of the same type to "fiddle" around with. I will post the results here.
Many thanks for your time, ideas and help!
Best Regards
Famelazar -
Do you get an AT prompt on any other com port? It could be one allows setting values.
-
@stephenw10
Oh yes! I tried all of them (also on the pfSenses GUI to establish a ppp IF), but the ttyu0.3 and cuaU0.3 operate like my historic ZyXel 19k2 landline Modem and its predecessors (Proper Output w/ CR/LF) on the (ssh-) command line/console. -
@stephenw10 said in Quectel EP06-E LTE Module changes pfSense+ NID after cold start or hard reset:
It could be one allows setting values.
Was one of my idea too :-) - Since the AT Commands documentation from Quectel lacks quite a bit on infos . "AT+QCFG="usbnet", x" isn't explained and not listed in the output of "AT+QCFG=?", but the firmware presents that option, wich is explained in the OpenWRT forum like this:
AT+QCFG=“usbnet”,0 < QMI/PPP/Default (??? - Not in my humble oppinion)
AT+QCFG=“usbnet”,1 < ECM (seems to be the default with Revision: EP06ELAR03A08M4G)
AT+QCFG=“usbnet”,2 < MBIMThe 0.3 allows me to set any other settings like this:
AT+CFUN=1,1 (reset/reboot the card)
OK
or
AT+QCFG="volte_disable",1 (self explaining)
OK
or
AT+IPR=921600 (set "line"-Speed)
OK
But not this one at tty/cua 0.0-3 :
AT+QCFG=“usbnet”,0
ERROR
Tested anew on ttyU0/cuaU0 - Results:
On .0 - No response w/ AT+QCFG=“usbnet”,0
On .1 - No response w/ AT+QCFG=“usbnet”,0
On .2 - error w/ AT+QCFG=“usbnet”,0
On .3 - error w/ AT+QCFG=“usbnet”,0 -
You do have an alternate interface descriptor on interface 5. You could try setting it:
usbconfig -d ugen0.2 -i 5 set_alt 1
I don't really expect that to work TBH. It will probably just refuse as the interface is in use.