Wifi reconnecting every 5 minutes MEDIATEK Corp. MT7922 802.11ax

Hi, I have a problem with my WIFI. It’s losing connection every 5 minutes more or less.

journalctl --follow --unit NetworkManager
Mar 25 12:49:09 molenovo NetworkManager[1223]: [1711381749.5920] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 12:49:09 molenovo NetworkManager[1223]: [1711381749.5946] dhcp4 (wlp1s0): state changed new lease, address=192.168.50.60
Mar 25 12:49:09 molenovo NetworkManager[1223]: [1711381749.5948] policy: set ‘Emilia’ (wlp1s0) as default for IPv4 routing and DNS
Mar 25 12:49:09 molenovo NetworkManager[1223]: [1711381749.6065] device (wlp1s0): state change: ip-config → ip-check (reason ‘none’, sys-iface-state: ‘managed’)
Mar 25 12:49:09 molenovo NetworkManager[1223]: [1711381749.6305] device (wlp1s0): state change: ip-check → secondaries (reason ‘none’, sys-iface-state: ‘managed’)
Mar 25 12:49:09 molenovo NetworkManager[1223]: [1711381749.6307] device (wlp1s0): state change: secondaries → activated (reason ‘none’, sys-iface-state: ‘managed’)
Mar 25 12:49:09 molenovo NetworkManager[1223]: [1711381749.6309] manager: NetworkManager state is now CONNECTED_SITE
Mar 25 12:49:09 molenovo NetworkManager[1223]: [1711381749.6311] device (wlp1s0): Activation: successful, device activated.
Mar 25 12:49:10 molenovo NetworkManager[1223]: [1711381750.0320] manager: NetworkManager state is now CONNECTED_GLOBAL
Mar 25 12:49:11 molenovo NetworkManager[1223]: [1711381751.9252] agent-manager: agent[4a845ed52cb4ecb5,:1.90/org.gnome.Shell.NetworkAgent/1000]: agent registered
Mar 25 12:54:22 molenovo NetworkManager[1223]: [1711382062.7933] device (wlp1s0): supplicant interface state: completed → authenticating
Mar 25 12:54:22 molenovo NetworkManager[1223]: [1711382062.7934] device (p2p-dev-wlp1s0): supplicant management interface state: completed → authenticating
Mar 25 12:54:22 molenovo NetworkManager[1223]: [1711382062.8609] device (wlp1s0): supplicant interface state: authenticating → disconnected
Mar 25 12:54:22 molenovo NetworkManager[1223]: [1711382062.8609] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating → disconnected
Mar 25 12:54:22 molenovo NetworkManager[1223]: [1711382062.9662] device (wlp1s0): supplicant interface state: disconnected → scanning
Mar 25 12:54:22 molenovo NetworkManager[1223]: [1711382062.9662] device (p2p-dev-wlp1s0): supplicant management interface state: disconnected → scanning
Mar 25 12:54:23 molenovo NetworkManager[1223]: [1711382063.3389] device (wlp1s0): supplicant interface state: scanning → authenticating
Mar 25 12:54:23 molenovo NetworkManager[1223]: [1711382063.3389] device (p2p-dev-wlp1s0): supplicant management interface state: scanning → authenticating
Mar 25 12:54:23 molenovo NetworkManager[1223]: [1711382063.3421] device (wlp1s0): supplicant interface state: authenticating → associating
Mar 25 12:54:23 molenovo NetworkManager[1223]: [1711382063.3422] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating → associating
Mar 25 12:54:25 molenovo NetworkManager[1223]: [1711382065.4994] device (wlp1s0): supplicant interface state: associating → disconnected
Mar 25 12:54:25 molenovo NetworkManager[1223]: [1711382065.4994] device (p2p-dev-wlp1s0): supplicant management interface state: associating → disconnected
Mar 25 12:54:25 molenovo NetworkManager[1223]: [1711382065.5994] device (wlp1s0): supplicant interface state: disconnected → scanning
Mar 25 12:54:25 molenovo NetworkManager[1223]: [1711382065.5995] device (p2p-dev-wlp1s0): supplicant management interface state: disconnected → scanning
Mar 25 12:54:26 molenovo NetworkManager[1223]: [1711382066.8986] device (wlp1s0): supplicant interface state: scanning → authenticating
Mar 25 12:54:26 molenovo NetworkManager[1223]: [1711382066.8987] device (p2p-dev-wlp1s0): supplicant management interface state: scanning → authenticating
Mar 25 12:54:26 molenovo NetworkManager[1223]: [1711382066.9026] device (wlp1s0): supplicant interface state: authenticating → associating
Mar 25 12:54:26 molenovo NetworkManager[1223]: [1711382066.9026] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating → associating
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0135] device (wlp1s0): supplicant interface state: associating → 4way_handshake
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0135] device (p2p-dev-wlp1s0): supplicant management interface state: associating → 4way_handshake
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0781] device (wlp1s0): supplicant interface state: 4way_handshake → completed
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0782] device (wlp1s0): ip:dhcp4: restarting
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0782] dhcp4 (wlp1s0): canceled DHCP transaction
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0783] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0783] dhcp4 (wlp1s0): state changed no lease
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0783] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0784] device (p2p-dev-wlp1s0): supplicant management interface state: 4way_handshake → completed
Mar 25 12:54:27 molenovo NetworkManager[1223]: [1711382067.0844] dhcp4 (wlp1s0): state changed new lease, address=192.168.50.60
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.0480] device (wlp1s0): supplicant interface state: completed → authenticating
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.0481] device (p2p-dev-wlp1s0): supplicant management interface state: completed → authenticating
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.1161] device (wlp1s0): supplicant interface state: authenticating → associating
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.1162] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating → associating
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.2735] device (wlp1s0): supplicant interface state: associating → completed
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.2736] device (wlp1s0): ip:dhcp4: restarting
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.2736] dhcp4 (wlp1s0): canceled DHCP transaction
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.2736] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.2736] dhcp4 (wlp1s0): state changed no lease
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.2737] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.2738] device (p2p-dev-wlp1s0): supplicant management interface state: associating → completed
Mar 25 12:59:34 molenovo NetworkManager[1223]: [1711382374.2791] dhcp4 (wlp1s0): state changed new lease, address=192.168.50.60
Mar 25 13:04:44 molenovo NetworkManager[1223]: [1711382684.8572] device (wlp1s0): supplicant interface state: completed → authenticating
Mar 25 13:04:44 molenovo NetworkManager[1223]: [1711382684.8573] device (p2p-dev-wlp1s0): supplicant management interface state: completed → authenticating
Mar 25 13:04:44 molenovo NetworkManager[1223]: [1711382684.9200] device (wlp1s0): supplicant interface state: authenticating → disconnected
Mar 25 13:04:44 molenovo NetworkManager[1223]: [1711382684.9201] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating → disconnected
Mar 25 13:04:45 molenovo NetworkManager[1223]: [1711382685.0251] device (wlp1s0): supplicant interface state: disconnected → scanning
Mar 25 13:04:45 molenovo NetworkManager[1223]: [1711382685.0251] device (p2p-dev-wlp1s0): supplicant management interface state: disconnected → scanning
Mar 25 13:04:46 molenovo NetworkManager[1223]: [1711382686.9371] device (wlp1s0): supplicant interface state: scanning → authenticating
Mar 25 13:04:46 molenovo NetworkManager[1223]: [1711382686.9371] device (p2p-dev-wlp1s0): supplicant management interface state: scanning → authenticating
Mar 25 13:04:46 molenovo NetworkManager[1223]: [1711382686.9398] device (wlp1s0): supplicant interface state: authenticating → associating
Mar 25 13:04:46 molenovo NetworkManager[1223]: [1711382686.9399] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating → associating
Mar 25 13:04:49 molenovo NetworkManager[1223]: [1711382689.0562] device (wlp1s0): supplicant interface state: associating → disconnected
Mar 25 13:04:49 molenovo NetworkManager[1223]: [1711382689.0562] device (p2p-dev-wlp1s0): supplicant management interface state: associating → disconnected
Mar 25 13:04:49 molenovo NetworkManager[1223]: [1711382689.1561] device (wlp1s0): supplicant interface state: disconnected → scanning
Mar 25 13:04:49 molenovo NetworkManager[1223]: [1711382689.1561] device (p2p-dev-wlp1s0): supplicant management interface state: disconnected → scanning
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.3104] device (wlp1s0): supplicant interface state: scanning → authenticating
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.3105] device (p2p-dev-wlp1s0): supplicant management interface state: scanning → authenticating
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.3141] device (wlp1s0): supplicant interface state: authenticating → associating
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.3141] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating → associating
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4164] device (wlp1s0): supplicant interface state: associating → 4way_handshake
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4164] device (p2p-dev-wlp1s0): supplicant management interface state: associating → 4way_handshake
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4783] device (wlp1s0): supplicant interface state: 4way_handshake → completed
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4784] device (wlp1s0): ip:dhcp4: restarting
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4785] dhcp4 (wlp1s0): canceled DHCP transaction
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4785] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4785] dhcp4 (wlp1s0): state changed no lease
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4785] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4786] device (p2p-dev-wlp1s0): supplicant management interface state: 4way_handshake → completed
Mar 25 13:04:50 molenovo NetworkManager[1223]: [1711382690.4852] dhcp4 (wlp1s0): state changed new lease, address=192.168.50.60
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.6853] device (wlp1s0): supplicant interface state: completed → authenticating
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.6854] device (p2p-dev-wlp1s0): supplicant management interface state: completed → authenticating
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.7537] device (wlp1s0): supplicant interface state: authenticating → associating
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.7537] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating → associating
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.8735] device (wlp1s0): supplicant interface state: associating → 4way_handshake
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.8735] device (p2p-dev-wlp1s0): supplicant management interface state: associating → 4way_handshake
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.9083] device (wlp1s0): supplicant interface state: 4way_handshake → completed
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.9084] device (wlp1s0): ip:dhcp4: restarting
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.9085] dhcp4 (wlp1s0): canceled DHCP transaction
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.9085] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.9085] dhcp4 (wlp1s0): state changed no lease
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.9085] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.9086] device (p2p-dev-wlp1s0): supplicant management interface state: 4way_handshake → completed
Mar 25 13:09:55 molenovo NetworkManager[1223]: [1711382995.9130] dhcp4 (wlp1s0): state changed new lease, address=192.168.50.60

lspci
01:00.0 Network controller: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter

It’s a new installation, I changed my laptop from Dell XPS 15 9500 to this Lenovo z16 gen 2.

Any help will be appreciated.

Thanks in advance.

To see the full details of the network wifi adapter please run lspci -nnk | grep -iA4 network.

Once we have the details of the device we may be able to offer suggestions.

Please post text copied from your screen as preformatted text like this
```
paste text here
```
so it retains the on-screen formatting and remains easiest to read.

Result of the command “lspci -nnk | grep -iA4 network”

pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
01:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
   Subsystem: Lenovo Device [17aa:e0c7]
   Kernel driver in use: mt7921e
   Kernel modules: mt7921e
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)

And I add this “journalctl --follow --unit NetworkManager”

Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.3690] device (wlp1s0): supplicant interface state: associating -> 4way_handshake
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.3690] device (p2p-dev-wlp1s0): supplicant management interface state: associating -> 4way_handshake
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.4210] device (wlp1s0): supplicant interface state: 4way_handshake -> completed
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.4419] device (wlp1s0): ip:dhcp4: restarting
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.4420] dhcp4 (wlp1s0): canceled DHCP transaction
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.4420] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.4420] dhcp4 (wlp1s0): state changed no lease
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.4421] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.4423] device (p2p-dev-wlp1s0): supplicant management interface state: 4way_handshake -> completed
Mar 25 14:56:44 molez NetworkManager[1221]: <info>  [1711389404.4511] dhcp4 (wlp1s0): state changed new lease, address=192.168.50.60
Mar 25 15:01:49 molez NetworkManager[1221]: <info>  [1711389709.9571] device (wlp1s0): supplicant interface state: completed -> authenticating
Mar 25 15:01:49 molez NetworkManager[1221]: <info>  [1711389709.9573] device (p2p-dev-wlp1s0): supplicant management interface state: completed -> authenticating
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.0284] device (wlp1s0): supplicant interface state: authenticating -> associating
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.0284] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating -> associating
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.2009] device (wlp1s0): supplicant interface state: associating -> completed
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.2031] device (wlp1s0): ip:dhcp4: restarting
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.2031] dhcp4 (wlp1s0): canceled DHCP transaction
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.2031] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.2031] dhcp4 (wlp1s0): state changed no lease
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.2032] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.2033] device (p2p-dev-wlp1s0): supplicant management interface state: associating -> completed
Mar 25 15:01:50 molez NetworkManager[1221]: <info>  [1711389710.2055] dhcp4 (wlp1s0): state changed new lease, address=192.168.50.60

PS: it didn’t fail with Ubuntu 24.04 beta, also tried with Fedora rawhide 40(also fails). So I think it’s not about Kernel Version.

Thanks

That clearly is a Mediatek adapter with chipset [14c3:0616:17aa:e0c7].
A google search for mediatek driver chipset 14c3:0616:17aa: "e0c7" gives only 3 results so that appears to not be a very common chipset and the links that work are only to the techinfodepot site (2 of 3).

mmm… so my only choice at the moment is to stay with ubuntu? does ubuntu have another drivers?

Ubuntu drivers may be different, ubuntu kernels are definitely different, firmware used on ubuntu may be different. It is impossible to tell what all is different with out the opportunity to test both OSes side by side on the same hardware.

Is there any chance that I can help to resolve the issue? I can install ubuntu or arch(no problem) and Fedora in multiboot mode, in the laptop with problems and give remote access to support team. So they can troubleshoot the issue. I really love Fedora and I don’t want to switch to another distro.

We are not a “support team”
This forum is a group of volunteers who give their time to answer questions and assist users.

Since we are not employees of fedora I would suggest you be very cautious about allowing total strangers direct access to your machine. Most are honest but unfortunately there are a few who may take advantage of such an opportunity and may cause problems that you may not be aware of.

I am not suggesting that you forego the assist but would rather suggest you contact someone local who also uses fedora and ask for help if you are unable to solve the issue about internet connection.

The suggestion to use a phone to connect to the internet is one valid way to handle that.
Having a wifi dongle would be another way.
Connecting using a wired ethernet connection is yet a third method. (ethernet dongles are also available).

Once you can connect to the internet the rest is very easy to do. Fix that problem first (even if temporary) since having a wifi that disconnects every 5 minutes or so would also make remote management impossible.

New kernels may require updates to device firmware and BIOS. ThinkPad Z13 Gen 2 / ThinkPad Z16 Gen 2 User Guide mentions Fedora, so I would expect Lenovo to contribute to a fix, but such things take time.

The mt7921e comes from linux.org, so I expect linux will eventually get a working driver and you should consider a temporary workaround such as a USB wifi dongle. A bugzilla report may help move the process forward.

Hello, I found that using the liveCD doesn’t happens.
I suspect mac address randomization can have something related to the problem.