Regarding port configuration. Look here to get an idea about how RTL8264 might be configured on RTL931x switches:
Regarding 512MB try this:
memory@0 {
device_type = "memory";
reg = <0x00000000 0x10000000>,
<0x90000000 0x10000000>;
};
Regarding port configuration. Look here to get an idea about how RTL8264 might be configured on RTL931x switches:
Regarding 512MB try this:
memory@0 {
device_type = "memory";
reg = <0x00000000 0x10000000>,
<0x90000000 0x10000000>;
};
well theres 2 8264 chips. One for T1-4 and the other for T5-8. The SFP+ are hooked up to the CPU.
Do you have 2 hours to spare by any chance to try getting to the bottom of it the next couple of days? I DM’d you my contact info in case you do. My TZ is UTC+2.
Please don’t feel forced or anything. It’s just in case you’re curious. I understand if it’s not possible, as we all have lives outside the Open Source contribution bubble too.
~TK
this might be incredibly helpful thank you
If you did not get an idea from the profiles than simply do the following.
Boot 4 times with each configuration and check what phys the mdio bus has detected.
I’ll see if I can fit this in the next couple of days (but probably not this week anymore) and contact you back soon.
Is that possible (now)? When I was working on my RTL931x devices some weeks ago, as soon as I used an SMI address where actually no PHY is, the driver blew up and killed the kernel.
That above was just an educated guess. If this really happens we should fix it.
I will have a look later.
Sounds solid, thanks
## Booting image from partition ... 0
## Booting kernel from Legacy Image at 81000000 ...
Image Name: MIPS OpenWrt Linux-6.12.40
Created: 2025-08-12 10:37:06 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size: 6761252 Bytes = 6.4 MB
Load Address: 80100000
Entry Point: 80100000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 6.12.40 (tk22@tk22-PC) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r30769-d66c251c02) 14.3.0, GNU ld (GNU Binutils) 2.44) #0 SMP Tue Aug 12 10:37:06 2025
[ 0.000000] SoC Type: Realtek RTL9313 rev B (6567)
[ 0.000000] printk: legacy bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001a120 (MIPS interAptiv (multi))
[ 0.000000] MIPS: machine is Hasivo S1300WP-8XGT-4S-plus
[ 0.000000] earlycon: ns16550a0 at MMIO 0x18002000 (options '38400n8')
[ 0.000000] printk: legacy bootconsole [ns16550a0] enabled
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Using appended Device Tree.
[ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] HighMem [mem 0x0000000020000000-0x000000009fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] node 0: [mem 0x0000000090000000-0x000000009fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000009fffffff]
[ 0.000000] On node 0, zone HighMem: 524288 pages in unavailable ranges
[ 0.000000] percpu: Embedded 12 pages/cpu s18384 r8192 d22576 u49152
[ 0.000000] pcpu-alloc: s18384 r8192 d22576 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Kernel command line: console=ttyS0,38400 earlycon
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 131072
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] NR_IRQS: 256
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] Failed to get CPU clock: -2
[ 0.000000] CPU frequency from device tree: 1000MHz
[ 0.000000] clocksource: realtek_otto_timer: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 19112604400 ns
[ 0.000003] sched_clock: 28 bits at 6MHz, resolution 160ns, wraps every 21474836400ns
[ 0.026218] Calibrating delay loop... 663.55 BogoMIPS (lpj=3317760)
[ 0.096738] pid_max: default: 32768 minimum: 301
[ 0.121515] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.145833] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.185201] rcu: Hierarchical SRCU implementation.
[ 0.201168] rcu: Max phase no-delay instances is 1000.
[ 0.221062] smp: Bringing up secondary CPUs ...
[ 0.238424] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.238483] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.238498] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.238575] CPU1 revision is: 0001a120 (MIPS interAptiv (multi))
[ 0.336015] Counter synchronization [CPU#0 -> CPU#1]: passed
[ 0.445534] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.445585] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.445600] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.445648] CPU2 revision is: 0001a120 (MIPS interAptiv (multi))
[ 0.816041] Counter synchronization [CPU#0 -> CPU#2]: passed
[ 0.924602] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.924652] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.924666] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.924721] CPU3 revision is: 0001a120 (MIPS interAptiv (multi))
[ 1.036021] Counter synchronization [CPU#0 -> CPU#3]: passed
[ 1.142353] smp: Brought up 1 node, 4 CPUs
[ 1.158783] Memory: 479204K/524288K available (7469K kernel code, 704K rwdata, 1668K rodata, 10120K init, 244K bss, 43716K reserved, 0K cma-reserved, 262144K highmem)
[ 1.213276] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 1.246058] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 1.274252] pinctrl core: initialized pinctrl subsystem
[ 1.294739] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 1.315799] FPU Affinity set after 13320 emulations
[ 1.352237] clocksource: Switched to clocksource realtek_otto_timer
[ 1.383199] NET: Registered PF_INET protocol family
[ 1.399822] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 1.425262] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 1.453118] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.478899] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 1.504408] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 1.528290] TCP: Hash tables configured (established 2048 bind 2048)
[ 1.550601] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.575152] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.596932] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 1.621255] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.643949] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 1.668777] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.688241] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.730477] pinctrl-single 1b001358.pinmux: 32 pins, size 4
[ 1.751382] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.775002] printk: legacy console [ttyS0] disabled
[ 1.792551] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 21, base_baud = 12500000) is a 16550A
[ 1.821793] printk: legacy console [ttyS0] enabled
[ 1.821793] printk: legacy console [ttyS0] enabled
[ 1.853688] printk: legacy bootconsole [early0] disabled
[ 1.853688] printk: legacy bootconsole [early0] disabled
[ 1.889406] printk: legacy bootconsole [ns16550a0] disabled
[ 1.889406] printk: legacy bootconsole [ns16550a0] disabled
[ 1.958578] brd: module loaded
[ 1.972656] 7 fixed-partitions partitions found on MTD device spi0.0
[ 1.993818] Creating 7 MTD partitions on "spi0.0":
[ 2.009762] 0x000000000000-0x0000000e0000 : "LOADER"
[ 2.027434] 0x0000000e0000-0x0000000f0000 : "BDINFO"
[ 2.046052] 0x0000000f0000-0x000000100000 : "SYSINFO"
[ 2.064081] 0x000000100000-0x000000200000 : "CFG"
[ 2.082000] 0x000000200000-0x000000300000 : "LOG"
[ 2.098902] 0x000000300000-0x000000a00000 : "RUNTIME"
[ 2.118046] 0x000000a00000-0x000002000000 : "RUNTIME2"
[ 2.152368] Probing RTL838X eth device pdev: 8311ae00, dev: 8311ae10
[ 2.187478] Found SoC ID: 9313: RTL9313, family 9310
[ 2.204014] In rtl931x_chip_init
[ 2.214780] rtl931x_chip_init: init ENCAP done
[ 2.229587] rtl931x_chip_init: init MIB done
[ 2.243788] rtl931x_chip_init: init ACL done
[ 2.258076] rtl931x_chip_init: init ALE done
[ 2.272551] Using MAC 00008094a50c8000
[ 2.285086] set sds port 0 to 2
[ 2.295574] set sds port 8 to 3
[ 2.306063] set sds port 16 to 4
[ 2.316827] set sds port 24 to 5
[ 2.327620] set sds port 32 to 6
[ 2.338388] set sds port 40 to 7
[ 2.349152] set sds port 48 to 8
[ 2.359898] set sds port 50 to 9
[ 2.370684] set sds port 52 to 10
[ 2.381738] set sds port 53 to 11
[ 2.392785] set sds port 54 to 12
[ 2.403821] set sds port 55 to 13
[ 2.415758] rtmdio_931x_reset called
[ 2.532300] poll sel 0, 00000000
[ 2.543108] poll sel 1, 00000000
[ 2.553869] poll sel 2, 00010001
[ 2.564594] poll sel 3, 00000011
[ 2.575336] rtmdio_931x_reset: WAS RTL931X_MAC_L2_GLOBAL_CTRL2 16208109
[ 2.597320] c45_mask: 00000000, RTL931X_SMI_GLB_CTRL0 was 550
[ 2.597349] rtmdio_931x_reset: RTL931X_MAC_L2_GLOBAL_CTRL2 16208709
[ 2.637208] c45_mask: 0000000a, RTL931X_SMI_GLB_CTRL0 was 550
[ 3.378804] i2c_dev: i2c /dev entries driver
[ 3.415708] NET: Registered PF_INET6 protocol family
[ 3.436877] Segment Routing with IPv6
[ 3.449368] In-situ OAM (IOAM) with IPv6
[ 3.462641] NET: Registered PF_PACKET protocol family
[ 3.480245] 8021q: 802.1Q VLAN Support v1.8
[ 3.550512] rtl93xx_setup called
[ 3.561374] > 00000000 00000080
cut here due to character limit ~TK
[ 4.234777] In rtl83xx_vlan_setup
[ 4.245874] UNKNOWN_MC_PMASK: 0000000000000000
[ 5.272235] rtl83xx_enable_phy_polling: f5010101010101
[ 5.290297] rtl83xx-switch switch@1b000000: configuring for fixed/internal link mode
[ 5.316350] Realtek RTL8264 mdio-bus:00: rtkphy_config_init:71 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF2 PHYAD:0
[ 5.351318] rtl83xx-switch switch@1b000000 lan1 (uninitialized): PHY [mdio-bus:00] driver [Realtek RTL8264] (irq=POLL)
[ 5.388677] Realtek RTL8264 mdio-bus:08: rtkphy_config_init:71 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF2 PHYAD:8
[ 5.423733] rtl83xx-switch switch@1b000000 lan2 (uninitialized): PHY [mdio-bus:08] driver [Realtek RTL8264] (irq=POLL)
[ 5.460990] Realtek RTL8264 mdio-bus:10: rtkphy_config_init:71 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF2 PHYAD:16
[ 5.496299] rtl83xx-switch switch@1b000000 lan3 (uninitialized): PHY [mdio-bus:10] driver [Realtek RTL8264] (irq=POLL)
[ 5.534012] Realtek RTL8264 mdio-bus:18: rtkphy_config_init:71 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF2 PHYAD:24
[ 5.569279] rtl83xx-switch switch@1b000000 lan4 (uninitialized): PHY [mdio-bus:18] driver [Realtek RTL8264] (irq=POLL)
[ 5.606661] Realtek RTL8264 mdio-bus:20: rtkphy_config_init:71 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF2 PHYAD:32
[ 5.641932] rtl83xx-switch switch@1b000000 lan5 (uninitialized): PHY [mdio-bus:20] driver [Realtek RTL8264] (irq=POLL)
[ 5.679449] Realtek RTL8264 mdio-bus:28: rtkphy_config_init:71 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF2 PHYAD:40
[ 5.714786] rtl83xx-switch switch@1b000000 lan6 (uninitialized): PHY [mdio-bus:28] driver [Realtek RTL8264] (irq=POLL)
[ 5.752640] Realtek RTL8264 mdio-bus:30: rtkphy_config_init:71 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF2 PHYAD:48
[ 5.787957] rtl83xx-switch switch@1b000000 lan7 (uninitialized): PHY [mdio-bus:30] driver [Realtek RTL8264] (irq=POLL)
[ 5.825473] Realtek RTL8264 mdio-bus:32: rtkphy_config_init:71 [RTL8261N/RTL8264/RTL826XB] phy_id: 0x1CCAF2 PHYAD:50
[ 5.860821] rtl83xx-switch switch@1b000000 lan8 (uninitialized): PHY [mdio-bus:32] driver [Realtek RTL8264] (irq=POLL)
[ 5.901777] rtl83xx-switch switch@1b000000 lan9 (uninitialized): validation of 1000base-x with support 00,00000000,00000000,00006281 and advertisement 00,00000000,00000000,00006280 failed: -EINVAL
[ 5.962287] rtl83xx-switch switch@1b000000 lan9 (uninitialized): failed to connect to PHY: -EINVAL
[ 5.992197] rtl83xx-switch switch@1b000000 lan9 (uninitialized): error -22 setting up PHY for tree 0, switch 0, port 52
[ 6.031794] rtl83xx-switch switch@1b000000 lan10 (uninitialized): validation of 1000base-x with support 00,00000000,00000000,00006281 and advertisement 00,00000000,00000000,00006280 failed: -EINVAL
[ 6.092591] rtl83xx-switch switch@1b000000 lan10 (uninitialized): failed to connect to PHY: -EINVAL
[ 6.122722] rtl83xx-switch switch@1b000000 lan10 (uninitialized): error -22 setting up PHY for tree 0, switch 0, port 53
[ 6.162774] rtl83xx-switch switch@1b000000 lan11 (uninitialized): validation of 1000base-x with support 00,00000000,00000000,00006281 and advertisement 00,00000000,00000000,00006280 failed: -EINVAL
[ 6.223632] rtl83xx-switch switch@1b000000 lan11 (uninitialized): failed to connect to PHY: -EINVAL
[ 6.253755] rtl83xx-switch switch@1b000000 lan11 (uninitialized): error -22 setting up PHY for tree 0, switch 0, port 54
[ 6.293831] rtl83xx-switch switch@1b000000 lan12 (uninitialized): validation of 1000base-x with support 00,00000000,00000000,00006281 and advertisement 00,00000000,00000000,00006280 failed: -EINVAL
[ 6.354808] rtl83xx-switch switch@1b000000 lan12 (uninitialized): failed to connect to PHY: -EINVAL
[ 6.384922] rtl83xx-switch switch@1b000000 lan12 (uninitialized): error -22 setting up PHY for tree 0, switch 0, port 55
[ 6.421688] rtl838x-eth 1b00a300.ethernet eth0: entered promiscuous mode
[ 6.444167] DSA: tree 0 setup
[ 6.454215] LINK state irq: 24
[ 6.464502] In rtl83xx_setup_qos
[ 6.475511] rtl930x_dbgfs_init called
[ 6.475564] rtl83xx_fib_event_work_do: FIB4 default rule failed
[ 6.487834] rtl83xx-switch switch@1b000000: Link is Up - 10Gbps/Full - flow control off
[ 6.507428] rtl83xx_fib_event_work_do: FIB4 default rule failed
[ 6.507949] clk: Disabling unused clocks
[ 6.586433] Freeing unused kernel image (initmem) memory: 10120K
[ 6.606432] This architecture does not have kernel memory protection.
[ 6.627821] Run /init as init process
[ 6.640038] with arguments:
[ 6.649921] /init
[ 6.657540] with environment:
[ 6.667991] HOME=/
[ 6.675839] TERM=linux
[ 7.321208] init: Console is alive
[ 7.333485] init: - watchdog -
[ 7.364576] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 7.391255] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 7.417273] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.447100] init: - preinit -
[ 11.362244] random: crng init done
mtd_get_mac_ascii: partition u-boot-env2 not found!
mtd_get_mac_ascii: partition u-boot-env2 not found!
mtd_get_mac_ascii: partition u-boot-env not found!
Cannot parse config file '/etc/fw_env.config': No such file or directory
Failed to find NVMEM device
[ 12.341128] RESETTING 9310, CPU_PORT 56
[ 13.523952] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[ 13.550781] In rtl838x_mac_config, mode 1
[ 13.565081] rtl83xx-switch switch@1b000000 lan1: configuring for phy/usxgmii link mode
[ 13.591464] rtl931x_phylink_mac_config: speed -1 sds_num 2
[ 13.613760] rtl931x_sds_cmu_band_get band is: 16
[ 13.629143] rtl931x_sds_init: set sds 2 to mode 30
[ 13.647085] rtl931x_sds_init: fibermode 00000000 stored mode 0x0 analog SDS 2
[ 13.648113] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 2
[ 13.672860] rtl931x_sds_init: CMU mode 00000000 stored even SDS 2
[ 13.695757] rtl931x_sds_init: serdes_mode_ctrl 000013CC
[ 13.717007] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 13.752774] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 13.771150] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 13.789533] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 13.807636] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 13.825039] detected chiptype 0
[ 13.836513] rtl931x_sds_init: 2.5gbit 00000000 dsds 2
[ 13.836543] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003FFF
[ 13.956138] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 13.979993] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 14.002499] 8021q: adding VLAN 0 to HW filter on device lan1
[ 14.021770] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 14.022378] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 14.071125] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 14.096282] rtl83xx_fib_event_work_do: FIB4 failed
[ 14.112379] rtl83xx_fib_event_work_do: FIB4 failed
[ 14.128486] rtl83xx_fib_event_work_do: FIB4 failed
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
[ 15.602327] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 18.336189] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 18.353473] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 18.370612] rtl83xx_fib4_del: no such gateway: 0.0.0.0
[ 18.404015] procd: - early -
[ 18.414175] procd: - watchdog -
[ 19.022434] procd: - watchdog -
[ 19.033705] procd: - ubus -
[ 19.203707] procd: - init -
Please press Enter to activate this console.
[ 19.798386] kmodloader: loading kernel modules from /etc/modules.d/*
[ 19.917015] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 20.690351] urngd: v1.0.2 started.
[ 23.186133] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
BusyBox v1.37.0 (2025-08-12 10:37:06 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r30769-d66c251c02
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
OpenWrt recently switched to the "apk" package manager!
OPKG Command APK Equivalent Description
------------------------------------------------------------------
opkg install <pkg> apk add <pkg> Install a package
opkg remove <pkg> apk del <pkg> Remove a package
opkg upgrade apk upgrade Upgrade all packages
opkg files <pkg> apk info -L <pkg> List package contents
opkg list-installed apk info List installed packages
opkg update apk update Update package lists
opkg search <pkg> apk search <pkg> Search for packages
------------------------------------------------------------------
For more https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet
root@OpenWrt:~# ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc mq state UP qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
inet6 fe80::8294:a5ff:fe0c:8000/64 scope link
valid_lft forever preferred_lft forever
3: lan1@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
4: lan2@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
5: lan3@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
6: lan4@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
7: lan5@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
8: lan6@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
9: lan7@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
10: lan8@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
root@OpenWrt:~# [ 33.307099] in rtl838x_eth_stop
[ 33.317941] rtl838x-eth 1b00a300.ethernet eth0: Link is Down
[ 33.888011] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 33.909955] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 33.931819] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 33.953631] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 33.988237] RESETTING 9310, CPU_PORT 56
[ 35.124329] rtl838x-eth 1b00a300.ethernet eth0: configuring for fixed/internal link mode
[ 35.151173] In rtl838x_mac_config, mode 1
[ 35.165106] rtl838x-eth 1b00a300.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 35.184055] rtl83xx-switch switch@1b000000 lan1: configuring for phy/usxgmii link mode
[ 35.219056] rtl931x_phylink_mac_config: speed -1 sds_num 2
[ 35.241497] rtl931x_sds_cmu_band_get band is: 27
[ 35.256986] rtl931x_sds_init: set sds 2 to mode 30
[ 35.275089] rtl931x_sds_init: fibermode 000006C0 stored mode 0x1b analog SDS 2
[ 35.276131] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 2
[ 35.301623] rtl931x_sds_init: CMU mode 00000000 stored even SDS 2
[ 35.324631] rtl931x_sds_init: serdes_mode_ctrl 000013CC
[ 35.346184] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 35.382320] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 35.400747] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 35.419284] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 35.437609] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 35.455096] detected chiptype 0
[ 35.466658] rtl931x_sds_init: 2.5gbit 00000000 dsds 2
[ 35.466703] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003FFB
[ 35.586924] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 35.611852] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 35.634683] 8021q: adding VLAN 0 to HW filter on device lan1
[ 35.654145] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 35.676083] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 35.698564] switch: port 1(lan1) entered blocking state
[ 35.716021] switch: port 1(lan1) entered disabled state
[ 35.733673] rtl83xx-switch switch@1b000000 lan1: entered allmulticast mode
[ 35.756628] rtl838x-eth 1b00a300.ethernet eth0: entered allmulticast mode
[ 35.779948] rtl83xx-switch switch@1b000000 lan1: entered promiscuous mode
[ 35.859797] rtl83xx-switch switch@1b000000 lan2: configuring for phy/usxgmii link mode
[ 35.886257] rtl931x_phylink_mac_config: speed -1 sds_num 3
[ 35.906884] rtl931x_sds_cmu_band_get band is: 27
[ 35.922340] rtl931x_sds_init: set sds 3 to mode 30
[ 35.940348] rtl931x_sds_init: fibermode 00000000 stored mode 0x0 analog SDS 3
[ 35.941387] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 3
[ 35.966159] rtl931x_sds_init: CMU mode 00000000 stored even SDS 2
[ 35.989129] rtl931x_sds_init: serdes_mode_ctrl 000013CC
[ 36.010497] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 36.046384] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 36.064823] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 36.083397] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 36.101879] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 36.119374] detected chiptype 0
[ 36.131207] rtl931x_sds_init: 2.5gbit 00000000 dsds 4
[ 36.131263] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003FFB
[ 36.267080] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 36.292500] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 36.315131] 8021q: adding VLAN 0 to HW filter on device lan2
[ 36.343802] switch: port 2(lan2) entered blocking state
[ 36.361317] switch: port 2(lan2) entered disabled state
[ 36.378853] rtl83xx-switch switch@1b000000 lan2: entered allmulticast mode
[ 36.402624] rtl83xx-switch switch@1b000000 lan2: entered promiscuous mode
[ 36.459329] rtl83xx-switch switch@1b000000 lan3: configuring for phy/usxgmii link mode
[ 36.485954] rtl931x_phylink_mac_config: speed -1 sds_num 4
[ 36.509168] rtl931x_sds_cmu_band_get band is: 16
[ 36.524689] rtl931x_sds_init: set sds 4 to mode 30
[ 36.543282] rtl931x_sds_init: fibermode 00000000 stored mode 0x0 analog SDS 6
[ 36.544565] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 6
[ 36.569628] rtl931x_sds_init: CMU mode 00000000 stored even SDS 6
[ 36.592603] rtl931x_sds_init: serdes_mode_ctrl 000013D0
[ 36.614144] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 36.650430] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 36.669172] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 36.687912] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 36.706366] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 36.723863] detected chiptype 0
[ 36.735669] rtl931x_sds_init: 2.5gbit 00000000 dsds 6
[ 36.735728] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003FF3
[ 36.855947] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 36.880923] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 36.903482] 8021q: adding VLAN 0 to HW filter on device lan3
[ 36.931858] switch: port 3(lan3) entered blocking state
[ 36.949429] switch: port 3(lan3) entered disabled state
[ 36.966996] rtl83xx-switch switch@1b000000 lan3: entered allmulticast mode
[ 36.990915] rtl83xx-switch switch@1b000000 lan3: entered promiscuous mode
[ 37.046726] rtl83xx-switch switch@1b000000 lan4: configuring for phy/usxgmii link mode
[ 37.073145] rtl931x_phylink_mac_config: speed -1 sds_num 5
[ 37.094631] rtl931x_sds_cmu_band_get band is: 28
[ 37.110034] rtl931x_sds_init: set sds 5 to mode 30
[ 37.128093] rtl931x_sds_init: fibermode 00000000 stored mode 0x0 analog SDS 7
[ 37.129139] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 7
[ 37.153929] rtl931x_sds_init: CMU mode 00000000 stored even SDS 6
[ 37.176841] rtl931x_sds_init: serdes_mode_ctrl 000013D0
[ 37.198171] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 37.233995] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 37.252564] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 37.270946] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 37.289140] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 37.306559] detected chiptype 0
[ 37.318081] rtl931x_sds_init: 2.5gbit 00000000 dsds 8
[ 37.318122] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003FE3
[ 37.438237] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 37.463252] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 37.485794] 8021q: adding VLAN 0 to HW filter on device lan4
[ 37.505169] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 37.527045] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
[ 37.549336] switch: port 4(lan4) entered blocking state
[ 37.566827] switch: port 4(lan4) entered disabled state
[ 37.584471] rtl83xx-switch switch@1b000000 lan4: entered allmulticast mode
[ 37.608345] rtl83xx-switch switch@1b000000 lan4: entered promiscuous mode
[ 37.661920] rtl83xx-switch switch@1b000000 lan5: configuring for phy/usxgmii link mode
[ 37.688350] rtl931x_phylink_mac_config: speed -1 sds_num 6
[ 37.710614] rtl931x_sds_cmu_band_get band is: 16
[ 37.725997] rtl931x_sds_init: set sds 6 to mode 30
[ 37.744044] rtl931x_sds_init: fibermode 00000000 stored mode 0x0 analog SDS 10
[ 37.745095] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 10
[ 37.770098] rtl931x_sds_init: CMU mode 00000000 stored even SDS 10
[ 37.793263] rtl931x_sds_init: serdes_mode_ctrl 000013D0
[ 37.814864] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 37.850647] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 37.869036] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 37.887435] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 37.905574] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 37.923000] detected chiptype 0
[ 37.934510] rtl931x_sds_init: 2.5gbit 00000000 dsds 10
[ 37.934542] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003FC3
[ 38.054794] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 38.079665] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 38.102336] 8021q: adding VLAN 0 to HW filter on device lan5
[ 38.122837] switch: port 5(lan5) entered blocking state
[ 38.140269] switch: port 5(lan5) entered disabled state
[ 38.157807] rtl83xx-switch switch@1b000000 lan5: entered allmulticast mode
[ 38.181487] rtl83xx-switch switch@1b000000 lan5: entered promiscuous mode
[ 38.232596] rtl83xx-switch switch@1b000000 lan6: configuring for phy/usxgmii link mode
[ 38.258908] rtl931x_phylink_mac_config: speed -1 sds_num 7
[ 38.281293] rtl931x_sds_cmu_band_get band is: 28
[ 38.296725] rtl931x_sds_init: set sds 7 to mode 30
[ 38.314708] rtl931x_sds_init: fibermode 00000000 stored mode 0x0 analog SDS 11
[ 38.315752] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 11
[ 38.340860] rtl931x_sds_init: CMU mode 00000000 stored even SDS 10
[ 38.364057] rtl931x_sds_init: serdes_mode_ctrl 000013D0
[ 38.385646] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 38.421444] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 38.439934] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 38.458449] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 38.476719] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 38.494152] detected chiptype 0
[ 38.505667] rtl931x_sds_init: 2.5gbit 00000000 dsds 12
[ 38.505708] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003F83
[ 38.626100] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 38.650980] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 38.673574] 8021q: adding VLAN 0 to HW filter on device lan6
[ 38.711358] switch: port 6(lan6) entered blocking state
[ 38.728846] switch: port 6(lan6) entered disabled state
[ 38.746354] rtl83xx-switch switch@1b000000 lan6: entered allmulticast mode
[ 38.769949] rtl83xx-switch switch@1b000000 lan6: entered promiscuous mode
[ 38.819724] rtl83xx-switch switch@1b000000 lan7: configuring for phy/usxgmii link mode
[ 38.846056] rtl931x_phylink_mac_config: speed -1 sds_num 8
[ 38.868319] rtl931x_sds_cmu_band_get band is: 16
[ 38.883726] rtl931x_sds_init: set sds 8 to mode 30
[ 38.901694] rtl931x_sds_init: fibermode 00000000 stored mode 0x0 analog SDS 14
[ 38.902806] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 14
[ 38.927805] rtl931x_sds_init: CMU mode 00000000 stored even SDS 14
[ 38.950969] rtl931x_sds_init: serdes_mode_ctrl 000013D4
[ 38.972598] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 39.008302] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 39.026696] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 39.045119] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 39.063265] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 39.080661] detected chiptype 0
[ 39.092204] rtl931x_sds_init: 2.5gbit 00000000 dsds 14
[ 39.092246] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003F03
[ 39.220807] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 39.245681] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 39.268265] 8021q: adding VLAN 0 to HW filter on device lan7
[ 39.297054] switch: port 7(lan7) entered blocking state
[ 39.314511] switch: port 7(lan7) entered disabled state
[ 39.332032] rtl83xx-switch switch@1b000000 lan7: entered allmulticast mode
[ 39.355683] rtl83xx-switch switch@1b000000 lan7: entered promiscuous mode
[ 39.405907] rtl83xx-switch switch@1b000000 lan8: configuring for phy/usxgmii link mode
[ 39.432232] rtl931x_phylink_mac_config: speed -1 sds_num 9
[ 39.454734] rtl931x_sds_cmu_band_get band is: 27
[ 39.470126] rtl931x_sds_init: set sds 9 to mode 30
[ 39.488224] rtl931x_sds_init: fibermode 00000000 stored mode 0x0 analog SDS 15
[ 39.489268] rtl931x_sds_init: SGMII mode 000080E4 in 0x24 0x9 analog SDS 15
[ 39.514338] rtl931x_sds_init: CMU mode 00000000 stored even SDS 14
[ 39.537515] rtl931x_sds_init: serdes_mode_ctrl 000013D4
[ 39.559110] rtl931x_sds_init CMU page 0x24 0x7 0000000e
[ 39.594909] rtl931x_sds_init CMU page 0x26 0x7 0000000e
[ 39.613408] rtl931x_sds_init CMU page 0x28 0x7 0000000e
[ 39.631904] rtl931x_sds_init XSG page 0x0 0xe 00002053
[ 39.650087] rtl931x_sds_init XSG2 page 0x0 0xe 00002053
[ 39.667517] detected chiptype 0
[ 39.679082] rtl931x_sds_init: 2.5gbit 00000000 dsds 16
[ 39.679127] rtl931x_sds_init: RTL931X_PS_SERDES_OFF_MODE_CTRL_ADDR 0x00003E03
[ 39.799584] rtl931x_sds_fiber_mode_set writing analog SerDes Mode value 1b
[ 39.824488] rtl931x_phylink_mac_config reading FORCE_MODE_CTRL: 00032800
[ 39.847102] 8021q: adding VLAN 0 to HW filter on device lan8
[ 39.874748] switch: port 8(lan8) entered blocking state
[ 39.892418] switch: port 8(lan8) entered disabled state
[ 39.909968] rtl83xx-switch switch@1b000000 lan8: entered allmulticast mode
[ 39.933638] rtl83xx-switch switch@1b000000 lan8: entered promiscuous mode
[ 39.967164] rtl83xx_fib_event: FIB_RULE ADD/DEL for IPv6 not supported
root@OpenWrt:~#
root@OpenWrt:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc mq state UP qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
inet6 fe80::8294:a5ff:fe0c:8000/64 scope link
valid_lft forever preferred_lft forever
3: lan1@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master switch state LOWERLAYERDOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
4: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master switch state LOWERLAYERDOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
5: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master switch state LOWERLAYERDOWN qlen 1000
link/ether 02:00:01:00:00:02 brd ff:ff:ff:ff:ff:ff
6: lan4@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master switch state LOWERLAYERDOWN qlen 1000
link/ether 02:00:01:00:00:03 brd ff:ff:ff:ff:ff:ff
7: lan5@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master switch state LOWERLAYERDOWN qlen 1000
link/ether 02:00:01:00:00:04 brd ff:ff:ff:ff:ff:ff
8: lan6@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master switch state LOWERLAYERDOWN qlen 1000
link/ether 02:00:01:00:00:05 brd ff:ff:ff:ff:ff:ff
9: lan7@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master switch state LOWERLAYERDOWN qlen 1000
link/ether 02:00:01:00:00:06 brd ff:ff:ff:ff:ff:ff
10: lan8@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master switch state LOWERLAYERDOWN qlen 1000
link/ether 02:00:01:00:00:07 brd ff:ff:ff:ff:ff:ff
11: switch: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
12: switch.1@switch: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state LOWERLAYERDOWN qlen 1000
link/ether 80:94:a5:0c:80:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global switch.1
valid_lft forever preferred_lft forever
root@OpenWrt:~#
Quick status report: Ethernet Cable connected to T4 (Port 3 but 4 on the PHY apparently)
no link, no nothing. depressing. Current DT on my github repo. Thanks @jonasj for helping me out.