1 (edytowany przez chemik89 2023-08-13 17:26:47)

Temat: wn841 v13 + LTE + USB

Cześć,
muszę na szybko poskładać na działkę taki zdalny punkt dostępowy do kamer IP,
odkopałem już tego dziadka wn841 v13, robię mu właśnie mod na USB,
zastanawiam się tylko jaką wersję openwrt tam pakować, najnowsza zje mi chyba za dużo zasobów z tych 64MB ram.

potrzebuję:
USB
obsługę modemu LTE E3272 (przerabiać na hilink ?)
pakiet 1wire pod gpio
Wireguard client
ffmpeg lub podobny pakiet pod pobranie od czasu do czasu ramki z kamer i zapisie na USB

wifi zbędne.

2

Odp: wn841 v13 + LTE + USB

To jakieś stare openwrt bo w nowych nie ma gpio-custom i musisz dtsa robić pod 1wire.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: wn841 v13 + LTE + USB

stare w sensie ? 18 ?
było tam już wbudowane wireguard ?

4

Odp: wn841 v13 + LTE + USB

19.07. Ma jedno i drugie jeszcze.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: wn841 v13 + LTE + USB

hmm masz gdzieś może obraz z usb do v13 w bylejakiej wersji ? coś mi nie idzie zbudowanie tego albo po prostu nie działa xD

6

Odp: wn841 v13 + LTE + USB

Nie., 841 nie ma usb. więc ja też takich wersji nie mam. Musisz sobie źródła przerabiać żeby włączyć obsługę usb, nie wystarczy tylko dodać pakiety.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: wn841 v13 + LTE + USB

no dobra, zbudowałem - zmodyfikowałem dtsi jak radzili.
nie bangla big_smile

    0.000000] Linux version 4.14.275 (avru@DESKTOP-SFMK1K8) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11427-9ce6aa9d8d)) #0 Sat Apr 16 13:13:32 2022
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link TL-WR841N v13
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 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, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 804a9460, node_mem_map 81000040
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x90/0x47c with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0002e320
[    0.000000] Readback ErrCtl register=0002e320
[    0.000000] Memory: 58696K/65536K available (3729K kernel code, 169K rwdata, 868K rodata, 1176K init, 200K bss, 6840K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 580MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007560] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.073512] pid_max: default: 32768 minimum: 301
[    0.078197] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084550] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.097267] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.106760] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.112696] pinctrl core: initialized pinctrl subsystem
[    0.118765] NET: Registered protocol family 16
[    0.148470] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.154073] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.159670] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.169554] clocksource: Switched to clocksource MIPS
[    0.175563] NET: Registered protocol family 2
[    0.179992] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
[    0.186942] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.193687] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.199800] TCP: Hash tables configured (established 1024 bind 1024)
[    0.206058] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.211702] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.217906] NET: Registered protocol family 1
[    0.222123] PCI: CLS 0 bytes, default 32
[    0.225375] Crashlog allocated RAM at address 0x3f00000
[    0.232022] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.243970] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.249595] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.268836] io scheduler noop registered
[    0.272629] io scheduler deadline registered (default)
[    0.278448] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.285775] console [ttyS0] disabled
[    0.289215] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.297988] console [ttyS0] enabled
[    0.304988] bootconsole [early0] disabled
[    0.314389] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    0.326285] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[    0.331086] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.337527] Creating 4 MTD partitions on "spi0.0":
[    0.342417] 0x000000000000-0x000000020000 : "boot"
[    0.348205] 0x000000020000-0x0000007c0000 : "firmware"
[    0.356289] 2 tplink-fw partitions found on MTD device firmware
[    0.362370] Creating 2 MTD partitions on "firmware":
[    0.367418] 0x000000000000-0x000000187e04 : "kernel"
[    0.373423] 0x000000187e04-0x0000007a0000 : "rootfs"
[    0.379228] mtd: device 3 (rootfs) set to be root filesystem
[    0.386475] 1 squashfs-split partitions found on MTD device rootfs
[    0.392820] 0x000000370000-0x0000007a0000 : "rootfs_data"
[    0.399212] 0x0000007c0000-0x0000007d0000 : "config"
[    0.405212] 0x0000007d0000-0x000000800000 : "factory"
[    0.423939] rt3050-esw 10110000.esw: link changed 0x00
[    0.430899] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.441097] NET: Registered protocol family 10
[    0.449531] Segment Routing with IPv6
[    0.453442] NET: Registered protocol family 17
[    0.458004] 8021q: 802.1Q VLAN Support v1.8
[    0.470853] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.484469] Freeing unused kernel memory: 1176K
[    0.489065] This architecture does not have kernel memory protection.
[    1.585621] init: Console is alive
[    1.589331] init: - watchdog -
[    2.204313] random: fast init done
[    2.667779] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.843971] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.861900] init: - preinit -
[    4.022933] rt3050-esw 10110000.esw: link changed 0x00
[    4.203561] random: procd: uninitialized urandom read (4 bytes read)
[    7.002993] rt3050-esw 10110000.esw: link changed 0x02
[    7.411780] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    7.444470] urandom-seed: Seed file not found (/etc/urandom.seed)
[    7.571596] procd: - early -
[    7.574651] procd: - watchdog -
[    8.217958] procd: - watchdog -
[    8.221610] procd: - ubus -
[    8.273932] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.281748] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.288760] random: ubusd: uninitialized urandom read (4 bytes read)
[    8.296353] procd: - init -
[    9.314296] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.344689] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.368669] Loading modules backported from Linux version v4.19.237-0-ga6e4a1818efa
[    9.376521] Backport generated by backports.git v4.19.237-1-0-gffb89fd9
[    9.411093] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.435109] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    9.560370] xt_time: kernel timezone is -0000
[    9.742971] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[    9.833917] urngd: v1.0.2 started.
[   10.035180] random: crng init done
[   10.038639] random: 6 urandom warning(s) missed due to ratelimiting
[   10.791697] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   10.797719] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   10.839571] mt76_wmac 10300000.wmac: firmware init done
[   11.010549] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.105035] PPP generic driver version 2.4.2
[   11.120595] NET: Registered protocol family 24
[   11.131778] kmodloader: done loading kernel modules from /etc/modules.d/*
[   59.649787] rt3050-esw 10110000.esw: link changed 0x00
[   61.830302] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   61.837301] jffs2_build_filesystem(): unlocking the mtd device...
[   61.842194] done.
[   61.850489] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   62.675688] rt3050-esw 10110000.esw: link changed 0x02
[   65.975673] br-lan: port 1(eth0.1) entered blocking state
[   65.981250] br-lan: port 1(eth0.1) entered disabled state
[   65.987077] device eth0.1 entered promiscuous mode
[   65.992140] device eth0 entered promiscuous mode
[   66.034478] br-lan: port 1(eth0.1) entered blocking state
[   66.040033] br-lan: port 1(eth0.1) entered forwarding state
[   66.045922] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   67.013599] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   83.815959] done.
[   83.817967] jffs2: notice: (977) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   83.993283] overlayfs: upper fs does not support tmpfile.
[  189.982060] rt3050-esw 10110000.esw: link changed 0x03
root@OpenWrt:~# lsusb
unable to initialize libusb: -99

8

Odp: wn841 v13 + LTE + USB

Jakoś nic ma nic w tym bootlogu żeby inicjował usb. Masz w obrazie moduły do obsługi usb?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: wn841 v13 + LTE + USB

robie tyle co tutaj,
https://forum.openwrt.org/t/wr841n-v13-usb-mod/9098/2
mam usb core,ehci,mass storage

nie budowałem wcześniej nigdy openwrt więc nie wiem co tam trzeba jeszcze wink

10 (edytowany przez chemik89 2023-08-13 23:06:55)

Odp: wn841 v13 + LTE + USB

uu je

[    0.000000] Linux version 4.14.275 (avru@DESKTOP-SFMK1K8) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11427-9ce6aa9d8d)) #0 Sat Apr 16 13:13:32 2022
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link TL-WR841N v13
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 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, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 804ab460, node_mem_map 81000040
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x90/0x47c with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0002e320
[    0.000000] Readback ErrCtl register=0002e320
[    0.000000] Memory: 58632K/65536K available (3735K kernel code, 167K rwdata, 872K rodata, 1232K init, 200K bss, 6904K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 580MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007560] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.073515] pid_max: default: 32768 minimum: 301
[    0.078196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084553] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.097249] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.106744] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.112678] pinctrl core: initialized pinctrl subsystem
[    0.118738] NET: Registered protocol family 16
[    0.148122] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.153721] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.159305] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.169159] clocksource: Switched to clocksource MIPS
[    0.175137] NET: Registered protocol family 2
[    0.179566] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
[    0.186513] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.193266] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.199384] TCP: Hash tables configured (established 1024 bind 1024)
[    0.205632] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.211283] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.217483] NET: Registered protocol family 1
[    0.221709] PCI: CLS 0 bytes, default 32
[    0.224940] Crashlog allocated RAM at address 0x3f00000
[    0.231574] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.243501] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.249075] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.268335] io scheduler noop registered
[    0.272130] io scheduler deadline registered (default)
[    0.277956] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.285263] console [ttyS0] disabled
[    0.288703] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.297480] console [ttyS0] enabled
[    0.304485] bootconsole [early0] disabled
[    0.313886] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    0.325723] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[    0.330528] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.336969] Creating 4 MTD partitions on "spi0.0":
[    0.341866] 0x000000000000-0x000000020000 : "boot"
[    0.347650] 0x000000020000-0x0000007c0000 : "firmware"
[    0.355713] 2 tplink-fw partitions found on MTD device firmware
[    0.361796] Creating 2 MTD partitions on "firmware":
[    0.366845] 0x000000000000-0x000000188762 : "kernel"
[    0.372852] 0x000000188764-0x0000007a0000 : "rootfs"
[    0.378649] mtd: device 3 (rootfs) set to be root filesystem
[    0.385887] 1 squashfs-split partitions found on MTD device rootfs
[    0.392237] 0x0000003a0000-0x0000007a0000 : "rootfs_data"
[    0.398621] 0x0000007c0000-0x0000007d0000 : "config"
[    0.404631] 0x0000007d0000-0x000000800000 : "factory"
[    0.423590] rt3050-esw 10110000.esw: link changed 0x00
[    0.430540] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.440732] NET: Registered protocol family 10
[    0.449140] Segment Routing with IPv6
[    0.453054] NET: Registered protocol family 17
[    0.457613] 8021q: 802.1Q VLAN Support v1.8
[    0.470761] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.484687] Freeing unused kernel memory: 1232K
[    0.489322] This architecture does not have kernel memory protection.
[    1.648911] init: Console is alive
[    1.652726] init: - watchdog -
[    2.256656] random: fast init done
[    3.209672] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.390630] usbcore: registered new interface driver usbfs
[    3.396288] usbcore: registered new interface driver hub
[    3.401857] usbcore: registered new device driver usb
[    3.413180] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.428554] SCSI subsystem initialized
[    3.437778] ehci-platform: EHCI generic platform driver
[    3.453487] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[    3.460310] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[    3.465625] ehci-platform 101c0000.ehci: EHCI Host Controller
[    3.471527] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    3.479705] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    3.509210] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    3.516632] hub 1-0:1.0: USB hub found
[    3.520897] hub 1-0:1.0: 1 port detected
[    3.528457] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.536495] ohci-platform: OHCI generic platform driver
[    3.542160] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    3.549073] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    3.557248] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    3.634151] hub 2-0:1.0: USB hub found
[    3.638392] hub 2-0:1.0: 1 port detected
[    3.645424] uhci_hcd: USB Universal Host Controller Interface driver
[    3.660916] usbcore: registered new interface driver usb-storage
[    3.667879] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.677844] init: - preinit -
[    4.408135] usb 2-1: new full-speed USB device number 2 using ohci-platform
[    4.785515] rt3050-esw 10110000.esw: link changed 0x00
[    4.893207] hub 2-1:1.0: USB hub found
[    4.905422] hub 2-1:1.0: 4 ports detected
[    4.978917] random: procd: uninitialized urandom read (4 bytes read)
[    7.765357] rt3050-esw 10110000.esw: link changed 0x02
[    8.198213] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    8.235020] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.415980] procd: - early -
[    8.419039] procd: - watchdog -
[    8.570862] rt3050-esw 10110000.esw: link changed 0x03
[    9.144336] procd: - watchdog -
[    9.147910] procd: - ubus -
[    9.203202] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.210522] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.217496] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.225006] procd: - init -
[    9.945576] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.971940] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.998463] Loading modules backported from Linux version v4.19.237-0-ga6e4a1818efa
[   10.006331] Backport generated by backports.git v4.19.237-1-0-gffb89fd9
[   10.031823] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.058218] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   10.191483] xt_time: kernel timezone is -0000
[   10.332442] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   10.442835] urngd: v1.0.2 started.
[   10.649531] random: crng init done
[   10.652990] random: 6 urandom warning(s) missed due to ratelimiting
[   11.371330] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   11.377352] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   11.419177] mt76_wmac 10300000.wmac: firmware init done
[   11.590071] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.624755] PPP generic driver version 2.4.2
[   11.650232] NET: Registered protocol family 24
[   11.669582] kmodloader: done loading kernel modules from /etc/modules.d/*
[   43.492613] rt3050-esw 10110000.esw: link changed 0x00
[   45.630924] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   45.637923] jffs2_build_filesystem(): unlocking the mtd device...
[   45.653236] done.
[   45.661532] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   46.485796] rt3050-esw 10110000.esw: link changed 0x02
[   47.319968] rt3050-esw 10110000.esw: link changed 0x03
[   49.629422] br-lan: port 1(eth0.1) entered blocking state
[   49.634914] br-lan: port 1(eth0.1) entered disabled state
[   49.640795] device eth0.1 entered promiscuous mode
[   49.645660] device eth0 entered promiscuous mode
[   49.716588] br-lan: port 1(eth0.1) entered blocking state
[   49.722145] br-lan: port 1(eth0.1) entered forwarding state
[   49.728017] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   50.649655] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   66.954102] done.
[   66.956109] jffs2: notice: (1028) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   67.136268] overlayfs: upper fs does not support tmpfile.
[  133.749549] usb 2-1.2: new full-speed USB device number 3 using ohci-platform
[  133.914208] usb 2-1.2: not running at top speed; connect to a high speed hub
[  133.938826] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[  133.960029] scsi host0: usb-storage 2-1.2:1.0
[  134.976356] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[  135.006266] sd 0:0:0:0: [sda] 4014080 512-byte logical blocks: (2.06 GB/1.91 GiB)
[  135.018254] sd 0:0:0:0: [sda] Write Protect is off
[  135.023212] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[  135.028270] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[  135.230106]  sda: sda1 sda2 sda3 sda4
[  135.263267] sd 0:0:0:0: [sda] Attached SCSI removable disk
root@OpenWrt:~#

biega skacze wink
trzba było zmodyfikować dtsi a nie dts xD w dtsi te moduły miały disable a ja w dts dalem wtedy okay - widać fałsz + prawda daje fałsz wink

https://i.ibb.co/6Zw72vB/IMG-20230813-233506.jpg


dobra, to teraz multimecia, pamiętam że pod rtsp z kamerek ip lepsze było live555, ale nie widzę by gdzieś to było w openwrt ..
nie widzę też wireguarda

hmm i ffmpeg sie nie mieści ... dlaczego przy 8M obraz się buduje do max 4MB ?

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
        compressed data, compressed metadata, compressed fragments,
        no xattrs, compressed ids
        duplicates are removed
Filesystem size 6882.03 Kbytes (6.72 Mbytes)
        40.33% of uncompressed filesystem size (17064.81 Kbytes)
Inode table size 6830 bytes (6.67 Kbytes)
        20.61% of uncompressed inode table size (33135 bytes)
Directory table size 9498 bytes (9.28 Kbytes)
        46.61% of uncompressed directory table size (20379 bytes)
Number of duplicate files found 96
Number of inodes 989
Number of files 713
Number of fragments 19
Number of symbolic links  201
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 74
Number of ids (unique uids + gids) 1
Number of uids 1
        root (0)
Number of gids 1
        root (0)
[ -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -a -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs ]
[ -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -a -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs ]
/home/avru/openwrt/openwrt/staging_dir/host/bin/mktplinkfw2 -H 0x08410013 -W 0x268 -w 0x13 -F "8Mmtk" -T 3 -V "ver. 2.0" -a 0x4 -j -k /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -r /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs -o /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-sysupgrade.bin.new -s -e
dd if=/dev/zero bs=128k count=1 >> /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery.bin
[mktplinkfw2] rootfs offset aligned to 0x1607524
[mktplinkfw2] *** error: images are too big
make[5]: *** [Makefile:183: /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-sysupgrade.bin] Error 255
make[5]: *** Waiting for unfinished jobs....
1+0 records in
1+0 records out
131072 bytes (131 kB, 128 KiB) copied, 0.000367394 s, 357 MB/s
/home/avru/openwrt/openwrt/staging_dir/host/bin/mktplinkfw2 -H 0x08410013 -W 0x268 -w 0x13 -F "8Mmtk" -T 3 -V "ver. 2.0" -a 0x4 -j -k /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -r /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs -o /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery.bin.new -e
[mktplinkfw2] rootfs offset aligned to 0x1607524
[mktplinkfw2] *** error: images are too big
make[5]: *** [Makefile:183: /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery.bin] Error 255
make[5]: Leaving directory '/home/avru/openwrt/openwrt/target/linux/ramips/image'
make[4]: *** [Makefile:26: install] Error 2
make[4]: Leaving directory '/home/avru/openwrt/openwrt/target/linux/ramips'
make[3]: *** [Makefile:13: install] Error 2
make[3]: Leaving directory '/home/avru/openwrt/openwrt/target/linux'
time: target/linux/install#14.63#2.55#8.35
make[2]: *** [target/Makefile:25: target/linux/install] Error 2
make[2]: Leaving directory '/home/avru/openwrt/openwrt'
make[1]: *** [target/Makefile:19: /home/avru/openwrt/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/avru/openwrt/openwrt'
make: *** [/home/avru/openwrt/openwrt/include/toplevel.mk:227: world] Error 2

11

Odp: wn841 v13 + LTE + USB

Bo tak jest zdefiniowane w image..mk. Zmień sobie tam z 4M ba 8M.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12 (edytowany przez chemik89 2023-08-14 08:45:01)

Odp: wn841 v13 + LTE + USB

dobra to PPP mi tyle wpitoliło, ale rozumiem że do tego modemu an ndis tego nie potrzeba.
ffmpeg to raptem 100kb.

tylko nadal wireguarda nie moge namierzyć w menuconfig xD

13

Odp: wn841 v13 + LTE + USB

To sobie bezpośrednio w .config odkomentuj. Gdzieś tam w okolicach network/vpn był chyba.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14 (edytowany przez chemik89 2023-08-14 08:50:51)

Odp: wn841 v13 + LTE + USB

Cezary napisał/a:

To sobie bezpośrednio w .config odkomentuj. Gdzieś tam w okolicach network/vpn był chyba.

tak dokładnie też na to teraz trafiłem, szukałem w kernel modułach wcześniej :>

btw powinienem to wbudowywać * czy dodawać w modułach M ?

15

Odp: wn841 v13 + LTE + USB

Jak chcesz w mieć to w obrazie to jako <*> oczywiście.

Moduł kernelowy też  jest. Sam się zaznaczny.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16 (edytowany przez chemik89 2023-08-14 09:44:32)

Odp: wn841 v13 + LTE + USB

grr bare minimum mi się na 8MB nie mieści ..
wireguard
usb + ncm + uhci + ehci + mass storage

i tak zrobie exroota, ale w razie awarii chciałem żeby połączenie + vpn z flash też wystartowało ...

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
        compressed data, compressed metadata, compressed fragments,
        no xattrs, compressed ids
        duplicates are removed
Filesystem size 6910.16 Kbytes (6.75 Mbytes)
        40.27% of uncompressed filesystem size (17157.83 Kbytes)
Inode table size 6946 bytes (6.78 Kbytes)
        20.62% of uncompressed inode table size (33683 bytes)
Directory table size 9722 bytes (9.49 Kbytes)
        46.51% of uncompressed directory table size (20905 bytes)
Number of duplicate files found 104
Number of inodes 1007
Number of files 734
Number of fragments 20
Number of symbolic links  198
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 74
Number of ids (unique uids + gids) 1
Number of uids 1
        root (0)
Number of gids 1
        root (0)
[ -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -a -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs ]
/home/avru/openwrt/openwrt/staging_dir/host/bin/mktplinkfw2 -H 0x08410013 -W 0x268 -w 0x13 -F "8Mmtk" -T 3 -V "ver. 2.0" -a 0x4 -j -k /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -r /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs -o /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-sysupgrade.bin.new -s -e
[ -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -a -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs ]
dd if=/dev/zero bs=128k count=1 >> /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery.bin
[mktplinkfw2] rootfs offset aligned to 0x1303136
[mktplinkfw2] *** error: images are too big
make[5]: *** [Makefile:183: /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-sysupgrade.bin] Error 255
make[5]: *** Waiting for unfinished jobs....
1+0 records in
1+0 records out
131072 bytes (131 kB, 128 KiB) copied, 0.000175716 s, 746 MB/s
/home/avru/openwrt/openwrt/staging_dir/host/bin/mktplinkfw2 -H 0x08410013 -W 0x268 -w 0x13 -F "8Mmtk" -T 3 -V "ver. 2.0" -a 0x4 -j -k /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -r /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs -o /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery.bin.new -e
[mktplinkfw2] rootfs offset aligned to 0x1303136
[mktplinkfw2] *** error: images are too big

dodałem tylko

Kernel Modules -> USB Support
<*> kmod-usb2
<*> kmod-usb-ohci
<*> kmod-usb-uhci
<*> kmod-usb-net (ndis)

wireguard
wireguard tools

można gdzieś sprawdzić który pakiet ile waży ?

17

Odp: wn841 v13 + LTE + USB

Przerób modem na hilinka, będziesz mógł wywalić ppp, ncm, comgt, usb-storage itp. Wywal także odhcpd i w ogóle możesz skompolować bez wsparcia dla ipv6.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18 (edytowany przez chemik89 2023-08-14 10:04:26)

Odp: wn841 v13 + LTE + USB

hmm po zrobieniu clean obraz już się mieści, wychodzi 5.6MB
jak zaznacze ffmpeg, zbuduje a potem odznacze to zostaje mi 6.75MB ...
trzeba za każdym razem dawać clean czy co ? odznaczenie pakietu nie wystarczy ?

19

Odp: wn841 v13 + LTE + USB

Odznaczenie pakiet nie odznacza jego zależności. ffmesg zależy od wielu bibliotek, zaznaczając go zaznaczają sie tak że one. Ale ja go odznaczysz to one zostaną zaznaczone.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

20 (edytowany przez chemik89 2023-08-14 10:04:32)

Odp: wn841 v13 + LTE + USB

Cezary napisał/a:

Odznaczenie pakiet nie odznacza jego zależności. ffmesg zależy od wielu bibliotek, zaznaczając go zaznaczają sie tak że one. Ale ja go odznaczysz to one zostaną zaznaczone.

nie było polecenia od czyszczenia zależności ?


a co do hilink - planowałem przejść, ale te wątki są już tak antyczne z wygaśniętymi linkami ze nawet nie wiem jak.
do tego pod każdą wersja wypisują problemy typu niewznawianie połączenia od czasu do czasu czy brak możliwości wymuszenia LTE ... bezużyteczne .

21 (edytowany przez MiG25 2023-08-14 10:16:50)

Odp: wn841 v13 + LTE + USB

Brak możliwości wymuszenia LTE , ale to tylko komendami AT... Hilink ma stronę konfiguracyjną i jak się wgra odpowiedni webui to zrobisz to przez przeglądarkę (oczywiście ręcznie), chyba ,że jakieś wymyślne skrypty masz do sterowania tego.
Ja bym dodał ,że hilink dodaje kolejny NAT...

22

Odp: wn841 v13 + LTE + USB

Soft hilinka sam wznawia połączenia i działa to bardzo bezproblemowo, jest też w gui zarówno wymuszenie technologii jak i wybór pasm. Albo źle doczytałeś albo widziałeś przelotnie jakiś dziwny soft który tego nie miał (np. hlink od brandowanego beeline).

Wątki i linki znajdziesz na forum bez-kabli.pl

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23 (edytowany przez chemik89 2023-08-14 11:22:58)

Odp: wn841 v13 + LTE + USB

huh no właśnie przeglądam ale tam burdel na 102. prędzej na 4pda ru bezpośrednio coś rozszyfruje ...
e3272s-153 play
linki niedostępne, a te z huawei płatne xD

24 (edytowany przez Focus 2023-08-14 11:32:21)

Odp: wn841 v13 + LTE + USB

chemik89 napisał/a:

huh no właśnie przeglądam ale tam burdel na 102. prędzej na 4pda ru bezpośrednio coś rozszyfruje ...
e3272s-153 play
linki niedostępne, a te z huawei płatne xD

Żadne linki nie wygasły.
Z tamtego forum "dzejk" ma to czego szukasz na mediafire https://www.mediafire.com/folder/ll9ieq … /Documents

25

Odp: wn841 v13 + LTE + USB

Focus napisał/a:
chemik89 napisał/a:

huh no właśnie przeglądam ale tam burdel na 102. prędzej na 4pda ru bezpośrednio coś rozszyfruje ...
e3272s-153 play
linki niedostępne, a te z huawei płatne xD

Żadne linki nie wygasły.
Z tamtego forum "dzejk" ma to czego szukasz na mediafire https://www.mediafire.com/folder/ll9ieq … /Documents

dzięki, nie znajduje mi go, blad 10.
co za sterowniki trzeba mieć wgrane ?