26

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

no i dobra, dziala, jest B12.

czas na 286R xD

edit:
ale serio - jak powinna wygląda poprawna konfiguracja gdy jedynym wanem jest ten modem, wraz z czymś co pilnuje połączenia.

cholernie to jest niestabilne, zmiana zabezpieczeń wifi na wpa3 spowodowała że modem nie pokazuje już BTS i łączy się z zawrotnymi 80kbps ;D po przełożeniu karty do telefonu jest normalnie, więc to nie lejek.
po restarcie routera znowu jest ok

27

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB2
picocom v3.1

port is        : /dev/ttyUSB2
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        :
omap is        :
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

!! Settings mismatch !! Type [C-a] [C-v] to see actual port settings
Type [C-a] [C-h] to see available commands
Terminal ready
ATI
Manufacturer: ZTE CORPORATION
Model: MF286DMODULE
Revision: BD_TELIAMF286DV1.0.0B02
SVN: 01
IMEI: 866754045795650
+GCAP: +CGSM

OK
at+fotactr=0
+FOTACTR: 0,0

OK
at+fotactr=1
+FOTACTR: 1,0

OK
at+fotactr=5
+FOTACTR: 5,8157283

OK
at+fotactr=8
+FOTACTR: 8,-1

OK
at+fotactr=2
+FOTACTR: 2,0

OK

FATAL: read zero bytes from port
term_exitfunc: reset failed for dev UNKNOWN: Not a tty
root@OpenWrt:~# picocom -b 115200 /dev/ttyUSB2
picocom v3.1

port is        : /dev/ttyUSB2
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        :
omap is        :
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no


FATAL: cannot open /dev/ttyUSB2: No such file or directory

i tylem widział modem ;D

edit - wstał, ale faktycznie z 5min mu to zajeło./

ATI
Manufacturer: ZTE CORPORATION
Model: MF286DMODULE
Revision: BD_TELIAMF286DV1.0.0B02
SVN: 05
IMEI: 866754045795650
+GCAP: +CGSM

hmm coś mi tu nie pasuje, SVN się zmienił na 5, ale nadal rev mam B02

28

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

widac mam, bo dopiero jak go ustawiłem to mi zestawiło połączenie z ipv6

orange free na karte z 5G

stąd też ten wirtualny wan_4, trzyma połaczenie v6.

no dobra net dziala to pora przejść z b02 na B12 ... gdzieś tu miałem link ... big_smile

https://eko.one.pl/forum/viewtopic.php? … 99#p285899

29

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

PiotrekK napisał/a:
chemik89 napisał/a:

jest jak piszesz, zaktualizowałem też openwrt do 24.10. Domyślnie nie ma zainstalowanych narzędzi do obsługi modemu w luci ?

Dobrze ustawiony na interfejsie komórkowym protokół QMI Cellular i APN wystarczą. Chyba, że pytasz o coś innego?

no własnie tak znwu przekupuje te wątki w poszukiwaniu co mam ustawić dla tego modemu big_smile
na razie przestawiłem wan na qmi i ustawilem apn i apn6.
zrobiło mi jakiś wirtualny wan_4 i niby działa, ale nie wiem jak to ładnie powinno być zrobione

30

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

huh spodziewałem się że włożę karte i gotowe ;D za bardzo przyzwyczaiłem się do modemów hilink chyba.

w takim razie o jakimkolwiek sysupgrade zdalnie można zapomnieć ?

31

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

jest jak piszesz, zaktualizowałem też openwrt do 24.10. Domyślnie nie ma zainstalowanych narzędzi do obsługi modemu w luci ?

32

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

PiotrekK napisał/a:
chemik89 napisał/a:

czym to podłączyć żeby framework widział ? USB - USB z routerem ?

Ethernet (port Lan)

tak przedzieram sie juz przez którąś stronę z https://eko.one.pl/forum/viewtopic.php?id=22831&p=2

mam podłączone w lan, framework go nie widzi, nie da sie zrobić start ani nic, dlatego tak kombinuje czym to podłączyć ..

w nazwie jest  192.168.32.1, już nawet na sztywno siec na lapku ustawiłem na .2

nic szukam dalej jakichś instrukcji wink

---
dobra, trzeba zwyczajnie po dhcp. w apce zmienic katalog na update. idzie.
Zawisło na 99% = reset CPE, please wait xD

33

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

czym to podłączyć żeby framework widział ? USB - USB z routerem ?

34

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

tyle to wiem wink odkopałem innego lapka i poszło za 1 razem. musze jakiegoś MR3020 przerobić ma mały serwer tftp/ftp/smb ;p

backup wszystkiego zrobiony.

jak to teraz najlepiej postawić ? Modem rozumiem i tak mam w B02, więc wystarczy że po prostu wgram tam openwrt z poziomu initramfs ?
czy jakoś inaczej można dopchnąc modem do B12

35

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

tftp to jest dla mnie jakas masakra, działa tak z raz na 200 prób big_smile
teraz już straciłem na to godzinę, gdyby nie fakt że siedzę z piwem nad jeziorem to już dawno bym to rzucił w kąt big_smile

(IPQ40xx) # tftp luci-24.10-snapshot-r28627-0b392b925f-ipq40xx-generic-zte_mf286d-initramfs-zImage.itb
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
Using eth0 device
TFTP from server 192.168.1.3; our IP address is 192.168.1.72
Filename 'luci-24.10-snapshot-r28627-0b392b925f-ipq40xx-generic-zte_mf286d-initramfs-zImage.itb'.
Load address: 0x84000000
Loading: *
TFTP error: 'File not found or No Access' (1)
Not retrying...
(IPQ40xx) #

ten protokół to zawsze ostatnia droga ratunku big_smile

36

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

statystycznie prościej i szybciej byłoby mi wylutowac flash i go odczytać niż postawić tftp big_smile

37

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

ech te instrukcje strasznie pomieszane nawet na wiki openwrt wink jest odnośnik z D do wykonania backupu jak w R, przez stockowy FW na USB.
W tym wątku z 1 posta też instalacja nie zakłada stawiania najpierw openwrt z ramu, tylko wykonanie backupu.

38

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

no dobra, wpiąłem się. Jaki tam jest login/pass ? big_smile nie widzę by w jakiejś instr była wzmianka o autoryzacji.

39

(3,876 odpowiedzi, napisanych Sprzęt / Hardware)

mam
CR_NTTPLMF286DV1.0.1B02
MF286DHW1.0

da się zrobić backup bez lutowania uarta jak w R ?
update modemu i przejście na openwrt frameworkiem ? Jest gdzieś opis jak tego używać, bo tylko linki do instalatora widze.

40

(1,240 odpowiedzi, napisanych Sprzęt / Hardware)

[   17.000000] usbserial: USB Serial Driver core
[   17.060000] Initializing USB Mass Storage driver...
[   17.060000] usbcore: registered new interface driver usb-storage
[   17.070000] USB Mass Storage support registered.
[   17.090000] driver_info->flags 1020 idVendor 19d2 idProduct 1489
[   17.100000] cdc_ether 1-1:1.6: ecm0: register 'cdc_ether' at usb-ehci-platfor                                                                                                                                   m.0-1, CDC Ethernet Device, 66:c6:a7:b1:74:27
[   17.110000] usbcore: registered new interface driver cdc_ether
[   17.190000] generic_rndis_bind: rx_urb_size: 0x3e80
[   17.190000] generic_rndis_bind: data zero copy=1
[   17.200000] driver_info->flags 3238 idVendor 19d2 idProduct 1489
[   17.210000] rndis_host 1-1:1.0: usb0: register 'rndis_host' at usb-ehci-platf                                                                                                                                   orm.0-1, RNDIS device, 1a:ab:e3:99:52:ba
[   17.220000] usbcore: registered new interface driver rndis_host
[   17.280000] USB Serial support registered for GSM modem (1-port)
[   17.290000] usbcore: registered new interface driver option
[   17.290000] option: v0.7.2:USB Driver for GSM modems
[   17.360000] fuse init (API version 7.18)
[   18.150000] yaffs: dev is 32505864 name is "mtdblock8" rw
[   18.150000] yaffs: passed flags ""
[   18.190000] yaffs: dev is 32505871 name is "mtdblock15" rw
[   18.190000] yaffs: passed flags ""
rm: can't remove '/etc_rw/fota/cp_failure_flag': No such file or directory
▒

U-Boot 1.1.4 (May 13 2021 - 05:37:00)

ap152 - Dragonfly 1.0DRAM:
sri
ath_ddr_initial_config(278): (ddr2 init)
ath_sys_frequency: cpu 775 ddr 650 ahb 258
Tap values = (0xf, 0xf, 0xf, 0xf)
128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 659k for U-Boot at: 87f58000
Reserving 192k for malloc() at: 87f28000
Reserving 44 Bytes for Board Info at: 87f27fd4
Reserving 36 Bytes for Global Data at: 87f27fb0
Reserving 128k for boot params() at: 87f07fb0
Stack Pointer at: 87f07f98
Now running in RAM - U-Boot at: 87f58000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x15
flash size 2MB, sector count = 32
Flash:  2 MB
*** Warning - bad CRC, using default environment

Power up PLL with outdiv = 0 then switch to 3
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init (MDC/MDIO config)::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
Max resets limit reached exiting...
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:ff:ff:ff
ath_gmac_phy_setup
eth0 up
eth0
Qualcomm Atheros SPI NAND Driver, Version 0.1 (c) 2014  Qualcomm Atheros Inc.
ath_spi_nand_ecc: furture feat = 0x10
ath_spi_nand_ecc: middle feat = 0x10
zte ath_spi_nand_read_id 0xc8d1
zte ath_spi_nand_read_id 0xc8d1c8
zte debug gd 128 oob
====== NAND Parameters ======
sc addr = 0x87fa6d10 page(write size) = 0x800 (erase size) block = 0x20000
Setting 0x181162c0 to 0x4b962100
Uaztemain: enter into !
ZTE_InitFotaFlashPara: nand_curr_device=0
zte_getHandOffState: read data=0x20 from 0x0
Hit any key to stop autoboot:  0

Loading from device 0: ath-spi-nand (offset 0x1800000)
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2022-06-10  18:13:55 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1210077 Bytes =  1.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Contents:
   Image 0:  1210069 Bytes =  1.2 MB
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
ath_spi_nand_page_read :status=0x1
## Booting image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2022-06-10  18:13:55 UTC
   Image Type:   MIPS Linux Multi-File Image (lzma compressed)
   Data Size:    1210077 Bytes =  1.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Contents:
   Image 0:  1210069 Bytes =  1.2 MB
   Verifying Checksum at 0x81000040 ...OK
   Uncompressing Multi-File Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 3.3.8 (zte@scl_xa24_241) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jun 11 02:13:06 CST 2022
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA956X rev 0
[    0.000000] Clocks: CPU:775.000MHz, DDR:650.000MHz, AHB:258.333MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=AP152 console=ttyS0,115200 mtdparts=spi0.0:640k(u-boot),128k(u-boot-env),1280k(reserved1);spi0.1:640k(fota-flag),512k(art),512k(mac),768k(reserved2),4m(cfg-param),4m(log),640k(oops),5m(reserved3),8m(web),3m(kernel),26m(rootfs),25m(data),50m(fota),29m@0x1800000(firmware) mem=128M rootfstype=squashfs,jffs2 noinitrd crashkernel=10M@20M oops=panic
[    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] 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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125784k/131072k available (2574k kernel code, 5288k reserved, 687k data, 228k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:83
[    0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.060000] Performance counters: mips/74K PMU enabled, 4 32-bit counters available to each CPU, irq 13
[    0.070000] NET: Registered protocol family 16
[    0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[    0.080000] MIPS: machine is Qualcomm Atheros AP152 reference board
[    0.090000]
[    0.090000] WLAN firmware dump buffer allocation of 2097152 bytes @ address 0x87a00000- SUCCESS !!!
[    0.100000] registering PCI controller with io_map_base unset
[    0.310000] bio: create slab <bio-0> at 0
[    0.310000] PCI host bridge to bus 0000:00
[    0.320000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.320000] pci_bus 0000:00: root bus resource [io  0x0001]
[    0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.330000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.340000] Switching to clocksource MIPS
[    0.340000] NET: Registered protocol family 2
[    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.350000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.360000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.360000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.370000] TCP reno registered
[    0.370000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.380000] NET: Registered protocol family 1
[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.400000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.410000] msgmni has been set to 245
[    0.420000] io scheduler noop registered
[    0.420000] io scheduler deadline registered (default)
[    0.430000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.450000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.460000] console [ttyS0] enabled, bootconsole disabled
[    0.460000] console [ttyS0] enabled, bootconsole disabled
[    0.470000] m25p80 spi0.0: found gd25q16csig, expected m25p80
[    0.480000] m25p80 spi0.0: gd25q16csig (2048 Kbytes)
[    0.490000] 3 cmdlinepart partitions found on MTD device spi0.0
[    0.490000] Creating 3 MTD partitions on "spi0.0":
[    0.500000] 0x000000000000-0x0000000a0000 : "u-boot"
[    0.500000] 0x0000000a0000-0x0000000c0000 : "u-boot-env"
[    0.510000] 0x0000000c0000-0x000000200000 : "reserved1"
[    0.520000] zte gd nand
[    0.520000] NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (Giga Device NAND 128MiB 3,3V 8-bit)
[    0.530000] Scanning device for bad blocks
[    0.560000] Bad eraseblock 127 at 0x000000fe0000
[    0.740000] Bad eraseblock 1023 at 0x000007fe0000
[    0.750000] 14 cmdlinepart partitions found on MTD device spi0.1
[    0.760000] Creating 14 MTD partitions on "spi0.1":
[    0.760000] 0x000000000000-0x0000000a0000 : "fota-flag"
[    0.770000] 0x0000000a0000-0x000000120000 : "art"
[    0.770000] 0x000000120000-0x0000001a0000 : "mac"
[    0.780000] 0x0000001a0000-0x000000260000 : "reserved2"
[    0.790000] 0x000000260000-0x000000660000 : "cfg-param"
[    0.790000] 0x000000660000-0x000000a60000 : "log"
[    0.800000] 0x000000a60000-0x000000b00000 : "oops"
[    0.800000] 0x000000b00000-0x000001000000 : "reserved3"
[    0.810000] 0x000001000000-0x000001800000 : "web"
[    0.820000] 0x000001800000-0x000001b00000 : "kernel"
[    0.820000] 0x000001b00000-0x000003500000 : "rootfs"
[    0.830000] mtd: partition "rootfs" set to be root filesystem
[    0.840000] 0x000003500000-0x000004e00000 : "data"
[    0.840000] 0x000004e00000-0x000008000000 : "fota"
[    0.850000] 0x000001800000-0x000003500000 : "firmware"
[    0.990000] ag71xx_mdio: probed
[    1.000000] zte_nand_local_read():Reading Flash for Calibraton data from 0x0 and partition name is mac
[    1.010000] ***********************************************
[    1.010000] AG71XX using MAC@ - using d4:72:26:7c:fd:59
[    1.020000] ***********************************************
[    1.030000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.610000] eth0: Atheros AR8327 switch driver attached.
[    4.500000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    4.510000] *************tian.zb test err=0***********************
[    4.520000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    4.530000] zte gpio_keys_polled_check_state:report code=358 state=0
[    4.530000] zte gpio_keys_polled_check_state:report code=352 state=0
[    4.540000] zte gpio_keys_polled_check_state:report code=238 state=0
[    4.550000] netem: version 1.3
[    4.550000] u32 classifier
[    4.550000]     Performance counters on
[    4.560000]     input device check on
[    4.560000]     Actions configured
[    4.560000] TCP cubic registered
[    4.570000] NET: Registered protocol family 17
[    4.570000] 8021q: 802.1Q VLAN Support v1.8
[    4.580000] ### of_selftest(): No testcase data in device tree; not running tests
[    4.610000] VFS: Mounted root (squashfs filesystem) readonly on device 31:13.
[    4.620000] Freeing unused kernel memory: 228k freed
init started: BusyBox v1.19.4 (2022-06-11 00:24:04 CST)
*****************ZTE rcS********************
call startup scripts here\n
[   11.180000] ssdk_plat_init start
[   11.190000] Register QCA PHY driver
[   11.190000] PHY ID is 0x4dd036
[   11.290000] qca probe f1 phy driver succeeded!
[   11.300000] qca-ssdk module init succeeded!
[   11.840000] NET: Registered protocol family 10
[   12.250000] SCSI subsystem initialized
[   12.880000] usbcore: registered new interface driver usbfs
[   12.890000] usbcore: registered new interface driver hub
[   12.900000] usbcore: registered new device driver usb
[   12.910000] Button Hotplug driver version 0.4.1
[   13.260000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   13.580000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[   14.010000] PPP generic driver version 2.4.2
[   14.260000] tun: Universal TUN/TAP device driver, 1.6
[   14.260000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   14.290000] NET: Registered protocol family 24
[   14.370000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   14.440000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.750000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.750000] ehci-platform ehci-platform.0: Generic Platform EHCI Controller
[   14.760000] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[   14.800000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[   14.820000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[   14.820000] hub 1-0:1.0: USB hub found
[   14.830000] hub 1-0:1.0: 1 port detected
[   14.830000] ehci-platform ehci-platform.1: Generic Platform EHCI Controller
[   14.840000] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[   14.880000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[   14.900000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[   14.900000] hub 2-0:1.0: USB hub found
[   14.910000] hub 2-0:1.0: 1 port detected
[   15.150000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   15.250000] nf_conntrack version 0.5.0 (1968 buckets, 7872 max)
[   15.630000] ZTE Generic Netlink Module Inserted without Lock
[   15.690000] xt_time: kernel timezone is -0000
[   16.110000] nf_conntrack_rtsp v0.6.21 loading
[   16.120000] nf_nat_rtsp v0.6.21 loading
[   16.200000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.360000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.800000] AR71XX_RESET_REG_WDOG_CTRL: 0x0
[   16.800000]
[   16.870000] cdc_acm 1-1:1.2: This device cannot do calls on its own. It is not a modem.
[   16.880000] cdc_acm 1-1:1.2: ttyACM0: USB ACM device
[   16.880000] usbcore: registered new interface driver cdc_acm
[   16.890000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   16.980000] usbcore: registered new interface driver usbserial
[   16.980000] USB Serial support registered for generic
[   16.990000] usbcore: registered new interface driver usbserial_generic
[   17.000000] usbserial: USB Serial Driver core
[   17.050000] Initializing USB Mass Storage driver...
[   17.060000] usbcore: registered new interface driver usb-storage
[   17.060000] USB Mass Storage support registered.
[   17.080000] driver_info->flags 1020 idVendor 19d2 idProduct 1489
[   17.090000] cdc_ether 1-1:1.6: ecm0: register 'cdc_ether' at usb-ehci-platform.0-1, CDC Ethernet Device, 16:48:82:e5:91:91
[   17.100000] usbcore: registered new interface driver cdc_ether
[   17.180000] generic_rndis_bind: rx_urb_size: 0x3e80
[   17.190000] generic_rndis_bind: data zero copy=1
[   17.190000] driver_info->flags 3238 idVendor 19d2 idProduct 1489
[   17.200000] rndis_host 1-1:1.0: usb0: register 'rndis_host' at usb-ehci-platform.0-1, RNDIS device, 6e:66:04:55:4b:d4
[   17.210000] usbcore: registered new interface driver rndis_host
[   17.270000] USB Serial support registered for GSM modem (1-port)
[   17.280000] usbcore: registered new interface driver option
[   17.290000] option: v0.7.2:USB Driver for GSM modems
[   17.350000] fuse init (API version 7.18)
[   18.140000] yaffs: dev is 32505864 name is "mtdblock8" rw
[   18.150000] yaffs: passed flags ""
[   18.190000] yaffs: dev is 32505871 name is "mtdblock15" rw
[   18.200000] yaffs: passed flags ""
rm: can't remove '/etc_rw/fota/cp_failure_flag': No such file or directory
SOS: FLAG is mtdblock7
SOS: /etc_rw/fota/cfg_partiton_flag has content
[   19.560000] yaffs: dev is 32505863 name is "mtdblock7" rw
[   19.560000] yaffs: passed flags ""
space usage of /etc_rw/config is 29%
[   19.670000] yaffs: dev is 32505866 name is "mtdblock10" rw
[   19.670000] yaffs: passed flags ""
[   19.700000] ath79_spinand_read_page ecc err status=0x2
SOS: /etc_rw/config use mtdblock7, /zte_backup use mtdblock10, now doing backup!
rm: can't remove '/zte_backup/lost+found': Directory not empty
[   21.820000] Load cfg new driver...
[   21.830000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[   21.840000]
[   21.840000] simcard_roam=Homewi
[   21.840000] 73696d636172645f726f616d3d486f6d65007769
[   21.950000]
[   21.950000]  cfg init end, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[   21.960000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[   21.980000]
[   21.980000] TESTBITSIGNINFO=0000
[   21.980000] 544553544249545349474e494e464f3d30303030
[   21.990000]
[   21.990000]  cfg init end, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[   22.000000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[   22.010000] cfg driver error: /etc_rw/inic/cert  open failure, file: /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c, line: 857!
[   22.030000]
[   22.030000]
[   22.030000] 0000000000000000000000000000000000000000
[   22.040000]
[   22.040000]  cfg init end, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[   22.050000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578
[   22.070000] cfg driver error: /etc_rw/inic/wapi  open failure, file: /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c, line: 857!
[   22.080000]
[   22.080000]
[   22.090000] 0000000000000000000000000000000000000000
[   22.090000]
[   22.090000]  cfg init end, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 637
[   22.120000] usbcore: registered new interface driver cdc_wdm
[   22.560000] usbcore: registered new interface driver qmi_wwan
mkdir: can't create directory '/dev/net': File exists
mknod: dev/net/tun: File exists
killall: syslogd: no process killed
*************ZTE Init Script*************
insmod: can't insert '/lib/modules/3.3.8/xt_time.ko': File exists
rmmod: can't unload 'shortcut_fe_drv': unknown symbol in module, or unknown parameter
[   23.720000] ipt_TRIGGER: module license 'unspecified' taints kernel.
[   23.730000] Disabling lock debugging due to kernel taint
[   23.730000] iptables target:TRIGGER __init
[   23.820000] usbcore: registered new interface driver cdc_ncm
enter is_fota_update_successed.
find a good block.
last find blk_num = 0
****fota_update_flag in /dev/mtd3 is  ****
Unable to open pidfile /var/run/nvramd.pid: No such file or directory
reboot_schedule is disabled
Create bridge br0..........
monitor:add@/devices/virtual/net/br0
monitor:ACTION=add
monitor:DEVPATH=/devices/virtual/net/br0
monitor:SUBSYSTEM=net
monitor:DEVTYPE=bridge
monitor:INTERFACE=br0
monitor:IFINDEX=7
monitor:SEQNUM=630
monitor:event { 'add', '' }
monitor:add@/devices/virtual/net/br0/queues/tx-0
monitor:ACTION=add
monitor:DEVPATH=/devices/virtual/net/br0/queues/tx-0
monitor:SUBSYSTEM=queues
monitor:SEQNUM=631
monitor:event { 'add', '' }
/etc/init.d/rcS: /etc/init.d/zte_init.sh: line 85: telnetd: not found

kupiłem 286 oraz 286d.

to log z tego pierwszego, która to wersja  ? najstarsza ? ma klapke i złącze baterii. T-mobile
Cholernie ciężko było rozebrać big_smile

edit:
hmm, R ?
[   21.820000] Load cfg new driver...
[   21.830000] cfg init, /home/zte/ci/workspace/Soft4_MF286R_TMOPL_CPE/qsdk/build_dir/linux-ar71xx_generic/cfg-1.0/cfg_param.c 578

https://github.com/kenavru/ZTE_MF_286
coś mam jeszcze z niego wygrzebać ? flash widze już zbiera bady


uname -a


BusyBox v1.19.4 (2022-06-11 00:24:04 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

cat /proc/cpuinfo
cat /sys/kernel/debug/usb/devices
cat /proc/mtd     MM           NM                    MMMMMMM          M       M
   $MMMMM        MMMMM                MMMMMMMMMMM      MMM     MMM
  MMMMMMMM     MM MMMMM.              MMMMM:MMMMMM:   MMMM   MMMMM
MMMM= MMMMMM  MMM   MMMM       MMMMM   MMMM  MMMMMM   MMMM  MMMMM'
MMMM=  MMMMM MMMM    MM       MMMMM    MMMM    MMMM   MMMMNMMMMM
MMMM=   MMMM  MMMMM          MMMMM     MMMM    MMMM   MMMMMMMM
MMMM=   MMMM   MMMMMM       MMMMM      MMMM    MMMM   MMMMMMMMM
MMMM=   MMMM     MMMMM,    NMMMMMMMM   MMMM    MMMM   MMMMMMMMMMM
MMMM=   MMMM      MMMMMM   MMMMMMMM    MMMM    MMMM   MMMM  MMMMMM
MMMM=   MMMM   MM    MMMM    MMMM      MMMM    MMMM   MMMM    MMMM
MMMM$ ,MMMMM  MMMMM  MMMM    MMM       MMMM   MMMMM   MMMM    MMMM
  MMMMMMM:      MMMMMMM     M         MMMMMMMMMMMM  MMMMMMM MMMMMMM
    MMMMMM       MMMMN     M           MMMMMMMMM      MMMM    MMMM
     MMMM          M                    MMMMMMM        M       M
       M
 ---------------------------------------------------------------
   For those about to rock... (QCA9558.LN, unknown)
 ---------------------------------------------------------------
admin@(none):~# cat /proc/cpuinfo
system type             : Qualcomm Atheros QCA956X rev 0
machine                 : Qualcomm Atheros AP152 reference board
processor               : 0
cpu model               : MIPS 74Kc V5.0
BogoMIPS                : 385.84
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0ff8, 0x0ff8, 0x0ffb]
ASEs implemented        : mips16 dsp
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

admin@(none):~# cat /sys/kernel/debug/usb/devices

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  2, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=19d2 ProdID=1489 Rev=ff.ff
S:  Manufacturer=ZTE
S:  Product=ZTE
S:  SerialNumber=123456789ABCD
C:* #Ifs= 8 Cfg#= 1 Atr=e0 MxPwr=  2mA
A:  FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=03
A:  FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01
A:  FirstIf#= 6 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=e0(wlcon) Sub=01 Prot=03 Driver=rndis_host
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=1ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=84(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=ff Driver=(none)
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=usbfs
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=88(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
I:  If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
admin@(none):~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 000a0000 00010000 "u-boot"
mtd1: 00020000 00010000 "u-boot-env"
mtd2: 00140000 00010000 "reserved1"
mtd3: 000a0000 00020000 "fota-flag"
mtd4: 00080000 00020000 "art"
mtd5: 00080000 00020000 "mac"
mtd6: 000c0000 00020000 "reserved2"
mtd7: 00400000 00020000 "cfg-param"
mtd8: 00400000 00020000 "log"
mtd9: 000a0000 00020000 "oops"
mtd10: 00500000 00020000 "reserved3"
mtd11: 00800000 00020000 "web"
mtd12: 00300000 00020000 "kernel"
mtd13: 01a00000 00020000 "rootfs"
mtd14: 01900000 00020000 "data"
mtd15: 03200000 00020000 "fota"
mtd16: 01d00000 00020000 "firmware"

41

(66 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

mf286d stanowczo jeżeli już chcesz kupować.

MF286, MF286A, MF286R i MF286D

z tych D byłby najlepszy ? potrzebuje jako główny router z lte na działkę. 24/7

Cezary napisał/a:

Kieruje ruch https raz na jedno łącze a raz na drugie łącze. Tak masz politykę ustawioną.

a jak mi padnie A to przekieruje na B czy nie ?

Cezary napisał/a:

Ale wywal w ogóle tą politykę od https.

a co ona robi ? nic to nie popsuje ?

bo router mam w sklepie 250km dalej wink nie chciałbym by padły kasy z braku neta wink

MiG25 napisał/a:

Albo po prostu przez wagi - "weight" , jak dasz je 1 tam wszędzie tam gdzie masz wanb, a 100 gdzie wana , to nie powinno przez b iść wogole ...

zmieniłem dla wan na 100, wygląda że działa. dzięki smile
w sumie to nie wiem czemu miałem tak poustawiane.

Nie moge dojść z tym do ładu, jak ograniczyć użycie wanb tylko do sytuacji gdy nie ma wana ?

A działa praktycznie cały czas, a pomimo tego np odpalenie fast.com żre mi jednoczesnie a i b. Co miesiąc b pochłania mi po 100GB gsm.

Chce bezwzględnie przerwać wszelkie połączenia z b gdy a jest dostępne, jak tego dokonać ?
,,

root@OpenWrt:~# cat /etc/config/mwan3
config globals 'globals'
        option mmx_mask '0x3F00'
config interface 'wan'
        option enabled '1'
        list track_ip '1.0.0.1'
        list track_ip '1.1.1.1'
        list track_ip '208.67.222.222'
        list track_ip '208.67.220.220'
        option family 'ipv4'
        option reliability '2'
config interface 'wan6'
        option enabled '0'
        list track_ip '2606:4700:4700::1001'
        list track_ip '2606:4700:4700::1111'
        list track_ip '2620:0:ccd::2'
        list track_ip '2620:0:ccc::2'
        option family 'ipv6'
        option reliability '2'
config interface 'wanb'
        list track_ip '1.0.0.1'
        list track_ip '1.1.1.1'
        list track_ip '208.67.222.222'
        list track_ip '208.67.220.220'
        option family 'ipv4'
        option reliability '1'
        option enabled '1'
config interface 'wanb6'
        option enabled '0'
        list track_ip '2606:4700:4700::1001'
        list track_ip '2606:4700:4700::1111'
        list track_ip '2620:0:ccd::2'
        list track_ip '2620:0:ccc::2'
        option family 'ipv6'
        option reliability '1'
config member 'wan_m1_w3'
        option interface 'wan'
        option metric '1'
        option weight '3'
config member 'wan_m2_w3'
        option interface 'wan'
        option metric '2'
        option weight '3'
config member 'wanb_m1_w2'
        option interface 'wanb'
        option metric '1'
        option weight '2'
config member 'wanb_m1_w3'
        option interface 'wanb'
        option metric '1'
        option weight '3'
config member 'wanb_m2_w2'
        option interface 'wanb'
        option metric '2'
        option weight '2'
config member 'wan6_m1_w3'
        option interface 'wan6'
        option metric '1'
        option weight '3'
config member 'wan6_m2_w3'
        option interface 'wan6'
        option metric '2'
        option weight '3'
config member 'wanb6_m1_w2'
        option interface 'wanb6'
        option metric '1'
        option weight '2'
config member 'wanb6_m1_w3'
        option interface 'wanb6'
        option metric '1'
        option weight '3'
config member 'wanb6_m2_w2'
        option interface 'wanb6'
        option metric '2'
        option weight '2'
config policy 'wan_only'
        list use_member 'wan_m1_w3'
        list use_member 'wan6_m1_w3'
config policy 'wanb_only'
        list use_member 'wanb_m1_w2'
        list use_member 'wanb6_m1_w2'
config policy 'balanced'
        list use_member 'wan_m1_w3'
        list use_member 'wanb_m1_w3'
        list use_member 'wan6_m1_w3'
        list use_member 'wanb6_m1_w3'
config policy 'wan_wanb'
        list use_member 'wan_m1_w3'
        list use_member 'wanb_m2_w2'
        list use_member 'wan6_m1_w3'
        list use_member 'wanb6_m2_w2'
config policy 'wanb_wan'
        list use_member 'wan_m2_w3'
        list use_member 'wanb_m1_w2'
        list use_member 'wan6_m2_w3'
        list use_member 'wanb6_m1_w2'
config rule 'https'
        option sticky '1'
        option dest_port '443'
        option proto 'tcp'
        option use_policy 'balanced'
config rule 'default_rule_v4'
        option dest_ip '0.0.0.0/0'
        option family 'ipv4'
        option use_policy 'wan_wanb'
config rule 'default_rule_v6'
        option dest_ip '::/0'
        option use_policy 'wan_wanb'
        option family 'ipv6'

46

(7 odpowiedzi, napisanych Inne)

jeszcze dwie kwestie przy okazji,
jak najlepiej zrobić żeby ten wireguard byl zawsze aktywny ?

+
idzie jakoś sensownie z telefonu zrobić hotspot - żeby nigdy nie wyparował przy braku klientów ? i po restarcie sam się włączał ?

47

(7 odpowiedzi, napisanych Inne)

jak tak dam to krzyczy że:
Nie można zapisać konfiguracji dla <nazwa interfejsu>. Bad address

wpisuje 2 lany,
10.0.1.1/24, 10.0.2.1/24
ale w zasadzie przy dowolnych 2+ adresach mam to samo.

przy jednym jest ok i działa.

edit przy wielu adresach z /32 też jest ok ...

aa .0 ...

48

(7 odpowiedzi, napisanych Inne)

wie ktoś jak w tym ustrojstwie ustawić kilka allowed ips ?
po ,, , i spacji, sredniku. nic nie daje się zapisać.

chciałem przepuścić wszystkie lany, poza internetem.

49

(11 odpowiedzi, napisanych Oprogramowanie / Software)

huh bo już zgłupiałem z tymi firewallami big_smile

na 11.0.1.10 chciałbym się dostać do SAMBy serwowanej z 10.0.1.20

jak zrobić do tego routing ? ;D

z chatagpt wycisnąłem to big_smile

uci add firewall rule
uci set firewall.@rule[-1].src='lan'
uci set firewall.@rule[-1].src_ip='11.0.1.10'
uci set firewall.@rule[-1].dest='wan'
uci set firewall.@rule[-1].dest_ip='10.0.1.20'
uci set firewall.@rule[-1].proto='tcp'
uci set firewall.@rule[-1].dest_port='445'
uci set firewall.@rule[-1].target='ACCEPT'
Allow UDP port 137 (NetBIOS name service):

uci add firewall rule
uci set firewall.@rule[-1].src='lan'
uci set firewall.@rule[-1].src_ip='11.0.1.10'
uci set firewall.@rule[-1].dest='wan'
uci set firewall.@rule[-1].dest_ip='10.0.1.20'
uci set firewall.@rule[-1].proto='udp'
uci set firewall.@rule[-1].dest_port='137'
uci set firewall.@rule[-1].target='ACCEPT'

Allow UDP port 138 (NetBIOS datagram service):

uci add firewall rule
uci set firewall.@rule[-1].src='lan'
uci set firewall.@rule[-1].src_ip='11.0.1.10'
uci set firewall.@rule[-1].dest='wan'
uci set firewall.@rule[-1].dest_ip='10.0.1.20'
uci set firewall.@rule[-1].proto='udp'
uci set firewall.@rule[-1].dest_port='138'
uci set firewall.@rule[-1].target='ACCEPT'

Allow UDP port 139 (NetBIOS session service):

uci add firewall rule
uci set firewall.@rule[-1].src='lan'
uci set firewall.@rule[-1].src_ip='11.0.1.10'
uci set firewall.@rule[-1].dest='wan'
uci set firewall.@rule[-1].dest_ip='10.0.1.20'
uci set firewall.@rule[-1].proto='udp'
uci set firewall.@rule[-1].dest_port='139'
uci set firewall.@rule[-1].target='ACCEPT'

i wyglada ze nawet moze dzialac ;D


śmiga.

50

(11 odpowiedzi, napisanych Oprogramowanie / Software)

teraz to już nawet neta nie mam big_smile a przywróciłem cały config.