Jun's Blog

Output, activities, memo and etc.

Fedora 35: Enable WiFi

I replaced wifi antenna cables on my Framework Laptopo as I broke those. I followed the Antena Replacement Guide. Fortunately it was succeeded. Now the Wifi works on Fedora 35 on my Framework Laptop.

After replacing the Wifi cables, the Wifi was not enabled. So, here is the log to enable Wifi.

I referred this page: Howto enable WIFI? - Ask Fedora.

$ nmcli connection show 
NAME                UUID                                  TYPE      DEVICE        
Wired connection 1  f8b749d8-7a54-3732-9dfe-1cb283c3b30c  ethernet  enp0s20f0u1u2 
TP-Link_9DC4        fa11c9aa-6fd0-4767-8622-b74bb47cd3ad  wifi      --   

Masking some addresses for my privacy.

$ nmcli device show
GENERAL.DEVICE:                         enp0s20f0u1u2
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         XX:XX:XX:XX:XX:XX 
GENERAL.MTU:                            1500

GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     Wired connection 1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         192.168.1.100/24
IP4.GATEWAY:                            192.168.1.1
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 100
IP4.ROUTE[2]:                           dst = 192.168.1.0/24, nh = 0.0.0.0, mt = 100
IP4.DNS[1]:                             192.168.1.1
IP6.ADDRESS[1]:                         NNNN::NNNN:NNNN:NNNN:NNNN/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 100

GENERAL.DEVICE:                         wlp170s0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         XX:XX:XX:XX:XX:XX
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable) 
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

GENERAL.DEVICE:                         lo
GENERAL.TYPE:                           loopback
GENERAL.HWADDR:                         00:00:00:00:00:00
GENERAL.MTU:                            65536
GENERAL.STATE:                          10 (unmanaged)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
IP4.ADDRESS[1]:                         127.0.0.1/8
IP4.GATEWAY:                            --
IP6.ADDRESS[1]:                         ::1/128
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = ::1/128, nh = ::, mt = 256

The following commands show the Wifi is disabled at software level.

$ rfkill list all
0: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no

$ nmcli radio all
WIFI-HW  WIFI      WWAN-HW  WWAN    
enabled  disabled  enabled  enabled

I ran the following commands to enable it.

$ rfkill unblock 1


$ rfkill list all
0: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
$ nmcli radio wifi
disabled

$ nmcli radio wifi on

$ nmcli radio wifi
enabled

$ nmcli radio all
WIFI-HW  WIFI     WWAN-HW  WWAN    
enabled  enabled  enabled  enabled