Good call on the VLAN tagging, @jayanta525. I haven't thought about that.
Currently I have a Ubiquiti ER-X running Openwrt 19.07. It works well, but the CPU can only handle around 200Mbps on SQM and my internet are 300Mbps + 120Mbps downstream, so I'm leaving a lot on the table.
I think I'll just configure the VLAN tagging on the Er-X to match the NanoPi then and let Nanopi do the routing and SQM.
There are a few sites that describe how to do this with Raspberry Pi; I have run Pi3 and Pi4 as my OpenWRT router over the past ~2 years, I have been using Nano Pi R2S with FriendlyWRT for the past 2 months. You can buy a GPS receiver with PPS output for about $13 USD (you may need an antenna and adapter cable - another ~$13).
speedtest-netperf is a package you can install via opkg and was written by some of the same gurus that brought SQM around to begin with. A word of caution, though... depending on your WAN speed, it's likely the speedtest-netperf.sh script should NOT be run directly on your NanoPi. At higher WAN speeds, the routing cycles on your NanoPi can be disrupted by the load that netperf & netserver add during the speed test and your results will not be accurate in that case.
Flent is another awesome tool with a little bit of a learning curve. But definitely worth learning. I am not an expert in it by any means, but there are others (@moeller0 and @dtaht, just to name a few) that frequent this forum who can interpret the heck out of Flent charts and teach us all a thing or two.
Netdata-chart-sqm is another "tool" (not so much a test) I posted about here. There is absolutely nothing wrong with hard-numbers in a CLI--in fact I prefer that in most cases. But there are also some times where being able to get a more real-time visual of what is going on in your SQM queues & tins is beneficial. This chart is for getting that sort of visual via Netdata. I personally have found that Netdata itself is lighter on resources than even Collectd, but YMMV.
Hope my responses didn't overwhelm for a "simple question"...
I'm newbie to Openwrt. I tried to install git to clone netdata-chart-sqm but the package is not available. Do i need to update the disfeeds.conf or customfeeds.conf ?
No worries! Short answer is that it's not yet a package. I would be willing to take it that direction at some point if people find it useful, but I haven't gotten much feedback to-date.
I don't want to take this thread too far off-topic, so feel free to fire any more netdata-chart-sqm follow-up questions my way over on this thread: SQM Reporting?
Hi @jayanta525, added this setting to /etc/config/network (please find the complete network under my comment.
I'm getting no internet connection on my WAN (i need for T-mobile in NL VLAN300).
How to change this to get an internetconnection?
My UTP cable (comes from the mediaconverter goes to WAN, then LAN cable to switch (also directly to laptop) gets no internet connection.
Is this board usable for T-Mobile in NL, with VLAN 300?
Settings for switch in C7: https://ibb.co/7WGz4xM
You are missing the ".300" in your wan on the R2S. You've defined this under "wanb" which is fine, if you've added "wanb" to your wan firewall zone. You may want to just delete wanb and add ".300" to wan.
Also, you have a "option gateway '192.168.1.1'" under your lan, I don't think you want that. Even if you have wanb in your wan firewall, wanb has a metric of 20 so all your traffic is going to go to 192.168.1.1.
@Tommiefr as @db215 mentioned, you've added additional sections in your /etc/config/netwok
I am using a customised build of OpenWrt and was having issues with tagged traffic on eth0 interface. I am working on it to see if it's consistent across build.
If tagged traffic on eth0 doesn't work, use eth1 (i.e. switch WAN and LAN ports)
If the above configuration still doesn't work for you, swap the LAN/WAN ports. i.e. use eth0 for LAN and eth1 for WAN, in that case, eth1.300 will be your wan ifname.
You might have to clone your Archer C7 WAN mac address (if that's what your ISP requires).
Next problem is to have the filesystem write protected.... I cannot upload (OVPN files) / change settings / do updates (see attachment)
In here I am trying to update the base files but getting an eror
The release builds might not have all the required packages, specially the kmod-packages. Although, those can be used as daily drivers, but those are not intended to serve that purpose.
on boot, ext4 filesystem is mounted as read-only, this seems to be an issue with openwrt/master, and it should be fixed by now.
You need to compile your own build, will all the packages you require from the source. You can follow the steps on GitHub or here to get started with CI/CD.
Thnx for the great support on this, @jayanta525 ! Really hope a 'stable' version will come out soon!
Impressive what you already achieved! I am a noob building the image but i will wait for a solution!
For me personally i do not need to install additional packages but configure them, so writable, will be very usefull
Will try @EnfermeraSexy solution tomorrow. Perhaphs this works! Simply install ext4 and in openwrt update it?
My R2S system is still running fine after a month. Now using the better black case for cooling, temps stay below 50°C always (45°C now). Built from jayanta repo with included USB wi-fi driver (wi-fi still works). I rebuilt after the v2.0 release, that image runs fine as well. I am able to edit and write files to the system.
Sure, but you should compile this with the packages you need. I didn't include OpenVPN, so it's probably not useful for you. If you can't compile, you may be better off using friendly until snapshot release.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for openvpn-mbedtls:
* kernel (= 5.4.50-1-bd4cc498bfaff5f8c49e51163dfb31a0)
* opkg_install_cmd: Cannot install package openvpn.