Objective:
An embedded device that resembles a Raspberry Pi AARCH-64 architecture can be connected to Ethernet via a USB wireless card;
The device has a LAN interface, but in the previous system firmware upgrade, its internal three network interfaces can ping each other, but either interface cannot ping the external network interface, the problem is not resolved;
In addition, the lab also involves connecting to the external network permissions issues, so you want to be able to access Ethernet via a USB wireless network card;
But it also involves some questions:
1. Most of the current USB wireless network card, although said to be drive-free, but only for the winows system-free, and manufacturers may not provide Linux version of the driver, so either to find the chip manufacturers to see if there is a corresponding chip driver, Or on GitHub to see if there are predecessors have done the corresponding chip driver;
2. May x86-64, i386, or Raspberry Pi drivers have open source, but the current use of this unusual embedded chip can be modified slightly by the source code to achieve the compilation?
Resolution process
1. For the first question, the rtl823eu used by Tp-link tl-wn823n does have an open source drive on GitHub, but attention needs to be paid to the driver-adapted kernel
For example, many of the rtl8192eu-master.zip mentioned on the blog, the version of the 4.10 kernel compiled on the possibility of problems, I have not thought of a better version of the resolution;
Rtl8192eu-master/include/rtw_debug.h:187:19:error:void value not ignored as it ought to be
And then saw someone already repo the code and solved the problem:
Https://github.com/Mange/rtl8192eu-linux-driver
Download down after decompression, read the readme, you can not install DKMS, direct Make,make install, and then modprobe-a 8192EU that successfully loaded the driver, you can use Lsmod to see if the load is successful;
Reference:
Linux Wireless driver installation process (RTL8192EU driver installation, boot-up)
Http://blog.csdn.net/Strangevy/article/details/52877872?locationNum=6&fps=1
Therefore, the focus is to solve the second problem, since Raspberry Pi can be compiled successfully, then similar should also be possible.
"2017-11-19" Linux Fundamentals: Tp-link wn823n Wireless Card (RTL8192EU chip) x86-64 and AARCH64 driver installation