During the installation of Ubuntu, it detected my wireless adapter perfectly fine and was able to connect to it without any problems. However, after installation, it no longer detects the wireless adapter.
First I tried setting up etc/network/interfaces:
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet static
address 192.168.2.30
netmask 255.255.255.0
gateway 192.168.2.254
wpa-ssid IDHERE
wpa-psk PASSHERE
dns-nameservers 8.8.8.8 192.168.2.254
Then I tried the changes:
sudo ifdown wlan0 && sudo ifup -v wlan0
Which resulted in:
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
This didn't tell me much so I tried:
sudo /etc/init.d/networking restart
This resulted in an error telling me to run:
journalctl -xe
And here I got the errors:
Could not read interface wlan0 flags: no such device
WEXT: Could not set interface 'wlan0' UP
wlan0: Failed to initialize driver interface
Since a wired connection is not available to me (broken port), I started doing research on how to install the drivers from the original CD (which is on USB in my case). I found this question here:
How can I install and download drivers without internet?
However, the answer talks about Ubuntu 15.04. The named directories no longer exist and I couldn't find anything remotely simular to it on the disk. So after finding tons of Google answer talking about how to do it with a UI or a wired connection (which both aren't helpfull at all for me), I'm truely at a loss and ask you guys for some help.
wlan0
? Trysudo lshw -class network
. – Jos Nov 03 '16 at 13:01sudo lshw -class network | grep logical
. – Jos Nov 03 '16 at 13:07logical name: enp2s0
The wireless one:logical name: wlp3s0
– icecub Nov 03 '16 at 13:09wlan0
towlp3s0
in your configuration files and try again. – Jos Nov 03 '16 at 13:13