Hi all!
I assembled my own firmware for Wavlink WN570HA1 (Soc MT 7628AN) on 23.05.2. Standard firmware was not installed due to a different memory model on PCB. I have applied a kernel patch for support.
My access point is in DUMB mode - without DHCP, firewall...
But a problem arose - clients on the 5GHz radio receive an IP address (and other settings), but do not have access to the network, including the point itself.
root@WN570HA1:~# cat /etc/board.json
{
"model": {
"id": "wavlink,wl-wn570ha1",
"name": "Wavlink WL-WN570HA1"
},
"led": {
"wan": {
"name": "wan",
"sysfs": "green:wan",
"trigger": "switch0",
"type": "switch",
"mode": "",
"port_mask": "0x01",
"speed_mask": ""
},
"wifi_low": {
"name": "",
"sysfs": "green:wifi-low",
"type": "rssi",
"iface": "wlan0",
"minq": "1",
"maxq": "49",
"offset": "0",
"factor": "1"
},
"wifi_med": {
"name": "",
"sysfs": "green:wifi-med",
"type": "rssi",
"iface": "wlan0",
"minq": "50",
"maxq": "84",
"offset": "0",
"factor": "1"
},
"wifi_high": {
"name": "",
"sysfs": "green:wifi-high",
"type": "rssi",
"iface": "wlan0",
"minq": "85",
"maxq": "100",
"offset": "0",
"factor": "1"
},
"wifi_led": {
"name": "wifi",
"sysfs": "green:wifi",
"type": "netdev",
"device": "wlan0",
"mode": "link tx rx"
}
},
"rssimon": {
"wlan0": {
"refresh": 200000,
"threshold": 1
}
},
"switch": {
"switch0": {
"enable": true,
"reset": true,
"ports": [
{
"num": 0,
"role": "lan"
},
{
"num": 1,
"role": "lan"
},
{
"num": 2,
"role": "lan"
},
{
"num": 3,
"role": "lan"
},
{
"num": 4,
"role": "wan"
},
{
"num": 6,
"device": "eth0",
"need_tag": false,
"want_untag": false
}
],
"roles": [
{
"role": "lan",
"ports": "0 1 2 3 6t",
"device": "eth0.1"
},
{
"role": "wan",
"ports": "4 6t",
"device": "eth0.2"
}
]
}
},
"network": {
"lan": {
"device": "eth0.1",
"protocol": "static"
},
"wan": {
"device": "eth0.2",
"protocol": "dhcp",
"macaddr": "80:3f:5d:58:f4:49"
}
}
}
root@WN570HA1:~# swconfig list
Found: switch0 - rt305x
root@WN570HA1:~# swconfig list
Found: switch0 - rt305x
root@WN570HA1:~# ^C
root@WN570HA1:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd37:585b:2998::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0.1'
option ipv6 '0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.172.101'
option netmask '255.255.255.0'
option ip6assign '60'
option gateway '192.168.172.254'
list dns '94.140.14.14'
config device
option name 'eth0.2'
option macaddr '80:3F:5D:58:F4:49'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 6t'
root@WN570HA1:~# ifconfig
br-lan Link encap:Ethernet HWaddr 80:3F:5D:58:F4:48
inet addr:192.168.172.101 Bcast:192.168.172.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81310 errors:0 dropped:0 overruns:0 frame:0
TX packets:34658 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6262212 (5.9 MiB) TX bytes:13289047 (12.6 MiB)
eth0 Link encap:Ethernet HWaddr 80:3F:5D:58:F4:48
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1235879 errors:0 dropped:4 overruns:0 frame:0
TX packets:577037 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1536855102 (1.4 GiB) TX bytes:70132809 (66.8 MiB)
Interrupt:5
eth0.1 Link encap:Ethernet HWaddr 80:3F:5D:58:F4:48
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1182492 errors:0 dropped:1342 overruns:0 frame:0
TX packets:551027 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1469716193 (1.3 GiB) TX bytes:62150586 (59.2 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:54 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8168 (7.9 KiB) TX bytes:8168 (7.9 KiB)
phy0-ap0 Link encap:Ethernet HWaddr 80:3F:5D:58:F4:49
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:527921 errors:0 dropped:0 overruns:0 frame:0
TX packets:1122936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53367518 (50.8 MiB) TX bytes:1506558383 (1.4 GiB)
phy0-mesh0 Link encap:Ethernet HWaddr 82:3F:5D:58:F4:49
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:905 errors:0 dropped:0 overruns:0 frame:0
TX packets:51051 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:128834 (125.8 KiB) TX bytes:4904388 (4.6 MiB)
phy1-ap0 Link encap:Ethernet HWaddr 80:3F:5D:58:F4:4A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:637 errors:0 dropped:0 overruns:0 frame:0
TX packets:11118 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:63235 (61.7 KiB) TX bytes:1389414 (1.3 MiB)
root@WN570HA1:~# ip link
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
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
link/ether 80:3f:5d:58:f4:48 brd ff:ff:ff:ff:ff:ff
16: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 80:3f:5d:58:f4:48 brd ff:ff:ff:ff:ff:ff
17: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 80:3f:5d:58:f4:48 brd ff:ff:ff:ff:ff:ff
18: phy1-ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 80:3f:5d:58:f4:4a brd ff:ff:ff:ff:ff:ff
19: phy0-ap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 80:3f:5d:58:f4:49 brd ff:ff:ff:ff:ff:ff
20: phy0-mesh0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 82:3f:5d:58:f4:49 brd ff:ff:ff:ff:ff:ff