Support for Mikrotik Hap AC2

Installed OpenWRT again, this time with RouterBOARD 6.47.2, and it works just fine. Seems like RouterBOARD version 7.x might be incompatible with the current device tree.

2 Likes

Are your PPPoE speeds still lower than ROS?

Yeah, as previously noted, about half as slow as ROS (~450-480 Mbps down on OpenWRT vs ~920-930 Mbps on ROS). This probably can't be fixed without Hardware NAT/Hardware Flow Offloading.
Another minor complaint of mine would be that you can't turn off all LEDs (WAN/LAN etc) like on ROS for a more stealth look, I generally keep mine off unless I'm doing troubleshooting.

1 Like

Can you check if packet steering helps throughput a bit? Are you using performance governor?

Edit: I've noticed that LAN lights only turn on if a 1Gbit rate is negotiated

1 Like

Exactly the same results with performance governor & packet steering enabled, no improvement at all.

1 Like

@dfunkt how about this tweak?
Connect to your router via SSH and run these commands:

opkg update
opkg install irqbalance
uci set network.globals.packet_steering=1; uci commit network
uci set irqbalance.irqbalance.enabled=1; uci commit
# What you can try is set this in your /etc/rc.local:
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo e > /sys/class/net/eth0/queues/rx-0/rps_cpus
echo 2 > /sys/class/net/eth0/queues/tx-0/xps_cpus
# or variant 2
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo f > /sys/class/net/eth0/queues/rx-0/rps_cpus
echo 2 > /sys/class/net/eth0/queues/tx-0/xps_cpus

No difference at all.

1 Like

Can you run this command at your GNU Linux PC:

echo e > /sys/class/net/eth0/queues/rx-0/rps_cpus

and test it.

BTW, do you run these commands at your router:

echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo e > /sys/class/net/eth0/queues/rx-0/rps_cpus
echo 2 > /sys/class/net/eth0/queues/tx-0/xps_cpus

?

Thanks.

Once again, no noticeable difference.

1 Like

A post was split to a new topic: Why my crontab doesn't work?

Rebased and compiled new build from source, the most notable change it's this AQL patch

Download:
https://drive.google.com/drive/folders/1PU1XFzA5EaUZzedZJQbsn_l0CGxQiOjh?usp=sharing

PD: write down your settings and grab an ethernet cable since sysupgrade will reset the router (this will be fixed in upstream at some point IIRC).

2 Likes

[BUG]
On all builds of firmware for Mikrotik Hap AC2 green leds lighting for 100 Mbps connection does not work.
Only with 1Gb/s speed leds of LAN's is green blinking.

1 Like

I've also noticed this when I plugged an old N150 router to test something, I don't remember if ROS had the same light behavior

1 Like

ROS is have full led lighting blinking for all 10/100/1Gb LAN's ports

1 Like

Some speedtests for people considering to give OpenWRT a try on theirs ac2

75mbps fiber, country is set to US and WPA2/WPA3 mixed mode on both radios, the test device is a Samsung S9+

2.4GHz: channel 13, 802.11b disabled and 23dbm TX power

Note: the 2.4GHz spectrum is quite busy in my area so it can be affecting upload speeds

5GHz: channel 132 and default TX power (23dbm)

Note: speeds are the same as wired (my ISP used to have higher upload speeds but this it's no longer the case).

Off topic: that WiFi "booster" scam charges 50 USD for a generic N300 repeater

Edit: ROS and firmware should be downgraded to 6.XX before installing OpenWRT

Installed OpenWRT, working well. If I'd like to install some missed kernel modules (pptp for example), I shall build OpenWRT by myself ?

1 Like

Yes, but I can make a build with PPTP for you

Please :slight_smile: Also with ext4 and USB storage support modules. Hope I don't asking too much :roll_eyes:

1 Like

I hope I selected the right modules, it's building now

[Retired build]

Also added Wireguard and OpenVPN support if you want to use it as a VPN box, haven't tested the build but should work also check the config file

Greetings :smiley:

1 Like