501 (edytowany przez Zuzia 2019-12-03 09:31:59)

Odp: Zmiany w wydaniu OpenWrt 19.07

Do portu WAN w routerze jest wpięty kabel z modemu dającego internet. Jak zapobiec, żeby podczas restartu routera WAN nie robił się "przezroczysty" i nie przepuszczał z obcego DHCP po LAN? W najnowszym OpenWrt 19.07 tak się robi, a nie powinno.

502

Odp: Zmiany w wydaniu OpenWrt 19.07

Jaki router przepuszcza? Generalnie bootloader powinien wyłączyć wan podczas startu a rekonfiguracja switcha powinna go przywrócić. Jeżeli zaś podczas startu switch pozostawiony jest samemu sobie i dopiero vlanami się izoluje wan to będzie własnie taka sytuacja.

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

503 (edytowany przez Zuzia 2019-12-03 09:45:10)

Odp: Zmiany w wydaniu OpenWrt 19.07

Cezary, Easybox 904 xDSL, ale port DSL (jako WAN) i tak powinien być odizolowany i raczej tak było aż do najnowszej wersji OpenWrt. Pobieranie adresu IP z obcego DHCP dzieje się na wczesnym etapie startu OpenWrt.

504

Odp: Zmiany w wydaniu OpenWrt 19.07

No właśnie, do momentu kiedy switch jest rekonfigurowany. Coś zmieniło Ci się w dtsie dla 904?

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

505 (edytowany przez Zuzia 2019-12-03 10:51:10)

Odp: Zmiany w wydaniu OpenWrt 19.07

Zmiany były, ale zignorowałam niektóre, bo WAN mi w ogóle nie działał na tym nowym DTS od deweloperów. Mam taki:

cat VGV952CJW33-E-IR.dts
/dts-v1/;

#include "vr9.dtsi"

#include <dt-bindings/input/input.h>
#include <dt-bindings/mips/lantiq_rcu_gphy.h>

/ {
    model = "EasyBox 904 xDSL";
    compatible = "lantiq,vgv952cjw33-e-ir", "lantiq,xway", "lantiq,vr9";

    chosen {
        // No vpe, both cores used for linux:

        //Rootfs is in partition 'ubi' if present, volume 'rootfs' (1st search prio). Or in mtd partition called 'rootfs' (2nd prio).
        bootargs = "console=ttyLTQ0,115200 mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";

        // Obsolete:
        // bootargs = "console=ttyLTQ0,115200 ubi.mtd=12,2048 panic=1 DTS-TEST-SEQNO=77 root=/dev/ubiblock0_0 rootdelay=7";


        // With vpe, one core dedicated to phone audio signal processing

        // bootargs = "console=ttyLTQ0,115200 mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";

        // Bootargs to boot from sda1
        // bootargs = "console=ttyLTQ0,115200 root=/dev/sda1 rootdelay=7 rootfstype=f2fs mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";

        // Obsolete:
        // bootargs = "console=ttyLTQ0,115200 ubi.mtd=12,2048 panic=1 DTS-TEST-SEQNO=77  root=/dev/ubiblock0_0 rootdelay=7 mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
        // Bootargs to boot from mtd12 ubifs
        // bootargs = "console=ttyLTQ0,115200 ubi.mtd=12,2048 panic=1 DTS-TEST-SEQNO=77  root=/dev/ubiblock0_0 rootdelay=7 mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
        // bootargs = "console=ttyLTQ0,115200 ubi.mtd=12,2048 panic=1 DTS-TEST-SEQNO=77 root=/dev/ubiblock0_0 rootdelay=7 mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
        // bootargs = "console=ttyLTQ0,115200 mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
        // Bootargs to boot from sda1
        // bootargs = "console=ttyLTQ0,115200 panic=1 DTS-TEST-SEQNO=77 root=/dev/sda1 rootdelay=7 rootfstype=f2fs mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
    };

    memory@0 {
        device_type = "memory";
        reg = <0x0 0x8000000>;
    };

    keys {
        compatible = "gpio-keys-polled";
        poll-interval = <100>;
        rfkill {
            label = "wps";
            gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
            linux,code = <KEY_WPS_BUTTON>;
        };
        reset {
            label = "reset";
            gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
            linux,code = <KEY_RESTART>;
        };
    };

    usb_vbus: regulator-usb-vbus {
        compatible = "regulator-fixed";

        regulator-name = "USB_VBUS";

        regulator-min-microvolt = <5000000>;
        regulator-max-microvolt = <5000000>;

        gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
        enable-active-high;
    };

    leds {
        compatible = "gpio-leds";

        power_green: power {
        label = "VGV952CJW33:red:power";
        gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
        default-state = "keep";
        };
    };

    spi {
        compatible = "spi-gpio";
        address-cells = <1>;
        size-cells = <0>;

        gpio-sck = <&gpio 29 GPIO_ACTIVE_HIGH >;
        gpio-mosi = <&gpio 30 GPIO_ACTIVE_HIGH >;
        num-chipselects = <1>;
        cs-gpios = <&gpio 39 GPIO_ACTIVE_HIGH >;

        hc595: gpio_spi@0 {
            compatible = "fairchild,74hc595";
            reg = <0>;
            registers-number = <1>;
            spi-max-frequency = <1000000>;
            spi-cpol = <0>;
            spi-cpha = <0>;
            gpio-controller;
            #gpio-cells = <2>;
        };
    };

    gpio_export {
        compatible = "gpio-export";
        #size-cells = <0>;

        out_0 { /*Unknown*/
            gpio-export,name = "hc595_0";
            gpio-export,output = <1>;
            gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
        };
        out_1 {/*Unknown*/
            gpio-export,name = "hc595_1";
            gpio-export,output = <1>;
            gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
        };

        // out_2 is used to reset touch IC and owned by eb904_keypad

        out_3 {/*Unknown*/
            gpio-export,name = "hc595_3";
            gpio-export,output = <1>;
            gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
        };
        out_dsl_eth { /* Switches DSL line + 100MiB eth or 1GiB ethernet on DSL/WAN input. Relay 1.*/
            gpio-export,name = "dsl_en";
            gpio-export,output = <1>;
            gpios = <&hc595 4 GPIO_ACTIVE_LOW>;
        };
        out_5 { /* Switches filter for DSL line On/Off. Relays 2 and 3 simultaneously.*/
            gpio-export,name = "annexj";
            gpio-export,output = <1>;
            gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
        };
        out_6 { /* Switch DSL line betwean ISDN modem and Si3050. Relay 5.*/
            gpio-export,name = "annexb";
            gpio-export,output = <1>;
            gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
        };
        out_7 { /* Switch phone outputs N and F betwean analog DSL line and XS1 output from Lantiq SLIC. Relay 4.*/
            gpio-export,name = "annexa";
            gpio-export,output = <1>;
            gpios = <&hc595 7 GPIO_ACTIVE_LOW>;
        };
    };

    i2c {
        compatible = "i2c-gpio";
        #address-cells = <1>;
        #size-cells = <0>;
        gpios = <&gpio 19 GPIO_ACTIVE_HIGH /* sda */
            &gpio 14 GPIO_ACTIVE_HIGH /* scl */
        >;
        //i2c-gpio,sda-open-drain;
        //i2c-gpio,scl-open-drain;
        i2c-gpio,delay-us = <5>;
        /* Add touch panel Support */
        tp: eb904tp@0x14 {
            compatible = "lantiq,eb904_keypad";
            reg = <0x14>;
            interrupt-parent = <&icu0>;
            interrupts = <135>;
            eb904,interrupt-gpio = <&gpio  0 GPIO_ACTIVE_HIGH /* EXIN */>;
            eb904,ctrl-rst-gpio = <&hc595 2 GPIO_ACTIVE_LOW /* rst */>;
            eb904,alphas = /bits/ 8
                 <0x07 /* left */
                  0x0a /* down */
                  0x0a /* right */
                  0x0a /* ok */
                  0x07 /* up */
            >;
            keypad,num-rows = <3>;
            keypad,num-columns = <3>;
            linux,keymap = <
                    MATRIX_KEY(0x0, 0x1, KEY_UP)         /* ROW0, COL1 */
                    MATRIX_KEY(0x1, 0x0, KEY_LEFT)       /* ROW1, COL0 */
                    MATRIX_KEY(0x1, 0x1, KEY_ENTER)      /* ROW1, COL1 */
                    MATRIX_KEY(0x1, 0x2, KEY_RIGHT)      /* ROW1, COL2 */
                    MATRIX_KEY(0x2, 0x1, KEY_DOWN)       /* ROW2, COL1 */
                    >;
        };
    };

    mdio: mdio {
        compatible = "lantiq,xrx200-mdio";
        #address-cells = <1>;
        #size-cells = <0>;
        phy13: ethernet-phy@13 {
            reg = <0x13>;
            compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
        };
    };

    rtl8367b {
        compatible = "realtek,rtl8367b";
        //gpio-sda = <&gpio0 1 0>;
        //gpio-sck = <&gpio0 2 0>;
        //cpu_port = <7>;
        //realtek,extif0 = <1 0 1 1 1 1 1 1 2>; // default found on other profiles
        realtek,extif1   = <1 0 1 1 0 0 1 1 2>; // based on vendor uboot-config
        mii-bus = <&mdio>;
    };
};

&vmmc {
    status = "okay";
    gpios = <&gpio 37 GPIO_ACTIVE_HIGH>; //reset_slic!
};

&localbus {
    //    #address-cells = <2>;                    // Just for info. From vr9.dtsi
    //    #size-cells = <1>;
    //    ranges = <0 0 0x0       0x3ffffff            // addrsel0    0x3ffffff and 0x4000010 in vr9.dtsi seem to be wrong, because these are size
    //          1 0 0x4000000 0x4000010>;            // addrsel1    parameters. Not really a problem; the drivers we have use their own hardcoded values

    ranges = <0 0 0x0       0x2000000            // addrsel0    Was set up this way by arcadian eb904 U-Boot for nand. Not used by eb904 linux
          1 0 0x2000000 0x1000000            // addrsel1    Size 0x1000000 hardcoded in xway_nand.c. Excessive, as first 0x80 is used only
          2 0 0x3000000 0x0000800>;            // addrsel2    Size 0x800 hardcoded in display driver. This is the min size supported by ebu

    flash@1 {                        // @1 because using ebu BUSCON1/ADDSEL1
        compatible = "lantiq,nand-xway";
        reg = <1 0x0 0x80>;                // Only adresses 0x0..0x7F needed (but driver ignores size 0x80 and tells ebu to map 0x1000000)

        //    bank-width = <2>;                // Not used by any driver code
        #address-cells = <1>;
        #size-cells = <1>;
        lantiq,cs = <1>;                // Seems to be needed (EASY80920NAND.dts)

        nand-on-flash-bbt;

        partitions {
        compatible = "fixed-partitions";
            #address-cells = <1>;
            #size-cells = <1>;

            partition@0 {
                label = "uboot";
                reg = <0x0 0x40000>;
            };

            partition@40000 {
                label = "rootfs1";        // Called "rootfs" in original u-boot env.
                reg = <0x40000 0x3C00000>;    // Auto mounted as rootfs if no UBI volume named "rootfs" exists
            };

            partition@3C40000 {
                label = "kernel";        // Called "kernel" in original u-boot env.
                reg = <0x3C40000 0x500000>;
            };

            partition@4140000 {
                label = "tmp1";
                reg = <0x4140000 0x100000>;
            };

            partition@4240000 {
                label = "tmp2";
                reg = <0x4240000 0x200000>;
            };

            partition@4440000 {
                label = "sysconfig";
                reg = <0x4440000 0x100000>;
            };

            partition@4540000 {
                label = "ubootconfig";
                reg = <0x4540000 0x100000>;
            };

            partition@4640000 {
                label = "fwdiag";
                reg = <0x4640000 0xC0000>;
            };

            partition@4700000 {
                label = "lcdimage";
                reg = <0x4700000 0x300000>;
            };

            partition@4A00000 {
                label = "mfgconfig";
                reg = <0x4A00000 0x100000>;
            };

            partition@4B00000 {
                label = "sipdata";
                reg = <0x4B00000 0x100000>;
            };

            partition@4C00000 {
                label = "voice";
                reg = <0x4C00000 0x4000000>;
            };

            partition@8C00000 {            // Called "misc" in original u-boot env.
                label = "ubi";            // Rename to "ubi" for auto ubi attachment and usage of rootfs, rootfs_data, kernel volumes
                reg = <0x8C00000 0x13200000>;    // Rename to "firmware" for special squashfs-rootfs/jffs2-rootfs_data treatment
            };

            partition@1BE00000 {
                label = "rootfs2";
                reg = <0x1BE00000 0x3c00000>;
            };

            partition@1FA00000 {
                label = "kernel2";
                reg = <0x1FA00000 0x500000>;
            };

            partition@1FF00000 {
                label = "mystery";        // Missing in original u-boot environment, seems to be empty (erased)
                reg = <0x1FF00000 0x100000>;
            };
        };
    };

    display@2 {                        // @2 because using ebu BUSCON2/ADDSEL2. Name not 'easybox904-display',
        compatible = "ilitek,ili9341_eb904";        // see 'Node Names' at https://elinux.org/Device_Tree_Usage
        reg = <2 0x0 0x4>;                // Size 0x4 contains 2 byte data and 2 byte command registers
        status = "okay";
        rotate = <270>;
        fps = <30>;
        bgr;
        buswidth = <8>;
        reset-gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
        led-gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
        debug = <1>;
    };
};

/*
*  Following is the very experimental part which is broken and requires much more elaboration
*/

// From FRITZ3370.dts
&gpio {
    pinctrl-names = "default";
    pinctrl-0 = <&state_default>;

    state_default: pinmux {
        mdio {
            lantiq,groups = "mdio";
            lantiq,function = "mdio";
        };

        phy-rst {    // I have no idea wether this makes sense
            lantiq,pins = "io37", "io44";            // FRITZ3370.dts
          //    lantiq,pins = "io42";                // TDW8970.dts
            lantiq,pull = <0>;
            lantiq,open-drain = <0>;
            lantiq,output = <1>;
                        };

        pcie-rst {
            lantiq,pins = "io38";                // FRITZ3370.dts, TDW8970.dts, EASY80920.dtsi, P2812HNUFX.dtsi
           //    lantiq,pins = "io21";                // ARV7519RW22.dts
            lantiq,pull = <0>;
            lantiq,output = <1>;
        };

        exin1 {
            lantiq,groups = "exin1";
            lantiq,function = "exin";
        };

        conf_tp {
            lantiq,pins = "io1"; /* exin1 */
            lantiq,open-drain;
            lantiq,pull = <0>;
        };
        conf_spi {
            lantiq,pins = "io29", "io30", "io39"; /* gpiois for spi */
            lantiq,pull = <2>; /*Pull Up*/
        };
    };
};

&usb_phy0 {
    status = "okay";
};

&usb_phy1 {
    status = "okay";
};

&usb0 {
    status = "okay";
    vbus-supply = <&usb_vbus>;
};

&usb1 {
    status = "okay";
    vbus-supply = <&usb_vbus>;
};

&eth0 {
    lan: interface@0 {
        compatible = "lantiq,xrx200-pdi";
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0>;
        mac-address = [ 00 11 22 33 44 55 ];
        lantiq,switch;
        /*rtl8367*/
        ethernet@0 {
            compatible = "lantiq,xrx200-pdi-port";
            reg = <0>;
            phy-mode = "rgmii";
            fixed-link {
                speed = <1000>;
                full-duplex;
            };
        };
        /* rt3883 soc */
        ethernet@5 {
            compatible = "lantiq,xrx200-pdi-port";
            reg = <5>;
            phy-mode = "rgmii";
            tx-delay = /bits/ 8 <3>;
            fixed-link {
                speed = <1000>;
                full-duplex;
            };
        };
    };

    wan: interface@1 {
        compatible = "lantiq,xrx200-pdi";
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <1>;
        mac-address = [ 00 11 22 33 44 66 ];
        lantiq,wan;
        /* wan port */
        ethernet@4 {
            compatible = "lantiq,xrx200-pdi-port";
            reg = <4>;
            phy-mode = "gmii";
            phy-handle = <&phy13>;
        };
    };
};

&pci0 {
    status = "disabled";
    //gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
};

&pcie0 {
    pcie@0 {
        reg = <0 0 0 0 0>;
        #interrupt-cells = <1>;
        #size-cells = <2>;
        #address-cells = <3>;
        device_type = "pci";
    };
};

A reszta zgodna ze zmianami proponowanymi tutaj: https://github.com/openwrt/openwrt/pull … 97f13a7a76
W lantiq/base-files/etc/board.d/02_network:

lantiq,vgv952cjw33-e-ir*)
    lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)
    wan_mac=$(macaddr_add "$lan_mac" 1)
    ucidef_add_switch "switch0" \
    "0:lan" "4:wan" "6@eth0"
    ucidef_add_switch "switch1" \
    "0:lan" "1:lan" "2:lan" "3:lan" "6@eth0"
    ;;

I nie było problemu dotychczas (albo go nie zauważyłam...). Teraz go zauważam przy restarcie lub pierwszym uruchomieniu routera po wgraniu softu. Klienci po LAN pobierają adresy z DHCP z urządzenia przez port WAN, a nie powinni. Nie do końca rozumiem jak działają vlany w tym routerze i nie wiem jak to poprawić.

506 (edytowany przez marcin19883 2019-12-03 17:22:59)

Odp: Zmiany w wydaniu OpenWrt 19.07

Coś da uruchomienie opcji wifi: wireless.default_radio0.skip_inactivity_poll?
To sprawdzanie nieaktywności urządzeń?

507

Odp: Zmiany w wydaniu OpenWrt 19.07

To tylko od nieaktywności klientów jest.

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

508 (edytowany przez marcin19883 2019-12-03 19:49:25)

Odp: Zmiany w wydaniu OpenWrt 19.07

A co zrobić, żeby repeater nie sprawdzał co chwilę połączenia z routerem? chodzi mi o to, że dioda połączenia routera wtedy mruga co chyba sekundę. TO wkurza. A taki telefon nie wysyła co chwilę pakietów jak jest nieaktywny, ale połączony z wifi.

509

Odp: Zmiany w wydaniu OpenWrt 19.07

Cezary, będzie kompilował drugiego kandydata?

510

Odp: Zmiany w wydaniu OpenWrt 19.07

Jak kompiluję 19.07-snapshot a nie określone wydanie. Wraz z następną kompilacją moje będzie nowsze niż rc2.

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

511

Odp: Zmiany w wydaniu OpenWrt 19.07

Wgrałam bootloader Vodafone, ale jest tak samo. Przydziela adres przez WAN na chwilę przed komunikatem o trybie failsafe:

ROM VER: 1.1.4
CFG 06
NAND
NAND Read OK

ROM VER: 1.1.4
CFG 06
NAND
NAND Read OK
nand_read_page - 00000008
DDR autotuning Rev 0.3c
DDR size from 0xa0000000 - 0xa7ffffff
DDR check ok... start booting...



U-Boot 2010.06-Lv2.0.40-A0.5   (Nov 22 2012 - 15:40:12)

CLOCK CPU 500M RAM 250M
DRAM:  128 MiB
NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   Internal phy(GE) firmware version: 0x040b
vr9 Switch

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0 
Uncompressing LCD bootup images ............... 
NAND read: device 0 offset 0x0000000004700000, size 0x0000000000300000
 0x300000 bytes read: OK
1. bootid : 0, bootnum : 3
Erasing at 0x4560000 -- 100% complete.
done
2. bootid : 0, bootnum : 4

NAND read: device 0 offset 0x0000000003c40000, size 0x0000000000500000
 0x500000 bytes read: OK
## Booting kernel from Legacy Image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-4.19.86
   Created:      2019-11-15   6:52:57 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2706997 Bytes = 2.6 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 4.19.86 (EasyBOX@904xDSL) (gcc version 9.2.0 (OpenWrt GCC 9.2.0 r11525-1ea22e4de6)) #0 Fri Nov 15 06:52:57 2019
[    0.000000] SoC: xRX200 rev 1.2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is EasyBox 904 xDSL
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 07400000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 32kB, 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-0x00000000073fffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x00000000073fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000073fffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x94/0x518 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 29435
[    0.000000] Kernel command line: console=ttyLTQ0,115200 mem=116M phym=128M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp
[    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=0001b430
[    0.000000] Readback ErrCtl register=0001b430
[    0.000000] Memory: 107488K/118784K available (6227K kernel code, 421K rwdata, 1776K rodata, 1352K init, 242K bss, 11296K 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] CPU Clock: 500MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[    0.000012] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[    0.007994] Console: colour dummy device 80x25
[    0.012375] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.050411] pid_max: default: 32768 minimum: 301
[    0.055415] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.061906] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.077429] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.087063] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.093381] pinctrl core: initialized pinctrl subsystem
[    0.099727] NET: Registered protocol family 16
[    0.114222] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.124326] pinctrl-xway 1e100b10.pinmux: Init done
[    0.130001] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.350275] ifx_pcie_wait_phy_link_up timeout
[    0.565193] ifx_pcie_wait_phy_link_up timeout
[    0.780125] ifx_pcie_wait_phy_link_up timeout
[    0.995027] ifx_pcie_wait_phy_link_up timeout
[    1.067363] random: fast init done
[    1.213198] ifx_pcie_wait_phy_link_up timeout
[    1.217396] pcie_rc_initialize link up failed!!!!!
[    1.272989] SCSI subsystem initialized
[    1.277146] usbcore: registered new interface driver usbfs
[    1.282647] usbcore: registered new interface driver hub
[    1.288020] usbcore: registered new device driver usb
[    1.300476] clocksource: Switched to clocksource MIPS
[    1.413059] NET: Registered protocol family 2
[    1.418411] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    1.426012] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    1.432994] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    1.439407] TCP: Hash tables configured (established 1024 bind 1024)
[    1.445995] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.451777] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.458421] NET: Registered protocol family 1
[    1.483465] gptu: totally 6 16-bit timers/counters
[    1.488329] gptu: misc_register on minor 63
[    1.492409] gptu: succeeded to request irq 126
[    1.496903] gptu: succeeded to request irq 127
[    1.501417] gptu: succeeded to request irq 128
[    1.505931] gptu: succeeded to request irq 129
[    1.510443] gptu: succeeded to request irq 130
[    1.514955] gptu: succeeded to request irq 131
[    1.522679] lantiq,vmmc 1f107000.vmmc: requested GPIO 499
[    1.527970] lantiq,vmmc 1f107000.vmmc: reserved 1MB at 0x(ptrval)
[    1.536133] Crashlog allocated RAM at address 0x3f00000
[    1.546324] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    1.563994] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.569733] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.605244] io scheduler noop registered
[    1.609061] io scheduler deadline registered (default)
[    1.617963] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    1.626869] console [ttyLTQ0] enabled
[    1.626869] console [ttyLTQ0] enabled
[    1.634191] bootconsole [early0] disabled
[    1.634191] bootconsole [early0] disabled
[    1.644050] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xdc
[    1.648945] nand: Samsung NAND 512MiB 3,3V 8-bit
[    1.653561] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.667633] Bad block table found at page 262080, version 0x01
[    1.672956] Bad block table found at page 262016, version 0x01
[    1.678095] nand_read_bbt: bad block at 0x0000021c0000
[    1.683037] nand_read_bbt: bad block at 0x0000089c0000
[    1.688183] nand_read_bbt: bad block at 0x000017c80000
[    1.693279] nand_read_bbt: bad block at 0x000019b60000
[    1.698566] 16 fixed-partitions partitions found on MTD device 12000000.flash
[    1.705568] Creating 16 MTD partitions on "12000000.flash":
[    1.711130] 0x000000000000-0x000000040000 : "uboot"
[    1.717293] 0x000000040000-0x000003c40000 : "rootfs1"
[    1.722807] 0x000003c40000-0x000004140000 : "kernel"
[    1.727596] 0x000004140000-0x000004240000 : "tmp1"
[    1.732321] 0x000004240000-0x000004440000 : "tmp2"
[    1.737237] 0x000004440000-0x000004540000 : "sysconfig"
[    1.742356] 0x000004540000-0x000004640000 : "ubootconfig"
[    1.747741] 0x000004640000-0x000004700000 : "fwdiag"
[    1.752802] 0x000004700000-0x000004a00000 : "lcdimage"
[    1.757862] 0x000004a00000-0x000004b00000 : "mfgconfig"
[    1.763074] 0x000004b00000-0x000004c00000 : "sipdata"
[    1.768144] 0x000004c00000-0x000008c00000 : "voice"
[    1.773649] 0x000008c00000-0x00001be00000 : "ubi"
[    1.781041] 0x00001be00000-0x00001fa00000 : "rootfs2"
[    1.786428] 0x00001fa00000-0x00001ff00000 : "kernel2"
[    1.791288] 0x00001ff00000-0x000020000000 : "mystery"
[    1.798051] rtl8367b rtl8367b: cannot find mdio bus from bus handle, try again later
[    1.805063] libphy: Fixed MDIO Bus: probed
[    1.811034] usbcore: registered new interface driver usb-storage
[    1.816840] wdt 1f8803f0.watchdog: Init done
[    1.822476] NET: Registered protocol family 10
[    1.855050] Segment Routing with IPv6
[    1.857459] NET: Registered protocol family 17
[    1.861851] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.874716] 8021q: 802.1Q VLAN Support v1.8
[    1.887277] rtl8367b rtl8367b: cannot find mdio bus from bus handle, try again later
[    1.994640] libphy: lantiq,xrx200-mdio: probed
[    1.999840] Static link. Port <0>!
[    2.003018] Registered fixed-link
[    2.005158] Set tx-delay:1
[    2.005166] Set rx-delay:0
[    2.007807] Static link. Port <5>!
[    2.014900] Registered fixed-link
[    2.017250] Set tx-delay:3
[    2.017258] Set rx-delay:0
[    2.019938] lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): Connect as fixed link.
[    2.030776] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[    2.040623] lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): Connect as fixed link.
[    2.048711] Generic PHY fixed-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:01, irq=POLL)
[    2.059712] lantiq,xrx200-net 1e108000.eth eth1 (uninitialized): Connect as common phy link.
[    2.137086] Intel XWAY PHY11G (xRX v1.2 integrated) 0:13: attached PHY driver [Intel XWAY PHY11G (xRX v1.2 integrated)] (mii_bus:phy_addr=0:13, irq=POLL)
[    2.151127] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found, using dummy regulator
[    2.158108] dwc2 1e101000.usb: Linked as a consumer to regulator.0
[    2.164190] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found, using dummy regulator
[    2.274707] dwc2 1e101000.usb: DWC OTG Controller
[    2.278070] dwc2 1e101000.usb: new USB bus registered, assigned bus number 1
[    2.285094] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[    2.290510] dwc2 1e101000.usb: Linked as a consumer to regulator.1
[    2.298072] hub 1-0:1.0: USB hub found
[    2.300973] hub 1-0:1.0: 1 port detected
[    2.305373] dwc2 1e106000.usb: 1e106000.usb supply vusb_d not found, using dummy regulator
[    2.312712] dwc2 1e106000.usb: Linked as a consumer to regulator.0
[    2.318795] dwc2 1e106000.usb: 1e106000.usb supply vusb_a not found, using dummy regulator
[    2.428746] dwc2 1e106000.usb: DWC OTG Controller
[    2.432041] dwc2 1e106000.usb: new USB bus registered, assigned bus number 2
[    2.439147] dwc2 1e106000.usb: irq 91, io mem 0x1e106000
[    2.444594] dwc2 1e106000.usb: Linked as a consumer to regulator.1
[    2.451746] hub 2-0:1.0: USB hub found
[    2.454901] hub 2-0:1.0: 1 port detected
[    2.459405] rtl8367b rtl8367b: using MDIO bus 'lantiq,xrx200-mdio'
[    2.464979] rtl8367b rtl8367b: RTL8367RB chip found
[    3.032531] lantiq,xrx200-net 1e108000.eth eth0: port 0 got link
[    3.037135] lantiq,xrx200-net 1e108000.eth eth0: port 5 got link
[    3.838258] libphy: rtl8367b: probed
[    3.842131] UBI: auto-attach mtd12
[    3.844083] ubi0: attaching mtd12
[    4.199006] ubi0: scanning is finished
[    4.217634] ubi0: attached mtd12 (name "ubi", size 306 MiB)
[    4.221814] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    4.228672] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    4.235363] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    4.242147] ubi0: good PEBs: 2446, bad PEBs: 2, corrupted PEBs: 0
[    4.248239] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.255468] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 2041273683
[    4.264605] ubi0: available PEBs: 0, total reserved PEBs: 2446, PEBs reserved for bad PEB handling: 78
[    4.274017] ubi0: background thread "ubi_bgt0d" started, PID 608
[    4.281566] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.285671] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem[    4.302448] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.312259] Freeing unused kernel memory: 1352K
[    4.315376] This architecture does not have kernel memory protection.
[    4.321793] Run /sbin/init as init process
[    5.130309] init: Console is alive
[    5.132687] init: - watchdog -
[    5.230783] lantiq,xrx200-net 1e108000.eth eth1: port 4 got link
[    6.440666] usb 1-1: new high-speed USB device number 2 using dwc2
[    6.742338] usb-storage 1-1:1.0: USB Mass Storage device detected
[    6.842306] usb-storage 1-1:1.1: USB Mass Storage device detected
[    6.848543] usb-storage 1-1:1.2: USB Mass Storage device detected
[   10.447050] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   10.568765] exFAT: Version 1.2.9
[   10.761704] SGI XFS with security attributes, no debug enabled
[   10.778592] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.786373] ehci-platform: EHCI generic platform driver
[   10.803346] usbcore: registered new interface driver uas
[   10.811671] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   10.828210] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   16.249166] mount_root: loading kmods from internal overlay

Po przeanalizowaniu wszystkiego dochodzę do wniosku, że po prostu to działa zgodnie z założeniami deweloperów i wpisami w dts, korzystają z portu DSL z łączami xDSL i przy takiej konfiguracji problem nie występuje. Tak jest we wszystkich ich obrazach, a odkryłam to teraz, ponieważ modem ISP ustawiłam w tryb routera i DHCP działa błyskawicznie. W innym trybie (bridge) proces pobierania adresu przebiega dłużej więc WAN nie załapuje się, bo OpenWrt zdąży się do końca uruchomić.

Cezary, czy znasz jakiś sposób na obejście problemu?

512

Odp: Zmiany w wydaniu OpenWrt 19.07

Nie, nie wiem jak to obejść.

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

513

Odp: Zmiany w wydaniu OpenWrt 19.07

Ja też nie wiem jak to obejść smile Ale... zrobiłam wszystko od podstaw i na świeżej wersji r11619+60-f6385f30bd działa jak powinno, obce DHCP nie przecieka już przez WAN.

514 (edytowany przez shevchenko1987 2019-12-04 17:40:48)

Odp: Zmiany w wydaniu OpenWrt 19.07

U mnie to jest jakiś cyrk.

Wczoraj wrzuciłem 19.07-rc2 z oficjalnej strony. Dalej jak niektóre urządzenia nie miały dostępu do internetu przez Wi-Fi 5 GHz tak nie mają, a teraz dodatkowo nie wstało jeszcze Wi-Fi 2.4 GHz.

Fakt zrobiłem upgrade z zachowaniem konfiguracji z wersji 18.06 i myślałem, że to przez to, ale gdzież by tam.

Następnie strzeliłem przywracanie do ustawień fabrycznych i dalej nic. Konfigurator sieci w LuCI widzi radio Wi-Fi 2.4 jako 5 GHz (wtf?!). Cyrk kompletny.

To ma być wydanie RC-2? Chyba żeby wydać stabilną alfę.

Zgłaszałem problem opisany na początku, ale do tej pory nikt się nim nie zajął.

Internet: JMDI (1000/200 Mbps) | Router: QNAP QHora-301W | NAS: QNAP TS-233 + 2 x WD RED PLUS 2TB

515

Odp: Zmiany w wydaniu OpenWrt 19.07

Przywróć ustawienia domyślnie i zobacz co będzie z wifi.

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

516

Odp: Zmiany w wydaniu OpenWrt 19.07

Zobacz 4 akapit mojego postu.

Zrobiłem, bo myślałem podobnie, że to przez stary konfig. Nic bardziej mylnego. Tak samo było zaraz po wrzuceniu 19.07 jako nakładkę z ustawieniami 18.06 oraz po zrobieniu przywracania do ustawień domyślnych.

Nie wiem kompletnie co jest grane. Co oni tam namieszali, że panuje u mnie taki bałagan.

Internet: JMDI (1000/200 Mbps) | Router: QNAP QHora-301W | NAS: QNAP TS-233 + 2 x WD RED PLUS 2TB

517

Odp: Zmiany w wydaniu OpenWrt 19.07

zrób firstboot albo przez tftp wrzuć orginalne oprogramowanie routera
u mnie taka metoda działała zawsze na ruterach tplink-a, a miałem wdr4300, c7v4, oraz netgear R7800

przykładowy link
https://kb.netgear.com/000059633/How-to … FTP-client

ASUS TUF AX 6000 <-> QNAP TS-473A <->Pihole<->

518 (edytowany przez marcin19883 2019-12-04 19:44:12)

Odp: Zmiany w wydaniu OpenWrt 19.07

Wie ktoś dlaczego tłumaczenia Luci nie przechodzą od długich tygodni na heads/openWrt-19.07, tylko nadal są w gałęzi Master? Wyszło już RC2 i nadal jest to samo.

519

Odp: Zmiany w wydaniu OpenWrt 19.07

Nigdy nie przechodzą chyba że któryś z deweloperów ruszy 4 litery i zrobi backport zmian (co zrobili własnie ostatnio).

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

520

Odp: Zmiany w wydaniu OpenWrt 19.07

Cezary napisał/a:

Nigdy nie przechodzą chyba że któryś z deweloperów ruszy 4 litery i zrobi backport zmian (co zrobili własnie ostatnio).

chodzi o tą zmianę: "i18n: sync translations" Ja po niej chyba kompilowałem na nexx wt3020 i nadal bardzo słabo z tłumaczeniem. A ja tyle przetłumaczyłem z elementów sad

521

Odp: Zmiany w wydaniu OpenWrt 19.07

po "nowej" aktualizacji wymiękłem sad
głównie za sprawą szwankującego wifi calling który przeważył szale

R6220, NBG6716 i EA6350 juz po restore hulają na stock'ach
jak chłopcy z openwrt sie ogarną może warto będzie wrócić na razie podziękuje

522 (edytowany przez marcin19883 2019-12-04 20:08:51)

Odp: Zmiany w wydaniu OpenWrt 19.07

alex69 napisał/a:

po "nowej" aktualizacji wymiękłem sad
głównie za sprawą szwankującego wifi calling

A co ma router do rozmów telefonicznych? Może ci sieć nie działa

523

Odp: Zmiany w wydaniu OpenWrt 19.07

tez tak myślałem, ale dziwnym magicznym dotknięciem oryginalnego firmware na routerach
siec zaczęła działać i ... wifi calling ożyło

524

Odp: Zmiany w wydaniu OpenWrt 19.07

alex69 napisał/a:

tez tak myślałem, ale dziwnym magicznym dotknięciem oryginalnego firmware na routerach
siec zaczęła działać i ... wifi calling ożyło

Możliwe, że zapora coś blokuje. Jakiś port czy coś.

525

Odp: Zmiany w wydaniu OpenWrt 19.07

raczej nie, bo wszystko prze serwer dostępowy przechodzi, a routery robiły za czyste ap'ki
bez wodotrysków, dawały czyste nie filtrowane ip

identyczny scenariusz miałem na dwóch zarządach, różnych sprzętach
na androidzie jeszcze jako tako dawało rade to na iOS dramat - i weź ludziom tłumacz jak oni daleko maja do najbliższego bts'a
na 18 było ok, spieprzywszy sie przy kolejnej poprawce na 19

co dziwne że nikt o tym głośno nie pisze ...