Blaze
August 27, 2020, 7:11am
104
@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
Blaze
August 27, 2020, 7:49am
106
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.
dfunkt
August 27, 2020, 6:24pm
107
Once again, no noticeable difference.
1 Like
tmomas
Split this topic
September 1, 2020, 6:09pm
108
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
Blaze
September 6, 2020, 7:02am
110
[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
Blaze
September 6, 2020, 3:20pm
112
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 Also with ext4 and USB storage support modules. Hope I don't asking too much
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
1 Like
hmpfe
September 7, 2020, 8:11pm
119
@geminis3 Could you please post some steps for getting your hAP ac2 building environment up and running? I.e. any important steps one shouldn´t forget to get it running, any special source, ...
1 Like
OS Ubuntu 20.04 on WSL2, this setting https://openwrt.org/docs/guide-developer/build-system/wsl , Debian/Ubuntu dependencies listed here https://openwrt.org/docs/guide-developer/build-system/install-buildsystem .
Clone mainstream openwrt repo
git clone https://github.com/openwrt/openwrt.git
Add @f00b4r0 patches
git remote add foobar https://github.com/f00b4r0/openwrt.git
git fetch foobar
git merge foobar/hAP-ac2-cleanup
Rebase local repo
git rebase
Update packages
./scripts/feeds update -a && ./scripts/feeds install -a
Configure the build (IPQ40XX / Mikrotik ac2)
make menuconfig
Then build
make -j5 (where 5 is CPU core (4) # +1)
Initial compilation takes like an hour but subsequent builds are fast, make sure to run each time you rebase (aka update local OpenWRT repo)
./scripts/feeds update -a && ./scripts/feeds install -a
make clean
PD: I use https://www.sordum.org/9480/defender-control-v1-6/ to disable WD and avoid slowdowns caused by the AV scanning
1 Like
It can be fixed, the file containing the LEDs GPIO data should be edited to turn on the LED not only with 1000 data rates.
Edit: the DTS file only controls the rear LEDs (user / power), I'm figuring this out
Edit 2: I've been checking the DTS file of other Mikrotik boards and they're all the same, only pwr and user are defined explicitly.
1 Like