V
V
Vadim Timoshenko2018-11-29 19:59:20
WiFi
Vadim Timoshenko, 2018-11-29 19:59:20

Wi-Fi adapter for Ubuntu Server 18.04 how to set up?

I want to get rid of the LAN wire. I bought a Wi-Fi adapter for PCI-Express for an office test server. Inserted into the system. But how to use this adapter now?
Do I need to install drivers first? Or is it already working? If you install, then how from the disk? Or from the web? How then to connect to a working point?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vadim Timoshenko, 2018-11-30
@PbI6A_KuT

Since everyone here is such a bore, I found the solution myself:
With the help of iwconfig, we look at the name of our network card. Mine is wlp3s0.

[email protected]:~# iwconfig
wlp3s0    IEEE 802.11  ESSID:"xxx.ru"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 40:4A:03:78:19:E4
          Bit Rate=150 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=68/70  Signal level=-42 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:9   Missed beacon:0

enp0s7    no wireless extensions.

lo        no wireless extensions.

Most likely the router uses WPA / WPA2 encryption. Therefore, download and install the wpasupplicant package (sudo apt-get install wpasupplicant).
We create a config file using touch /etc/wpa_supplicant.conf and enter the name of your mesh and its password there:
network={
    ssid="ssid_name"
    psk="password"
}

After we write the path to your config for the package that was recently installed: sudo wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf -Dwext .
wext - in the query above, this is the driver selection. Type wpa_supplicant -h and see the driver options:
drivers:
  nl80211 = Linux nl80211/cfg80211
  wext = Linux wireless extensions (generic)
  wired = Wired Ethernet driver
  none = no driver (RADIUS server/WPS ER)

Substitute different driver options in sudo wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf -D until your actions are confirmed as successful.
After we write sudo dhclient wlp3s0 , where wlp3s0 is the name of your device.
Next, go to the admin panel of the router and see if there is a connection. I got it and I successfully got rid of the cable to my piece of iron.
The original manual is here: https://askubuntu.com/questions/138472/how-do-i-co...

T
TyzhSysAdmin, 2018-11-29
@POS_troi

The answer to your question lies in the Ubuntu documentation.
The answer to your question lies on the ubuntu forum (a couple of hundred topics).
The answer to your question is on the toaster.
If you already got into Linux and indeed into the administration, then you will learn how to look for information, especially on such banal topics.

D
Diman89, 2018-11-29
@Diman89

you’re wrong, Uncle Fedor, you start, you
must first ask yourself something like that and then buy, but you do the opposite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question