Ubuntu Server 16.10 - WiFi Driver installation without internet

icecub

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.

Jos

Earlier on, network interfaces were assigned names in an inconsistent way. If you had one interface called eth0, and added another, the first one might be called eth1 all of a sudden. What was needed was a way to give names to network interfaces that didn't depend on other interfaces being present, but depended only on the hardware connection.

This was provided with some version of systemd that was released a few years back. It was called "Predictable Network Interfaces Names" (although "Persistent" would have been a better qualification as the names are not all that easy to predict). An interface will get its name based on BIOS information, and the name won't change until you take out the interface and e.g. put it in a different hardware slot.

Your installation, at this point, suffers from Predictable Interface Names. Your wireless card had been called wlan0 for years, but now it suddenly has another name. How can you tell? Do

sudo lshw -class network

This will show a paragraph starting with "*-network" and giving all kinds of details about your wireless card (and another paragraph for your wired interface). You want to look at the "logical name". In your case, it has changed to wlp3s0.

Change the name of the interface in your configuration files from wlan0 to wlp3s0, and you're done.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Installation of wifi driver stops

From Dev

Installing WiFi driver on machine with no internet

From Dev

wifi driver for Debian 10

From Dev

Sharing internet without wifi

From Dev

Recover windows 10 installation without removing ubuntu

From Dev

Internet not working Ubuntu 16

From Dev

how to manage wifi driver in Ubuntu

From Dev

Ubuntu Network Driver Crashing on Wifi

From Dev

how to manage wifi driver in Ubuntu

From Dev

Problem during wifi driver(rtl8723de) installation in ubuntu 18.04

From Dev

connected to wifi but no internet - ubuntu 18.04

From Dev

I can connect to my wifi, but I can't connect to internet in post-installation of Ubuntu 16.04

From Dev

How to enable WiFi on Ubuntu server 18.04 without existing connection

From Dev

Ubuntu server as an internet server

From Dev

Fedora Realtek USB WiFi Driver Installation

From Dev

ubuntu server: wifi

From Dev

ubuntu server: wifi

From Dev

Ubuntu Server WIFI Configuration

From Dev

Ubuntu Server Wifi and Ethernet

From Dev

how to Dual Boot Windows 10 and Windows Server WITHOUT INSTALLATION

From Dev

Ubuntu Server 20.04 LTS no internet using static IP for ethernet and dynamic for WIFI

From Dev

Connecting Ubuntu Server to internet

From Dev

Disable and Enable Internet without disconnecting wifi

From Dev

Create WiFi hotspot without internet from laptop

From Dev

Connecting wifi without internet not recognised with NetworkReachabilityManager or Reachability

From Dev

sagemath installation fails on ubuntu 16

From Dev

How to install Syntek Driver Ubuntu 14.10 (WiFi)

From Dev

WiFi driver from Windows 7 to Ubuntu 16.4

From Dev

Ubuntu 15.10 stopped using WiFi driver

Related Related

HotTag

Archive