I bought a pretty new laptop, with Windows 10 installed when I bought it. On Windows everything was working fine, yet was not happy about Windows and I decided to install Linux Mint 18 (xfce).Mint on my laptop is working fine, except for the built-in WiFi adapter. I tried quite some things to fix it, but with no succes.The adapter is connected to wifi and for a few minutes it works fine. After that, the adapter can't find a DNS anymore. Pinging stops working and I basically have no internet.Recently, I discovered that the problem can be (temporary) be solved by using:~ $ sudo ifdown wlp2s0 && sudo ifup wlp2s0The command gives this error:Unkown interface wlp2s0After that, the adapter works fine for a few minutes. It seemed to me that I was supposed to manually configure the network interface.So I added the following to the /etc/network/interfaces file:auto wlp2s0iface wlp2s0 inet staticaddress <IP here>netmask 255.255.255.0gateway <IP here>dns-nameservers 8.8.8.8Now I get these errors:ifdown: interface wlp2s0 not configuredRTNETLINK answers: File existsFailed to bring up wlp2s0.Again, the adapter works fine for a few minutes.But when I reboot my laptop, the adapter is not being recognized anymore.Is there any way to fix the problem permanently?Laptop: Toshiba Sattelite C55D-CNetwork adapter: RTL8821AE
Network interface on Linux Mint 18 not working properly (RTL8821AE)
linux mint;network interface