Been an Ubuntu user for years plus Debian via laptop and Raspberry Pi.
I've installed open-wrt on a R-Pi and working fine but I've just bought a tp-link AC600 adapter hoping to get better range on my Pi BUT it needs a driver installation.
Fully familiar with ssh on a Debian system but bit unsure how to GIT Clone and install on the open-wrt system.
Any suggestions what to read up on? I am guessing the open-wrt command line is similar but the beginners guide doesn't mention (Unless I missed it) installation of utilities.
I did somehow manage to install nano a couple of weeks back but forgotten how I did it. This reference to W I must admit to being confused by. Obviously openwrt doesn't have a BASH history for me to refer back to.
The OpenWrt build system runs on an x86-64 and cross compiles. Then the binaries are copied to the target system. Compiling directly on the target system is not supported.
Got to admit that although I am pretty familiar with APT, PACMAN and DNF compiling is a mystery to me. Are you saying my drivers for the TP-Link adapter will need to be compiled on a conventional system and then transferred to the openwrt on my R-Pi?
Reading generic material about Linux kernel cross-compiling is unnecessary and fruitless, as OpenWrt has a highly tailored compiling environment/toolchain, which you NEED to use.
(note that compiling unsupported kernel drivers for wifi is not trivial. I doubt that you will succeeed if the driver for the adapter is not yet supported)
I bought this adapter as I read that TP-Link devices were well supported by Linux, I inadvertently took that to mean it would be recognised. So far easy enough with Ubuntu and Mate, each on different computers.
Sure, you are talking about desktop distros with gigabytes of various drivers, but just for x86_64. They have the possibility of storing/using several concurrent versions of a library etc. And a single CPU architecture to compile for.
OpenWrt typically needs to fit everything into something like 6-10 megabytes fo flash space, and does that separately for 30+ mobile/embedded processor architectures. That means a highly tailored toolchain for cross-compiling stuff differently for each CPU variant.
Now you need a driver for Raspberry Pi (of which various versions use slightly different CPUs), compiled to match the exact kernel in the OpenWrt revision you are using, plus the exact C library version used in kernel and user-space compilation. Totally different than the x86_64 with no limit on storage space. Sadly.
It is all a learning curve. The openwrt for the R-Pi recognises nicely the Pi onboard wifi and I used the setup as a project to make a wifi router. Worked nicely but the Pi WiFi module has obviously limited range.
The TP-Link adapter is merely an experimental project to see if and how much better range I end up getting.
wait, what you really wanted is a driver for tplink ac600 - It looks like it use rtl8814au
or mt7610u (tplink has quite a revisions of ac600 usb dongle.)
for rtl8814au this repository will do the job?, and for mt7610u kmod-mt76x0u from opkg will be enough
Where did you see these references? I can't see the reference to rtl8814au and can't find it in the Luci software database. Installed kmod-mt76x0u via Luci but adapter still not working but, as mentioned, shows up with lsusb.