18.06 has been EOL and unsupported for many years already. It's not safe to use because it has many known vulnerabilities that will never be patched.
It is best to get new hardware.
But, if you insist on building such an old version, you'll need to make sure you're working with an OS that is about that age... so Ubuntu 18.04 would theoretically be able to build that code.
No, absolutely not. You need newer hardware to run 23.05. You would need to figure out 18.06 on your own. And I have no idea why the 18.06 downloads don’t seem to include your device.
still outdated, but at least less outdated, 21.02.3 community builds: https://ashus.ashus.net/thread-192.html, the link to the actual images is in the top post.
Figured it out. It is under the ar71xx tiny target. Even in the days of 18.06, there were struggles to fit the firmware into the footprint of that device!
You won't get a supported/ semi-modern version of OpenWrt down to ~3.8 MB flash - nor will it even finish booting successfully (due to a severe lack of RAM).
If you have to ask, it's game over at this point - has been for over half a decade already.
But even if you do know what you're doing and are up to a challenge (combined with quite some experience or a very steep learning curve, with lots of experimenting and debricking/ serial console and soldering iron at hand), it's still hard and way beyond reasonable. I would strongly suggest to check your local second hand markets for cheap offers of supported devices instead, you may be in for a surprise what you can find for 5-15 bucks delivered.
unfixed/ known security issues
EOLed versions must not be used anymore/ anywhere/ for any purpose
there are plenty serious security issues to choose from, including multiple attacks on the wireless stack (mac80211, drivers and hostapd)
exploits are publicly available
things that have been fixed in contemporary versions
the device is below minimum system requirements (4/32) and is explicitly no longer supported
it's EOL, whatever issues arise -including and beyond the known security issues- are yours to find out and fix, there won't be any fixes/ updates to lede-17.01 (or anything below openwrt-23.05) anymore
space was already tight in 2017, the end was already in sight for these devices since ~2015-2016 and announced accordingly
17.01 is materially different from the supported versions of 23.05.x/ 24.10.x/ main, quite a few aspects don't apply (e.g. ar71xx vs ath79 is a major breaking change), so don't expect our advice, this is distant history (8 years and 5 major release branches) and a lot of things have changed in the mean time
Really, it's that simple. It's strongly recommended against to use EOLed versions, worse the older it gets. If you want to disregard these strong concerns, you're obviously free to do so -at your own responsibility - but you get to keep both pieces, don't expect support or even sympathy for this endeavour. Security is a moving target (as are basic requirements and expectations), you need to keep up or remain vulnerable. For networking devices on the front lines of your network this is not an option.
These requests are coming up at least 3-4 times a week for 4/16, 4/32 and 8/32 devices, regularly more often than that, so that wears down our sympathy after 5-8 years of regurgitating this over and over again.