I am struggling to create an 4MB flash image that has GRE. I have two TP LINK WA801ND spare and want to put them to use by using them as a Point-to-Point bridge carrying VLANs over a wireless connection. A couple nice things about these devices is they are PoE capable and they have detachable antennas which I intend to replace with directional antennas.
Under make menuconfig I deselect everything I don't want such as the firewall, odhcp, dnsmasq, etc but I still can't get it to create the <4MB flash image. The file just doesn't exist at the end of the compile.
Just wondering how I can compile the <4MB image file. I would like basic Luci installed if possible and don't need anything else except the basics and GRE.
Using the stock image I tried to install GRE using opkg but it complained not enough space remaining. I thought I would try to compile my own image by selecting stock tl-wa801nd-v3 image and then using menuconfig to deselect everything I don't need such as dhcp, dns, fw etc and add in GRE. Apparently still won't fit. I can't believe GRE takes up more room than the modules I had disabled.
If it's just for internal use as a p-p link then, yes, it isn't strictly secure but if it's behind a firewall then I'd be comfortable using an older version of openwrt.
I have a few wr701 with 19.07 on them with luci, gre and vxlan. They are cut down builds as per the wiki with no firewall, ipv6, ppp or opkg code. ymmv
this is my intention. They are only acting as wireless bridges. But I think support for older versions is not forthcoming. I'll try and work it out on my own. I suspect lots of trial and error.
fwiw I use image builder and this is my build script for wr703 4m, I think the wr801 is similar
I use vxlan but my previous build was using gre, just delete the vxlan reference and add luci-app-gre to the include list.
yes.
Note you have to do a cli config for the 19.07.9 image to configure vxlan.
gre works as well. There is a thread regarding setup using gre for trunking over wifi and i've posted another regarding vxlan setup.
the gre package is slightly smaller than the vxlan packages but nothing major. I used vxlan mainly to try it out and see, no real reason why I didn't use gre.
Your script worked and I was able to build for 18.9.06 but not 19.07.9 the router refusing to flash the 19.x firmware. No biggie. 18.x is exactly what anyway and there was even enough room to have vxlan and GRE both installed so I can play around with both tunneling protocols.
It's a while since I flashed the router but I see to remember that I had to do it from the cli, run some commands to flush some buffers then download the firmware via scp or wget. It is pushing the device limits. https://openwrt.org/docs/guide-user/installation/sysupgrade.cli
can I confirm with you that I need to setup the tunnel between the 2 wireless bridging devices or between the remote wireless bridging device on the gateway router ?
had a chance to try to config VLANs over WIFI. Everything works well. Other posters tips on keeping interface names to 4 characters or less and boosting MTU settings helped with overcoming early issues. Below is my config for future reference and if anyone else might be interested in doing the same. Both devices are TP Link WR801nd running 18.06 and have detachable antennas which allows me to replace them with directional antennas. WDS is configured and runs flawlessly on these devices and connects 2 otherwise disparate networks e.g:
the first set shows packets going over wifi through the tunnel. the second packets going over the same wifi connection outside the tunnel as they would normally do if there was no tunnel setup. It shows that going through the tunnel there is an overhead cost of about 20% i.e. 47.2 Mb/s going through the tunnel compared to 62.3 Mb/s outside the tunnel