meridian-shaft Jump to content
Forums

huawei e3372 sur tp-link ac1750 (open wrt)


Recommended Posts

Bonsoir à tous,

 

j'ai récemment acquis le routeur tp-link ac1750, sur lequel j'ai installé le firmware open-wrt.

Souhaitant mettre une connexion 4g dessus, j'ai suivi le tuto de @LeCrabe : https://lecrabeinfo.net/huawei-e3372-configurer-multi-mode-mbbservice-usb-modeswtich.html

Et ma clé e3372 s'est bien upgrade en stick et mode unique avec la commande --> AT^SETPORT="FF;12,16,A2"

branchement et test de la connexion sur le pc ok
 
Pour que la clé soit reconnu sur le routeur, j'ai suivi ce tuto : https://lecrabeinfo.net/installer-firmware-openwrt-sur-routeur-wi-fi.html
 
Je bloque à l'étape 5 du mode "protocole NCM" avec la commande : 
ls -l /dev/cdc-wdm0 /dev/ttyUSB0
elle me retourne : 
ls: /dev/cdc-wdm0: No such file or directory
ls: /dev/ttyUSB0: No such file or directory

seule la commande 
dmesg | grep huawei
m'a retournée une info concernant le modem : 
 
[   10.730764] usbcore: registered new interface driver huawei_cdc_ncm


Pour faire un test croisé, j'ai également essayé le mode Hilink, reconnu sur le pc avec serveur web et connexion ok

Mode RNDIS sur le tuto, blocage à l'étape 5 :
lsusb
me retourne 
unable to initialize libusb: -99

quelqu'un à une idée ? 
 
Link to comment

Salut @Le Crabe,

la première commande me retourne ça :

[email protected]:ls -l /dev
crw-------    1 root     root        5,   1 Jan  1  1970 console
crw-------    1 root     root       10,  63 Jan  1  1970 cpu_dma_latency
crw-rw-rw-    1 root     root        1,   7 Jan  1  1970 full
crw-------    1 root     root      254,   0 Jan  1  1970 gpiochip0
crw-------    1 root     root      254,   1 Jan  1  1970 gpiochip1
crw-------    1 root     root      254,   2 Jul  9 20:00 gpiochip2
crw-------    1 root     root       10, 183 Jan  1  1970 hwrng
crw-------    1 root     root        1,  11 Jan  1  1970 kmsg
srw-rw-rw-    1 root     root             0 Jul  9 20:00 log
crw-------    1 root     root       10,  60 Jan  1  1970 memory_bandwidth
crw-------    1 root     root       90,   0 Jan  1  1970 mtd0
crw-------    1 root     root       90,   1 Jan  1  1970 mtd0ro
crw-------    1 root     root       90,   2 Jan  1  1970 mtd1
crw-------    1 root     root       90,   3 Jan  1  1970 mtd1ro
crw-------    1 root     root       90,   4 Jan  1  1970 mtd2
crw-------    1 root     root       90,   5 Jan  1  1970 mtd2ro
crw-------    1 root     root       90,   6 Jan  1  1970 mtd3
crw-------    1 root     root       90,   7 Jan  1  1970 mtd3ro
crw-------    1 root     root       90,   8 Jan  1  1970 mtd4
crw-------    1 root     root       90,   9 Jan  1  1970 mtd4ro
crw-------    1 root     root       90,  10 Jan  1  1970 mtd5
crw-------    1 root     root       90,  11 Jan  1  1970 mtd5ro
crw-------    1 root     root       90,  12 Jan  1  1970 mtd6
crw-------    1 root     root       90,  13 Jan  1  1970 mtd6ro
crw-------    1 root     root       90,  14 Jan  1  1970 mtd7
crw-------    1 root     root       90,  15 Jan  1  1970 mtd7ro
brw-------    1 root     root       31,   0 Jan  1  1970 mtdblock0
brw-------    1 root     root       31,   1 Jan  1  1970 mtdblock1
brw-------    1 root     root       31,   2 Jan  1  1970 mtdblock2
brw-------    1 root     root       31,   3 Jan  1  1970 mtdblock3
brw-------    1 root     root       31,   4 Jan  1  1970 mtdblock4
brw-------    1 root     root       31,   5 Jan  1  1970 mtdblock5
brw-------    1 root     root       31,   6 Jan  1  1970 mtdblock6
brw-------    1 root     root       31,   7 Jan  1  1970 mtdblock7
crw-------    1 root     root       10,  62 Jan  1  1970 network_latency
crw-------    1 root     root       10,  61 Jan  1  1970 network_throughput
crw-rw-rw-    1 root     root        1,   3 Jan  1  1970 null
crw-------    1 root     root        1,   4 Jan  1  1970 port
crw-------    1 root     root      108,   0 Jul  9 19:59 ppp
crw-rw-rw-    1 root     root        5,   2 Jul  9 20:07 ptmx
drwxr-xr-x    2 root     root             0 Jan  1  1970 pts
crw-rw-rw-    1 root     root        1,   8 Jan  1  1970 random
lrwxrwxrwx    1 root     root             8 Jan  1  1970 shm -> /tmp/shm
crw-rw-rw-    1 root     root        5,   0 Jan  1  1970 tty
crw-------    1 root     root        4,  64 Jan  1  1970 ttyS0
crw-------    1 root     root        4,  65 Jan  1  1970 ttyS1
crw-------    1 root     root        4,  74 Jan  1  1970 ttyS10
crw-------    1 root     root        4,  75 Jan  1  1970 ttyS11
crw-------    1 root     root        4,  76 Jan  1  1970 ttyS12
crw-------    1 root     root        4,  77 Jan  1  1970 ttyS13
crw-------    1 root     root        4,  78 Jan  1  1970 ttyS14
crw-------    1 root     root        4,  79 Jan  1  1970 ttyS15
crw-------    1 root     root        4,  66 Jan  1  1970 ttyS2
crw-------    1 root     root        4,  67 Jan  1  1970 ttyS3
crw-------    1 root     root        4,  68 Jan  1  1970 ttyS4
crw-------    1 root     root        4,  69 Jan  1  1970 ttyS5
crw-------    1 root     root        4,  70 Jan  1  1970 ttyS6
crw-------    1 root     root        4,  71 Jan  1  1970 ttyS7
crw-------    1 root     root        4,  72 Jan  1  1970 ttyS8
crw-------    1 root     root        4,  73 Jan  1  1970 ttyS9
crw-rw-rw-    1 root     root        1,   9 Jan  1  1970 urandom
crw-------    1 root     root       10, 130 Jan  1  1970 watchdog
crw-rw-rw-    1 root     root        1,   5 Jan  1  1970 zero

et la seconde :

[email protected]:~# dmesg | grep usb
[   10.169912] usbcore: registered new interface driver usbfs
[   10.175645] usbcore: registered new interface driver hub
[   10.181279] usbcore: registered new device driver usb
[   10.226411] usbcore: registered new interface driver cdc_wdm
[   10.324554] usbcore: registered new interface driver usbserial
[   10.330705] usbcore: registered new interface driver usbserial_generic
[   10.337532] usbserial: USB Serial support registered for generic
[   10.370145] usbcore: registered new interface driver cdc_ncm
[   10.508487] usbcore: registered new interface driver huawei_cdc_ncm
[   12.826637] usbcore: registered new interface driver option
[   12.832541] usbserial: USB Serial support registered for GSM modem (1-port)
Link to comment

Merci, en effet le dongle avec l'interface NCM n'est pas détecté.

J'ai quelques questions :

  • Tu as bien un Huawei E3372h ?
  • Tu as bien un Archer C7 V2 ?
  • Tu es sûr d'avoir flashé le firmware Stick 21.x ?
  • Tu as bien installé les paquets kmod-usb-net-huawei-cdc-ncm comgt-ncm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan sur OpenWrt ?
Link to comment

// Tu as bien un Huawei E3372h ?

Vérification numéro de série, oui

// Tu as bien un Archer C7 V2 ?

Modèle Archer C7 v4, j'ai bien pris le fichier pour la version 4 lors du flash

// Tu es sûr d'avoir flashé le firmware Stick 21.x ?

version affiché sur dc-unlocker : Firmware            : 21.200.07.00.805

// Tu as bien installé les paquets kmod-usb-net-huawei-cdc-ncm comgt-ncm kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-wwan sur OpenWrt ?

Quand je tape la commande, il me retourne que tout est déjà à jour:

Package kmod-usb-net-huawei-cdc-ncm (4.9.111-1) installed in root is up to date.
Package comgt-ncm (0.32-30) installed in root is up to date.
Package kmod-usb-serial (4.9.111-1) installed in root is up to date.
Package kmod-usb-serial-option (4.9.111-1) installed in root is up to date.
Package kmod-usb-serial-wwan (4.9.111-1) installed in root is up to date.

// La commande dmesg | grep usb me retourne :

[email protected]:~# dmesg | grep usb
[   10.186870] usbcore: registered new interface driver usbfs
[   10.192682] usbcore: registered new interface driver hub
[   10.198297] usbcore: registered new device driver usb
[   10.266100] usbcore: registered new interface driver cdc_wdm
[   10.389330] usbcore: registered new interface driver usbserial
[   10.395430] usbcore: registered new interface driver usbserial_generic
[   10.402300] usbserial: USB Serial support registered for generic
[   10.434775] usbcore: registered new interface driver cdc_ncm
[   10.574016] usbcore: registered new interface driver huawei_cdc_ncm
[   12.866384] usbcore: registered new interface driver option
[   12.872273] usbserial: USB Serial support registered for GSM modem (1-port)
Link to comment
il y a 11 minutes, cream_strawberry a dit :
[email protected]:~# dmesg | grep huawei
[   10.574016] usbcore: registered new interface driver huawei_cdc_ncm

 

C'est étrange, tu devrais avoir quelque chose du style :

[  350.506162] usb 1-1: Product: HUAWEI Mobile
[  350.506164] usb 1-1: Manufacturer: HUAWEI
[  350.506166] usb 1-1: SerialNumber: FFFFFFFFFFFFFFFF
[  350.522867] usb-storage 1-1:1.0: USB Mass Storage device detected
[  350.522989] scsi host6: usb-storage 1-1:1.0
[  350.876422] usb 1-1: USB disconnect, device number 7
[  352.432508] usb 1-1: new high-speed USB device number 8 using xhci_hcd
[  352.573671] usb 1-1: New USB device found, idVendor=12d1, idProduct=15d3
[  352.573675] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  352.573677] usb 1-1: Product: HUAWEI Mobile
[  352.573679] usb 1-1: Manufacturer: HUAWEI
[  352.573681] usb 1-1: SerialNumber: FFFFFFFFFFFFFFFF
[  352.814509] option 1-1:1.0: GSM modem (1-port) converter detected
[  352.814792] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[  352.848834] huawei_cdc_ncm 1-1:1.1: MAC-Address: 00:1e:10:1f:00:00
[  352.855518] huawei_cdc_ncm 1-1:1.1: NDP will be placed at end of frame for this device.
[  352.855772] huawei_cdc_ncm 1-1:1.1: cdc-wdm1: USB WDM device
[  352.856322] huawei_cdc_ncm 1-1:1.1 wwan0: register 'huawei_cdc_ncm' at usb-0000:00:14.0-1, Huawei CDC NCM device, 00:1e:10:1f:00:00
[  352.856596] option 1-1:1.2: GSM modem (1-port) converter detected
[  352.856966] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[  352.857184] option 1-1:1.3: GSM modem (1-port) converter detected
[  352.857367] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[  352.857652] usb-storage 1-1:1.4: USB Mass Storage device detected
[  352.857807] scsi host6: usb-storage 1-1:1.4
[  352.858096] usb-storage 1-1:1.5: USB Mass Storage device detected
[  352.858233] scsi host7: usb-storage 1-1:1.5
[  352.918290] huawei_cdc_ncm 1-1:1.1 wwx001e101f0000: renamed from wwan0

(source : https://debian-facile.org/viewtopic.php?id=17541)

Je cherche d'où peut venir le souci :

Link to comment

j'ai suivi ton lien, la commande lsub me retourne rien, mais la commande dmesg me retourne ça : 

[    0.000000] Linux version 4.9.111 ([email protected]) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7401-9009efa) ) #0 Wed Jul 4 17:30:57 2018
[    0.000000] MyLoader: sysp=3732d7b6, boardp=34bbeabd, parts=29262ff5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 804a7f64, node_mem_map 81000020
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7-V4 mtdparts=spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,1536k(kernel),13568k(rootfs),960k(config)ro,64k(art)ro,[email protected](firmware) console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 124612K/131072K available (3370K kernel code, 177K rwdata, 840K rodata, 276K init, 219K bss, 6460K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008223] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.071034] pid_max: default: 32768 minimum: 301
[    0.075987] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.082963] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092561] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.102969] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.110391] NET: Registered protocol family 16
[    0.116403] MIPS: machine is TP-LINK Archer C7 v4
[    0.124250] registering PCI controller with io_map_base unset
[    0.381810] PCI host bridge to bus 0000:00
[    0.386136] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.393416] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.399282] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.406437] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.414807] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    0.414844] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.414891] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.414957] pci 0000:00:00.0: supports D1 D2
[    0.415124] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.415146] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.422887] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.430499] pci 0000:00:00.0: using irq 40 for pin 1
[    0.438238] clocksource: Switched to clocksource MIPS
[    0.444469] NET: Registered protocol family 2
[    0.449892] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.457245] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.463994] TCP: Hash tables configured (established 1024 bind 1024)
[    0.470780] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.476944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.483807] NET: Registered protocol family 1
[    0.488463] PCI: CLS 0 bytes, default 32
[    0.490664] Crashlog allocated RAM at address 0x3f00000
[    0.496947] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.509697] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.515842] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.533547] io scheduler noop registered
[    0.537682] io scheduler deadline registered (default)
[    0.543482] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.552430] console [ttyS0] disabled
[    0.576269] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.585366] console [ttyS0] enabled
[    0.592923] bootconsole [early0] disabled
[    0.607430] m25p80 spi0.0: found w25q128, expected m25p80
[    0.622397] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.627288] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.633418] Creating 7 MTD partitions on "spi0.0":
[    0.638378] 0x000000000000-0x000000020000 : "factory-uboot"
[    0.645344] 0x000000020000-0x000000040000 : "u-boot"
[    0.651812] 0x000000040000-0x0000001c0000 : "kernel"
[    0.658281] 0x0000001c0000-0x000000f00000 : "rootfs"
[    0.664710] mtd: device 3 (rootfs) set to be root filesystem
[    0.670653] 1 squashfs-split partitions found on MTD device rootfs
[    0.677038] 0x0000003f0000-0x000000f00000 : "rootfs_data"
[    0.684004] 0x000000f00000-0x000000ff0000 : "config"
[    0.690497] 0x000000ff0000-0x000001000000 : "art"
[    0.696689] 0x000000040000-0x000000f00000 : "firmware"
[    0.704106] libphy: Fixed MDIO Bus: probed
[    0.723865] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
[    1.444123] libphy: ag71xx_mdio: probed
[    2.079856] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    2.091420] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[    2.101943] NET: Registered protocol family 10
[    2.109215] NET: Registered protocol family 17
[    2.113854] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.127361] 8021q: 802.1Q VLAN Support v1.8
[    2.133124] hctosys: unable to open rtc device (rtc0)
[    2.142796] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    2.151621] Freeing unused kernel memory: 276K
[    2.156208] This architecture does not have kernel memory protection.
[    2.578251] random: fast init done
[    2.702144] init: Console is alive
[    2.705840] init: - watchdog -
[    3.568174] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.611068] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.619850] init: - preinit -
[    4.576173] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.600709] random: procd: uninitialized urandom read (4 bytes read)
[    5.639881] eth0: link up (1000Mbps/Full duplex)
[    5.676360] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.017885] jffs2: notice: (438) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.039165] mount_root: switching to jffs2 overlay
[    8.073193] urandom-seed: Seeding with /etc/urandom.seed
[    8.179795] eth0: link down
[    8.196536] procd: - early -
[    8.199655] procd: - watchdog -
[    8.805305] procd: - watchdog -
[    8.812189] procd: - ubus -
[    8.947970] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.992535] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.009131] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.025506] procd: - init -
[   10.003162] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.186870] usbcore: registered new interface driver usbfs
[   10.192682] usbcore: registered new interface driver hub
[   10.198297] usbcore: registered new device driver usb
[   10.241643] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.266100] usbcore: registered new interface driver cdc_wdm
[   10.289281] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   10.297552] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   10.315948] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.330127] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   10.389330] usbcore: registered new interface driver usbserial
[   10.395430] usbcore: registered new interface driver usbserial_generic
[   10.402300] usbserial: USB Serial support registered for generic
[   10.424065] xt_time: kernel timezone is -0000
[   10.434775] usbcore: registered new interface driver cdc_ncm
[   10.574016] usbcore: registered new interface driver huawei_cdc_ncm
[   10.613356] PPP generic driver version 2.4.2
[   10.619827] NET: Registered protocol family 24
[   10.647930] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.653977] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   10.932498] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   10.943587] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.011872] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   11.239220] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   11.250301] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.318848] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   11.333115] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   11.342685] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   11.355671] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00037 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 a4a52adb
[   11.441623] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   11.452423] ath10k_pci 0000:00:00.0: Falling back to user helper
[   11.530373] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   11.558452] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   12.680793] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   12.819680] ath: EEPROM regdomain: 0x0
[   12.819687] ath: EEPROM indicates default country code should be used
[   12.819690] ath: doing EEPROM country->regdmn map search
[   12.819702] ath: country maps to regdmn code: 0x3a
[   12.819706] ath: Country alpha2 being used: US
[   12.819709] ath: Regpair used: 0x3a
[   12.866384] usbcore: registered new interface driver option
[   12.872273] usbserial: USB Serial support registered for GSM modem (1-port)
[   12.961855] ath: EEPROM regdomain: 0x0
[   12.961862] ath: EEPROM indicates default country code should be used
[   12.961865] ath: doing EEPROM country->regdmn map search
[   12.961878] ath: country maps to regdmn code: 0x3a
[   12.961882] ath: Country alpha2 being used: US
[   12.961885] ath: Regpair used: 0x3a
[   12.972338] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   12.975954] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=47
[   12.986051] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.121088] urandom_read: 5 callbacks suppressed
[   14.121095] random: jshn: uninitialized urandom read (4 bytes read)
[   22.735134] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.770710] br-lan: port 1(eth0.1) entered blocking state
[   22.776291] br-lan: port 1(eth0.1) entered disabled state
[   22.782244] device eth0.1 entered promiscuous mode
[   22.787192] device eth0 entered promiscuous mode
[   22.850874] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   22.916739] IPv6: ADDRCONF(NETDEV_UP): eth0.100: link is not ready
[   23.800104] eth0: link up (1000Mbps/Full duplex)
[   23.805069] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   23.920182] br-lan: port 1(eth0.1) entered blocking state
[   23.925770] br-lan: port 1(eth0.1) entered forwarding state
[   23.931710] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.100: link becomes ready
[   24.084625] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.587071] ath: EEPROM regdomain: 0x80fa
[   24.587077] ath: EEPROM indicates we should expect a country code
[   24.587081] ath: doing EEPROM country->regdmn map search
[   24.587085] ath: country maps to regdmn code: 0x37
[   24.587089] ath: Country alpha2 being used: FR
[   24.587092] ath: Regpair used: 0x37
[   24.587097] ath: regdomain 0x80fa dynamically updated by user
[   24.587170] ath: EEPROM regdomain: 0x80fa
[   24.587173] ath: EEPROM indicates we should expect a country code
[   24.587176] ath: doing EEPROM country->regdmn map search
[   24.587179] ath: country maps to regdmn code: 0x37
[   24.587182] ath: Country alpha2 being used: FR
[   24.587185] ath: Regpair used: 0x37
[   24.587188] ath: regdomain 0x80fa dynamically updated by user
[   26.542225] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   26.597937] br-lan: port 2(wlan1) entered blocking state
[   26.603591] br-lan: port 2(wlan1) entered disabled state
[   26.609448] device wlan1 entered promiscuous mode
[   26.614373] br-lan: port 2(wlan1) entered blocking state
[   26.619897] br-lan: port 2(wlan1) entered forwarding state
[   26.638352] br-lan: port 2(wlan1) entered disabled state
[   28.036785] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   28.092323] br-lan: port 3(wlan0) entered blocking state
[   28.097896] br-lan: port 3(wlan0) entered disabled state
[   28.103888] device wlan0 entered promiscuous mode
[   37.947066] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   37.953830] br-lan: port 2(wlan1) entered blocking state
[   37.959359] br-lan: port 2(wlan1) entered forwarding state
[   69.178288] random: crng init done
[  106.087357] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  106.094136] br-lan: port 3(wlan0) entered blocking state
[  106.099676] br-lan: port 3(wlan0) entered forwarding state
Link to comment

@cream_strawberry m'a donné l'accès SSH sur son routeur pour que je puisse éventuellement voir d'où vient le problème et c'est bon j'ai trouvé :P

J'ai installé le paquet kmod-usb2 qui permet le support de l'USB 2 (https://wiki.openwrt.org/doc/howto/usb.essentials).

Et la commande dmesg retourne désormais :

[email protected]:~# dmesg
[...]
[56236.457266] kmodloader: loading kernel modules from /etc/modules.d/*
[56236.467915] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[56236.477155] ehci-platform: EHCI generic platform driver
[56236.482714] ehci-platform ehci-platform.0: EHCI Host Controller
[56236.488943] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[56236.499417] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[56236.532822] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[56236.541526] hub 1-0:1.0: USB hub found
[56236.552847] hub 1-0:1.0: 1 port detected
[56236.563314] ehci-platform ehci-platform.1: EHCI Host Controller
[56236.569446] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[56236.579956] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[56236.612839] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[56236.631211] hub 2-0:1.0: USB hub found
[56236.640368] hub 2-0:1.0: 1 port detected
[56236.654818] kmodloader: done loading kernel modules from /etc/modules.d/*
[56236.821265] kmodloader: loading kernel modules from /etc/modules.d/*
[56236.840027] kmodloader: done loading kernel modules from /etc/modules.d/*
[56236.931410] usb 1-1: new high-speed USB device number 2 using ehci-platform
[56237.205930] option 1-1:1.0: GSM modem (1-port) converter detected
[56237.212519] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[56237.359577] huawei_cdc_ncm 1-1:1.1: MAC-Address: xx:xx:xx:xx:xx:xx
[56237.366021] huawei_cdc_ncm 1-1:1.1: setting rx_max = 16384
[56237.392921] huawei_cdc_ncm 1-1:1.1: NDP will be placed at end of frame for this device.
[56237.401425] huawei_cdc_ncm 1-1:1.1: cdc-wdm0: USB WDM device
[56237.408269] huawei_cdc_ncm 1-1:1.1 wwan0: register 'huawei_cdc_ncm' at usb-ehci-platform.0-1, Huawei CDC NCM device, xx:xx:xx:xx:xx:xx

Et dans /dev on a bien nos périphériques :

[email protected]:~# ls -l /dev/cdc-wdm0 /dev/ttyUSB0
crw-------    1 root     root      180, 176 Jul 10 11:53 /dev/cdc-wdm0
crw-------    1 root     root      188,   0 Jul 10 11:53 /dev/ttyUSB0

Je n'ai pas mon TP-Link Archer C7 V2 avec moi là, mais d'après cette photo :

image.thumb.png.2dd16b9a9db8b9391ed6c49684b27072.png

Il semblerait qu'il y ait un port USB 1 et un port USB 2. Tu as dû brancher ton dongle Huawei E3372 sur le deuxième (USB 2), ce qui explique qu'il fallait installer le paquet kmod-usb2 pour le support de l'USB 2 :)

  • J'aime 1
Link to comment
il y a 2 minutes, cream_strawberry a dit :

imaginable qu'il faille un driver en fonction du port sur lequel tu as branché t'as clé ! je n'en reviens toujours pas :D

merci @LeCrabe encore !!!!!

c'est bon à savoir en effet :)
 

Dans la mesure du possible, j'essaie seulement d'installer les paquets nécessaires :P

Mais je crois me souvenir que quelque soit le port USB sur lequel je branchais le dongle, ça marchait et sans avoir installé au préalable le paquet kmod-usb2.

A mon avis, ce paquet doit être intégré dans le firmware de l'Archer C7 V2 (17.01.4) et pas dans le firmware de l'Archer C7 V4 (snapshot) :)

J'ai mis à jour le tutoriel en y intégrant l'installation des paquets pour le support de l'USB 2.0 et 3.0 : https://lecrabeinfo.net/installer-firmware-openwrt-sur-routeur-wi-fi.html

  • J'aime 1
Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...