Puncte:0

Unable to bring intel network interface up

drapel fr

Ubuntu server doesn't want to enable my wifi network interface: wlp0s12f0 on my laptop (Lenovo 300e 2nd gen): State DOWN

I tried ifup, iwconfig and ifconfig. I wanted to connect my laptop to wifi, but It doesn't seem to work, also when I try to scan for ESSID's (wifi networks) there are no results, Im very new to linux and this is my biggest problem yet.

I have acces to the internet via ethernet, but I want to use wifi. I also tried downloading the Intel drivers (Intel® Wireless-AC 9560) https://www.intel.com/content/www/us/en/support/articles/000005511/wireless.html and followed the instructions in the README file, but it doesn't seem to work. maybe I installed the firmware incorrectly?

Btw rfkill shows that everything is unblocked, for either hard and soft block.

I can’t even bring the interface up. And when I scan for nearby networks with iwlist the result is: ‘’’ interface doesn’t support scanning’’’. While I’ve used WiFi on that laptop before when I had windows on it (and it worked perfectly).

Any help would be appreciated! I'll try to follow the explanation as best as I can.

RESULTS OF COMMANDS:

results of inxi -F

System:    Host: tinisan Kernel: 5.4.0-92-generic x86_64 bits: 64 Console: tty 0 
           Distro: Ubuntu 20.04.3 LTS (Focal Fossa) 
Machine:   Type: Convertible System: LENOVO product: 81M9 v: Lenovo 300e 2nd Gen 
           serial: <superuser/root required> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0K13476 WIN serial: <superuser/root required> 
           UEFI: LENOVO v: 9ZCN52WW date: 01/14/2021 
Battery:   ID-1: BAT1 charge: 26.8 Wh condition: 38.8/42.0 Wh (92%) 
CPU:       Topology: Quad Core model: Intel Celeron N4100 bits: 64 type: MCP L2 cache: 4096 KiB 
           Speed: 1274 MHz min/max: 800/2400 MHz Core speeds (MHz): 1: 1359 2: 1492 3: 1115 
           4: 1437 
Graphics:  Device-1: Intel UHD Graphics 605 driver: i915 v: kernel 
           Display: server: No display server data found. Headless machine? tty: 99x31 
           Message: Advanced graphics data unavailable in console. Try -G --display 
Audio:     Device-1: Intel driver: snd_hda_intel 
           Sound Server: ALSA v: k5.4.0-92-generic 
Network:   Device-1: Intel driver: iwlwifi 
           IF: wlp0s12f0 state: down mac: dc:fb:48:86:58:ee 
           Device-2: TP-Link USB 10/100/1000 LAN type: USB driver: r8152 
           IF: enx60a4b7714185 state: up speed: 1000 Mbps duplex: full mac: 60:a4:b7:71:41:85 
Drives:    Local Storage: total: 119.24 GiB used: 8.32 GiB (7.0%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520 SDAPMUW-128G-1101 
           size: 119.24 GiB 
Partition: ID-1: / size: 116.38 GiB used: 8.31 GiB (7.1%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 24.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 146 Uptime: 15m Memory: 3.65 GiB used: 349.3 MiB (9.3%) Init: systemd 
           runlevel: 5 Shell: bash inxi: 3.0.38

results of sudo modprobe iwlwifi && sudo dmesg | grep -e iwl -e wlp:

[    8.048173] iwlwifi 0000:00:0c.0: loaded firmware version 46.4d093a30.0 op_mode iwlmvm
[    8.108533] iwlwifi 0000:00:0c.0: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318
[    8.163397] iwlwifi 0000:00:0c.0: base HW address: dc:fb:48:86:58:ee
[    8.228987] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    8.354235] iwlwifi 0000:00:0c.0 wlp0s12f0: renamed from wlan0

results of ls /etc/netplan: 00-installer-config-wifi.yaml 00-installer-config.yaml

results of cat /etc/netplan/*.yaml

# This is the network config written by 'subiquity'
network:
  version: 2
  wifis: {}
# This is the network config written by 'subiquity'
network:
  ethernets:
    enx60a4b7714185:
      dhcp4: true
  version: 2

Sadly that did not work. Filled everything in, changed the name and password, but still state DOWN

2: wlp0s12f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether dc:fb:48:86:58:ee brd ff:ff:ff:ff:ff:ff 

resultst of sudo dmesg | grep wlp after applying newly generated netplan config.

[34755.190465] wlp0s12f0: authenticate with b4:fb:e4:78:75:cd
[34755.201294] wlp0s12f0: send auth to b4:fb:e4:78:75:cd (try 1/3)
[34755.279308] wlp0s12f0: authenticated
[34755.284008] wlp0s12f0: associate with b4:fb:e4:78:75:cd (try 1/3)
[34755.385325] wlp0s12f0: associate with b4:fb:e4:78:75:cd (try 2/3)
[34755.388226] wlp0s12f0: RX AssocResp from b4:fb:e4:78:75:cd (capab=0x411 status=0 aid=4)
[34755.391786] wlp0s12f0: associated
[34807.753881] wlp0s12f0: Connection to AP b4:fb:e4:78:75:cd lost
[38541.222178] wlp0s12f0: authenticate with b4:fb:e4:78:75:cd
[38541.233213] wlp0s12f0: send auth to b4:fb:e4:78:75:cd (try 1/3)
[38541.275182] wlp0s12f0: authenticated
[38541.279868] wlp0s12f0: associate with b4:fb:e4:78:75:cd (try 1/3)
[38541.286145] wlp0s12f0: RX AssocResp from b4:fb:e4:78:75:cd (capab=0x411 status=0 aid=4)
[38541.291834] wlp0s12f0: associated
[38543.403938] wlp0s12f0: Connection to AP b4:fb:e4:78:75:cd lost
[42456.806210] wlp0s12f0: authenticate with b4:fb:e4:78:75:cd
[42456.816128] wlp0s12f0: send auth to b4:fb:e4:78:75:cd (try 1/3)
[42456.870032] wlp0s12f0: authenticated
[42456.873037] wlp0s12f0: associate with b4:fb:e4:78:75:cd (try 1/3)
[42456.879343] wlp0s12f0: RX AssocResp from b4:fb:e4:78:75:cd (capab=0x411 status=0 aid=4)
[42456.884181] wlp0s12f0: associated
[42475.575404] wlp0s12f0: Connection to AP b4:fb:e4:78:75:cd lost
[44469.947395] wlp0s12f0: authenticate with b4:fb:e4:78:75:cd
[44469.956658] wlp0s12f0: send auth to b4:fb:e4:78:75:cd (try 1/3)
[44469.999258] wlp0s12f0: authenticated
[44470.001978] wlp0s12f0: associate with b4:fb:e4:78:75:cd (try 1/3)
[44470.102939] wlp0s12f0: associate with b4:fb:e4:78:75:cd (try 2/3)
[44470.204198] wlp0s12f0: associate with b4:fb:e4:78:75:cd (try 3/3)
[44470.345939] wlp0s12f0: association with b4:fb:e4:78:75:cd timed out
[72354.380233] wlp0s12f0: authenticate with b4:fb:e4:78:75:cd
[72354.390174] wlp0s12f0: send auth to b4:fb:e4:78:75:cd (try 1/3)
[72354.529904] wlp0s12f0: send auth to b4:fb:e4:78:75:cd (try 2/3)
[72354.728173] wlp0s12f0: send auth to b4:fb:e4:78:75:cd (try 3/3)
[72354.830578] wlp0s12f0: authentication with b4:fb:e4:78:75:cd timed out

Edit: Bump.

I think the problem has to do with non-functioning drivers or firmware, But how do I know what software/firmware I need? Again, Any help would be appreciated!

chili555 avatar
drapel cn
Vă rugăm să vă editați întrebarea pentru a afișa rezultatul comenzilor terminalului: `sudo modprobe iwlwifi && sudo dmesg | grep -e iwl -e wlp` Bun venit la Ask Ubuntu.
chili555 avatar
drapel cn
Perfect până acum. Acum să vedem: `ls /etc/netplan` și de asemenea: `cat /etc/netplan/*.yaml`
chili555 avatar
drapel cn
După ce ați făcut modificările netplan, reporniți și apoi afișați-mi: `sudo dmesg | grep wlp`
Puncte:1
drapel cn

Vă sugerez să editați fișierele netplan:

sudo nano /etc/netplan/00-installer-config-wifi.yaml 

Modificați fișierul la:

reţea:
  versiunea: 2
  redator: în rețea
  wifi-uri:
    wlp0s12f0:
      dhcp4: da
      puncte de acces:    
        "********":
          parola: "********"
    

Bineînțeles, menționați-vă detaliile exacte aici. Netplan este strict în ceea ce privește indentarea, spațierea etc., așa că verificați cu atenție de două ori.

Salvați (Ctrl+o) și ieșiți (Ctrl+x) din editorul de text nano.

Urmărește cu:

sudo netplan generate
se aplică sudo netplan  

Wireless-ul ar trebui să funcționeze acum, totuși, ar putea fi nevoie de o repornire.

Dacă doriți o adresă IP statică, vă rugăm să vedeți șablonul:

cat /usr/share/doc/netplan/examples/static.yaml

De asemenea, vă sugerez să modificați celălalt fișier pentru a citi:

reţea:
  ethernet:
    enx60a4b7714185:
      dhcp4: adevărat
      opțional: adevărat
  versiunea: 2 
  

Presupun că, odată ce wireless-ul funcționează, doar rar vei folosi ethernet-ul. Interfețele care nu sunt necesare pentru pornire sau care nu trebuie așteptate în timpul pornirii ar trebui să aibă opțional: adevărat cheie adăugată acestora. Acest lucru va preveni întârzierile mari la pornire pentru interfețele care ar putea să nu apară. (1)

Din nou, salvați, ieșiți și:

sudo netplan generate
se aplică sudo netplan 

(1) https://netplan.io/faq/

EDITAȚI | ×: Observăm acest lucru în mod repetat în jurnalul dvs.:

Conexiunea la AP b4:fb:e4:78:75:cd s-a pierdut

Vă sugerez să abordați setările din router folosind sugestiile mele aici: wifi-ul nu mai funcționează după un timp în timp ce este conectat în ubuntu 18.04

Postează un răspuns

Majoritatea oamenilor nu înțeleg că a pune multe întrebări deblochează învățarea și îmbunătățește legătura interpersonală. În studiile lui Alison, de exemplu, deși oamenii își puteau aminti cu exactitate câte întrebări au fost puse în conversațiile lor, ei nu au intuit legătura dintre întrebări și apreciere. În patru studii, în care participanții au fost implicați în conversații ei înșiși sau au citit transcrieri ale conversațiilor altora, oamenii au avut tendința să nu realizeze că întrebarea ar influența – sau ar fi influențat – nivelul de prietenie dintre conversatori.