uci show network

root@OpenWrt:/# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd22:d60f:307a::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan_eth0_1_dev=device
network.lan_eth0_1_dev.name='eth0.1'
network.lan_eth0_1_dev.macaddr='36:3c:2b:56:4a:0b'
network.wan=interface
network.wan.ifname='eth0.2'
network.wan.proto='dhcp'
network.wan_eth0_2_dev=device
network.wan_eth0_2_dev.name='eth0.2'
network.wan_eth0_2_dev.macaddr='36:3c:2b:56:4a:0c'
network.wan6=interface
network.wan6.ifname='eth0.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='0 1 2 3 6t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='4 6t'

uci show wireless

root@OpenWrt:/#
root@OpenWrt:/# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.channel='11'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/10300000.wmac'
wireless.radio0.htmode='HT20'
wireless.radio0.disabled='0'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='OpenWrt'
wireless.default_radio0.encryption='none'

everything looks good..

can you try connect to wifi via tablet or phone .. or anythink else ..??

Now I testing new firmaware image ..and it looks good...

EDITED:
try to push WIFI button
(or RESET button, in your case) - center one

WIFI button - center one the wifi LED goes off or turns on when I press, but wifi does not detect it pc,phone ....


root@OpenWrt:/# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=0.379 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=0.353 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=0.336 ms
64 bytes from 192.168.1.1: seq=3 ttl=64 time=0.339 ms
64 bytes from 192.168.1.1: seq=4 ttl=64 time=0.349 ms
64 bytes from 192.168.1.1: seq=5 ttl=64 time=0.331 ms
64 bytes from 192.168.1.1: seq=6 ttl=64 time=0.334 ms
64 bytes from 192.168.1.1: seq=7 ttl=64 time=0.352 ms
64 bytes from 192.168.1.1: seq=8 ttl=64 time=0.339 ms
64 bytes from 192.168.1.1: seq=9 ttl=64 time=0.335 ms
64 bytes from 192.168.1.1: seq=10 ttl=64 time=0.331 ms
64 bytes from 192.168.1.1: seq=11 ttl=64 time=0.335 ms
64 bytes from 192.168.1.1: seq=12 ttl=64 time=0.334 ms
64 bytes from 192.168.1.1: seq=13 ttl=64 time=0.348 ms
64 bytes from 192.168.1.1: seq=14 ttl=64 time=0.334 ms
64 bytes from 192.168.1.1: seq=15 ttl=64 time=0.343 ms
64 bytes from 192.168.1.1: seq=16 ttl=64 time=0.344 ms

root@OpenWrt:/# swconfig dev switch0 help
switch0: rt305x(rt305x-esw), ports: 7 (cpu @ 6), vlans: 4096
     --switch
        Attribute 1 (int): enable_vlan (VLAN mode (1:enabled))
        Attribute 2 (int): alternate_vlan_disable (Use en_vlan instead of doubletag to di                                          sable VLAN mode)
        Attribute 3 (int): bc_storm_protect (Global broadcast storm protection (0:Disable                                          , 1:64 blocks, 2:96 blocks, 3:128 blocks))
        Attribute 4 (int): led_frequency (LED Flash frequency (0:30mS, 1:60mS, 2:240mS, 3                                          :480mS))
        Attribute 5 (none): apply (Activate changes in the hardware)
        Attribute 6 (none): reset (Reset the switch)
     --vlan
        Attribute 1 (ports): ports (VLAN port mapping)
     --port
        Attribute 1 (int): disable (Port state (1:disabled))
        Attribute 2 (int): doubletag (Double tagging for incoming vlan packets (1:enabled                                          ))
        Attribute 3 (int): untag (Untag (1:strip outgoing vlan tag))
        Attribute 4 (int): led (LED mode (0:link, 1:100m, 2:duplex, 3:activity, 4:collisi                                          on, 5:linkact, 6:duplcoll, 7:10mact, 8:100mact, 10:blink, 11:off, 12:on))
        Attribute 5 (int): lan (HW port group (0:wan, 1:lan))
        Attribute 6 (int): recv_bad (Receive bad packet counter)
        Attribute 7 (int): recv_good (Receive good packet counter)
        Attribute 8 (int): tr_bad (Transmit bad packet counter. rt5350 only)
        Attribute 9 (int): tr_good (Transmit good packet counter. rt5350 only)
        Attribute 10 (int): pvid (Primary VLAN ID)
        Attribute 11 (unknown): link (Get port link information)
root@OpenWrt:/# swconfig dev switch0 help | grep switch0
switch0: rt305x(rt305x-esw), ports: 7 (cpu @ 6), vlans: 4096


root@OpenWrt:/# swconfig dev switch0 show | grep link:
        link: port:0 link:up speed:10baseT full-duplex
        link: port:1 link:down
        link: port:2 link:down
        link: port:3 link:down
        link: port:4 link:down
        link: port:5 link:down
        link: port:6 link:up speed:1000baseT full-duplex

10MBIt ..??
..
try to do something with your ethernet cable or network adapter settings ...

(I have one 1GBit card, which can't comunicate with my router)

this is the fault of the router, i have 3 xp win 7 and win10 computers and it only connects to win 10 and i have 3 tp cables and it is the same on each

only connects to windows 10

wan:


swconfig dev switch0 show | grep link:
        link: port:0 link:down
        link: port:1 link:down
        link: port:2 link:down
        link: port:3 link:down
        link: port:4 link:up speed:10baseT full-duplex
        link: port:5 link:down
        link: port:6 link:up speed:1000baseT full-duplex

root@OpenWrt:/# swconfig dev switch0 show
Global attributes:
        enable_vlan: 0
        alternate_vlan_disable: 0
        bc_storm_protect: 0
        led_frequency: 0
Port 0:
        disable: 0
        doubletag: 1
        untag: 1
        led: 5
        lan: 1
        recv_bad: 36
        recv_good: 743
        tr_bad: 0
        tr_good: 94
        pvid: 0
        link: port:0 link:up speed:10baseT full-duplex
Port 1:
        disable: 0
        doubletag: 1
        untag: 1
        led: 5
        lan: 1
        recv_bad: 0
        recv_good: 0
        tr_bad: 0
        tr_good: 0
        pvid: 0
        link: port:1 link:down
Port 2:
        disable: 0
        doubletag: 1
        untag: 1
        led: 5
        lan: 1
        recv_bad: 0
        recv_good: 0
        tr_bad: 0
        tr_good: 0
        pvid: 0
        link: port:2 link:down
Port 3:
        disable: 0
        doubletag: 1
        untag: 1
        led: 5
        lan: 1
        recv_bad: 0
        recv_good: 0
        tr_bad: 0
        tr_good: 0
        pvid: 0
        link: port:3 link:down
Port 4:
        disable: 0
        doubletag: 1
        untag: 1
        led: 5
        lan: 1
        recv_bad: 15
        recv_good: 302
        tr_bad: 0
        tr_good: 75
        pvid: 0
        link: port:4 link:down
Port 5:
        disable: 1
        doubletag: 1
        untag: 1
        led: ???
        lan: 1
        recv_bad: 0
        recv_good: 0
        tr_bad: 0
        tr_good: 0
        pvid: 0
        link: port:5 link:down
Port 6:
        disable: 0
        doubletag: 1
        untag: 1
        led: ???
        lan: ???
        recv_bad: ???
        recv_good: ???
        tr_bad: ???
        tr_good: ???
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 0:
        ports: 0 1 2 3 4 5 6

strange ....

you can try any live linux distro .. maybe ..??

here is my switch config / link speed

root@OpenWrt:/# swconfig dev switch0 show |grep link
        link: port:0 link:down
        link: port:1 link:down
        link: port:2 link:down
        link: port:3 link:down
        link: port:4 link:up speed:100baseT full-duplex 
        link: port:5 link:down
        link: port:6 link:up speed:1000baseT full-duplex

new fixed image is here:

http://195.28.90.62/dohc/ostatne/YTXC-985K/owrt190701/openwrt-19.07.1-ramips-mt76x8-ytxc-958-squashfs-sysupgrade.bin

same name, same place, but different time, date, size, content, checksum ... etc.

maybe the capacitor is broken ?

@JRD_McLAREN wow man, great work! I have this device and works really nice :slight_smile: Any quick tutorial how to add Your soft on it? You use it all time and works fine? I use it as repeater and somethimes is lost a host wifi singal (97%).

An laso: Did You know how to reset to default by switches? (Long press reset button is not working for me).

Thanks !

New "updated" image to 19.07.7 ....

Use it at own risk, it is too much version of this router. Looks same, but it is slightly different.

Binary file
sha256sums
mainfest

and all other content is here: (http://195.28.90.62/dohc/ostatne/YTXC-985K/owrt190707/)

....how can I get these files to Openwrt packages "as default" for ramips ... ??
http://195.28.90.62/dohc/ostatne/YTXC-985K/owrt190707/ramips.sh
http://195.28.90.62/dohc/ostatne/YTXC-985K/owrt190707/02_network

it is critical for correct BRIGDE / SWITCH configuration after "Factory reset" ...

IP for server was changed..
actual one is http://89.173.96.22/dohc/ostatne/YTXC-985K/

"my full image builder" http://89.173.96.22/dohc/ostatne/YTXC-985K/owrt190707/
image http://89.173.96.22/dohc/ostatne/YTXC-985K/owrt190707/openwrt-19.07.7-ramips-mt76x8-ytxc-958-squashfs-sysupgrade.bin
shasum http://89.173.96.22/dohc/ostatne/YTXC-985K/owrt190707/openwrt-19.07.7-ramips-mt76x8-device-ytxc-958.sha256sums
mainfest http://89.173.96.22/dohc/ostatne/YTXC-985K/owrt190707/openwrt-19.07.7-ramips-mt76x8-device-ytxc-958.manifest

Quale file devo caricare per inserire un firmware aggiornato? grazie
Which file should I upload to insert an updated firmware? Thank you

BIN file .. 6.1MB

Hello. Tell me how you solved the power problem? need to change the capacitor? but which one? your links won't open ...

try to add another one on secondary side .. (in power supply)

all "stuff" is here http://89.173.96.22/dohc/ostatne/YTXC-985K/

are they green at 400V (4.7mf) or black at 10V (1000mf)?

Looks like there's more than 1 version of it...

Yet, overall seems similar. How did you identify rx and tx for serial ?

Oops, after looking closer - not really, different chipset, mt7620n instead of 7628