Jump to content

Kubuntu keep log me off my wifi

Hi,

Before starting I want to tell you that I'm french so excuse my mistakes ^^

 

Since maybe 5 month, kubuntu log me off my wifi at random times. Sometimes every day, sometimes after 2-3 days. By log off I mean just disconnecting me and putting a logging prompt. If I ignore this prompt, i can simply click connect without reentering my password and the cicle continues (the same appen if i reenter my password).

Since I'm a linux noob I'm realy confused with this and google isn't realy helping so if any of you have the solution for this it would be amazing.

I realy need a stable connection since I use this pc as both a game server and a NAS, you can easily see why getting disconnected at random isn't realy practical here ^^'.

Link to comment
Share on other sites

Link to post
Share on other sites

What's your WiFi module?  If you're on a laptop, what model is it?

 

Can you run this command on the terminal, and paste the output here:

lshw --short

One other thing I want you to check is if you can open your KWallet.

Can you tell me its name and if it's currently open?

image.png.e8727039768ae4da143ab9c08714356c.png

 

Also, try to reset your WiFi ("forget" the connection, then set it up again.)

Desktop

Y4M1-II: AMD Ryzen 9-5900X | Asrock RX 6900XT Phantom Gaming D | Gigabyte RTX 4060 low profile | 64GB G.Skill Ripjaws V | 2TB Samsung 980 Pro + 4TB 870 EVO + 4TB SanDisk Ultra 3D + 8TB WD Black + 4TB WD Black HDD | Lian Li O11 Dynamic XL-X | Antec ST1000 1000W 80+ Titanium | MSI Optix MAG342CQR | BenQ EW3270U | Kubuntu

-------------------------------

Mobile devices

Kuroneko: Lenovo ThinkPad X1 Yoga 4th (Intel i7-10510U | 16GB RAM | 1TB SSD)

Link to comment
Share on other sites

Link to post
Share on other sites

You just need to enable the wifi interface from the command line. Then you can use it from the graphical interface of your desktop environment.

 

Type the following command to see the name of the wi-fi interface installed on your computer:

$ sudo ip link show

By default, the kernel attributes generic names such a eth0 (for wired Ethernet) or wlan0 (for WiFi) to the network interfaces.

 

Then you can activate the wifi interface with the following command:

$ sudo ip link set wlan0 up

* Obviously you have to replace wlan0 with the name of your wi-fi interface.

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, FUIT1985 said:

You just need to enable the wifi interface from the command line. Then you can use it from the graphical interface of your desktop environment.

Wouldn't that imply that his WiFi was down?

 

The issue is that he keeps getting kicked out.

Desktop

Y4M1-II: AMD Ryzen 9-5900X | Asrock RX 6900XT Phantom Gaming D | Gigabyte RTX 4060 low profile | 64GB G.Skill Ripjaws V | 2TB Samsung 980 Pro + 4TB 870 EVO + 4TB SanDisk Ultra 3D + 8TB WD Black + 4TB WD Black HDD | Lian Li O11 Dynamic XL-X | Antec ST1000 1000W 80+ Titanium | MSI Optix MAG342CQR | BenQ EW3270U | Kubuntu

-------------------------------

Mobile devices

Kuroneko: Lenovo ThinkPad X1 Yoga 4th (Intel i7-10510U | 16GB RAM | 1TB SSD)

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, FUIT1985 said:

You just need to enable the wifi interface from the command line. Then you can use it from the graphical interface of your desktop environment.

 

Type the following command to see the name of the wi-fi interface installed on your computer:

$ sudo ip link show

By default, the kernel attributes generic names such a eth0 (for wired Ethernet) or wlan0 (for WiFi) to the network interfaces.

 

Then you can activate the wifi interface with the following command:

$ sudo ip link set wlan0 up

* Obviously you have to replace wlan0 with the name of your wi-fi interface.

 

40 minutes ago, YamiYukiSenpai said:

Wouldn't that imply that his WiFi was down?

 

The issue is that he keeps getting kicked out.

If he is able to connect to the internet, the wi-fi interface has the necessary modules to connect.

So the problems could be due to:
excessive distance from the modem routers; obstacles; etc.

Traditionally, however, it happens that the interface is disabled by the inexperienced user. So checking the status of the interface is a good idea. In any case, I do not recommend installing proprietary drivers for the wi-fi interface.

It is also necessary to check the configuration of the modem router and if a time limit has been established for the connection of a user or client.

😀

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, YamiYukiSenpai said:

What's your WiFi module?  If you're on a laptop, what model is it?

 

Can you run this command on the terminal, and paste the output here:

lshw --short

H/W path       Device     Class          Description
====================================================
                          system         H510M H (Default string)
/0                        bus            H510M H
/0/0                      memory         64KiB BIOS
/0/3b                     memory         16GiB System Memory
/0/3b/0                   memory         8GiB DIMM DDR4 Synchronous 2666 M
/0/3b/1                   memory         8GiB DIMM DDR4 Synchronous 2666 M
/0/48                     memory         256KiB L1 cache
/0/49                     memory         1MiB L2 cache
/0/4a                     memory         6MiB L3 cache
/0/4b                     processor      Intel(R) Core(TM) i3-10100 CPU @ 
/0/100                    bridge         10th Gen Core Processor Host Brid
/0/100/1                  bridge         6th-10th Gen Core Processor PCIe 
/0/100/1/0     wlp1s0     network        RTL8812AE 802.11ac PCIe Wireless 
/0/100/2                  display        CometLake-S GT2 [UHD Graphics 630
/0/100/14                 bus            Tiger Lake-H USB 3.2 Gen 2x1 xHCI
/0/100/14/0    usb1       bus            xHCI Host Controller
/0/100/14/0/e             input          USB Keyboard
/0/100/14/1    usb2       bus            xHCI Host Controller
/0/100/14.2               memory         RAM memory
/0/100/16                 communication  Tiger Lake-H Management Engine In
/0/100/17                 storage        Intel Corporation
/0/100/1c                 bridge         Tiger Lake-H PCI Express Root Por
/0/100/1d                 bridge         Intel Corporation
/0/100/1d/0    enp3s0     network        RTL8111/8168/8411 PCI Express Gig
/0/100/1f                 bridge         Intel Corporation
/0/100/1f.3               multimedia     Intel Corporation
/0/100/1f.4               bus            Tiger Lake-H SMBus Controller
/0/100/1f.5               bus            Tiger Lake-H SPI Controller
/0/1                      system         PnP device PNP0c02
/0/2                      communication  PnP device PNP0501
/0/3                      system         PnP device PNP0c02
/0/4                      generic        PnP device INT3f0d
/0/5                      system         PnP device PNP0c02
/0/6                      system         PnP device PNP0c02
/0/7                      system         PnP device PNP0c02
/0/8                      system         PnP device PNP0c02
/0/9                      system         PnP device PNP0c02
/0/a           scsi1      storage        
/0/a/0.0.0     /dev/sda   disk           2TB ST2000DM008-2FR1
/0/a/0.0.0/1   /dev/sda1  volume         1863GiB Windows NTFS volume
/0/b           scsi2      storage        
/0/b/0.0.0     /dev/sdb   disk           250GB Samsung SSD 870
/0/b/0.0.0/1              volume         511MiB Windows FAT volume
/0/b/0.0.0/2   /dev/sdb2  volume         232GiB EXT4 volume
/0/c           scsi3      storage        
/0/c/0.0.0     /dev/sdc   disk           2TB ST2000DM008-2FR1
/0/c/0.0.0/1   /dev/sdc1  volume         1863GiB Windows NTFS volume
/1                        power          To Be Filled By O.E.M.
 

I got this from the command you sent.

 

11 hours ago, YamiYukiSenpai said:

One other thing I want you to check is if you can open your KWallet.

Can you tell me its name and if it's currently open?

I guess you'r talking about KWalletManager, when I open it I only have this:

image.png.9166652eb28d62f0ea05905b716c0130.png

 

11 hours ago, YamiYukiSenpai said:

Also, try to reset your WiFi ("forget" the connection, then set it up again.)

I already tried that months ago, didn't work sadly.

 

4 hours ago, FUIT1985 said:

 

If he is able to connect to the internet, the wi-fi interface has the necessary modules to connect.

So the problems could be due to:
excessive distance from the modem routers; obstacles; etc.

Traditionally, however, it happens that the interface is disabled by the inexperienced user. So checking the status of the interface is a good idea. In any case, I do not recommend installing proprietary drivers for the wi-fi interface.

It is also necessary to check the configuration of the modem router and if a time limit has been established for the connection of a user or client.

😀

About this, I know for sure It's no a signal issue since I can connect to my wifi from a lot further than where my server is, it's also not a obstacle issue because I only have like 2 thin walls that the signal need to go trough (I'm getting full strengh on the server, with 300mb/s which is the same as my PC that do not have this problem). It's also not a modem router issue, this disconnecting only appen with my server and within all of the options of my router, I never saw something about time limits for connections.

 

About the command you sent me (sudo ip link show) I got this, I don't understand anything on it lmao:

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether d8:5e:d3:52:d9:f0 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 5c:a6:e6:c6:04:4f brd ff:ff:ff:ff:ff:ff
 

Sorry for the lenght of that post ^^'

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Deadly_cry said:

H/W path       Device     Class          Description
====================================================
                          system         H510M H (Default string)
/0                        bus            H510M H
/0/0                      memory         64KiB BIOS
/0/3b                     memory         16GiB System Memory
/0/3b/0                   memory         8GiB DIMM DDR4 Synchronous 2666 M
/0/3b/1                   memory         8GiB DIMM DDR4 Synchronous 2666 M
/0/48                     memory         256KiB L1 cache
/0/49                     memory         1MiB L2 cache
/0/4a                     memory         6MiB L3 cache
/0/4b                     processor      Intel(R) Core(TM) i3-10100 CPU @ 
/0/100                    bridge         10th Gen Core Processor Host Brid
/0/100/1                  bridge         6th-10th Gen Core Processor PCIe 
/0/100/1/0     wlp1s0     network        RTL8812AE 802.11ac PCIe Wireless 
/0/100/2                  display        CometLake-S GT2 [UHD Graphics 630
/0/100/14                 bus            Tiger Lake-H USB 3.2 Gen 2x1 xHCI
/0/100/14/0    usb1       bus            xHCI Host Controller
/0/100/14/0/e             input          USB Keyboard
/0/100/14/1    usb2       bus            xHCI Host Controller
/0/100/14.2               memory         RAM memory
/0/100/16                 communication  Tiger Lake-H Management Engine In
/0/100/17                 storage        Intel Corporation
/0/100/1c                 bridge         Tiger Lake-H PCI Express Root Por
/0/100/1d                 bridge         Intel Corporation
/0/100/1d/0    enp3s0     network        RTL8111/8168/8411 PCI Express Gig
/0/100/1f                 bridge         Intel Corporation
/0/100/1f.3               multimedia     Intel Corporation
/0/100/1f.4               bus            Tiger Lake-H SMBus Controller
/0/100/1f.5               bus            Tiger Lake-H SPI Controller
/0/1                      system         PnP device PNP0c02
/0/2                      communication  PnP device PNP0501
/0/3                      system         PnP device PNP0c02
/0/4                      generic        PnP device INT3f0d
/0/5                      system         PnP device PNP0c02
/0/6                      system         PnP device PNP0c02
/0/7                      system         PnP device PNP0c02
/0/8                      system         PnP device PNP0c02
/0/9                      system         PnP device PNP0c02
/0/a           scsi1      storage        
/0/a/0.0.0     /dev/sda   disk           2TB ST2000DM008-2FR1
/0/a/0.0.0/1   /dev/sda1  volume         1863GiB Windows NTFS volume
/0/b           scsi2      storage        
/0/b/0.0.0     /dev/sdb   disk           250GB Samsung SSD 870
/0/b/0.0.0/1              volume         511MiB Windows FAT volume
/0/b/0.0.0/2   /dev/sdb2  volume         232GiB EXT4 volume
/0/c           scsi3      storage        
/0/c/0.0.0     /dev/sdc   disk           2TB ST2000DM008-2FR1
/0/c/0.0.0/1   /dev/sdc1  volume         1863GiB Windows NTFS volume
/1                        power          To Be Filled By O.E.M.
 

I got this from the command you sent.

 

I guess you'r talking about KWalletManager, when I open it I only have this:

image.png.9166652eb28d62f0ea05905b716c0130.png

 

I already tried that months ago, didn't work sadly.

 

About this, I know for sure It's no a signal issue since I can connect to my wifi from a lot further than where my server is, it's also not a obstacle issue because I only have like 2 thin walls that the signal need to go trough (I'm getting full strengh on the server, with 300mb/s which is the same as my PC that do not have this problem). It's also not a modem router issue, this disconnecting only appen with my server and within all of the options of my router, I never saw something about time limits for connections.

 

About the command you sent me (sudo ip link show) I got this, I don't understand anything on it lmao:

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether d8:5e:d3:52:d9:f0 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 5c:a6:e6:c6:04:4f brd ff:ff:ff:ff:ff:ff
 

Sorry for the lenght of that post ^^'

the power saving mode of the wifi interface is active. run the following command:
 

$ sudo ip link set wlp1s0 mode default

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, FUIT1985 said:

the power saving mode of the wifi interface is active. run the following command:
 

$ sudo ip link set wlp1s0 mode default

 

Ok so I run the command, seemed to work, at least I didn't get an error message. Am I done? Did you just fixed month of pain in one command x)?

Through google searchs I saw a lot of people talking about power saving mode causing this but all off their fixes never worked, but none of them used this specific command, so I'm hopping that you'r a genius ^^.

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, Deadly_cry said:

Ok so I run the command, seemed to work, at least I didn't get an error message. Am I done? Did you just fixed month of pain in one command x)?

Through google searchs I saw a lot of people talking about power saving mode causing this but all off their fixes never worked, but none of them used this specific command, so I'm hopping that you'r a genius ^^.

you can update your system to lock your configuration with the following command:

sudo apt-get update && sudo apt-get upgrade && sudo update-initramfs -u && sudo update-grub && sudo reboot

Bye

Link to comment
Share on other sites

Link to post
Share on other sites

On 5/1/2022 at 6:57 PM, FUIT1985 said:

you can update your system to lock your configuration with the following command:

sudo apt-get update && sudo apt-get upgrade && sudo update-initramfs -u && sudo update-grub && sudo reboot

Bye

I marked it as a solution too soon.

After some days I got disconected again, but this time I took a picture of the thing showing up:

image.thumb.jpeg.3ad5a0d637941ab0c4b8dca54ba92ab7.jpeg

 

Traduction (at least the best i can do lmao): Dialog box of wifi password - KDE Daemon

Please provide the password for the wireless network "pifree"

 

Pifree is my wifi network. When this show up, I'm disconected. Don't know why. Now I'm sure it's not a power saving thing because on top of the commands you made me run, this time I had a discord bot running in background, doing stuff with the network every minute.

Link to comment
Share on other sites

Link to post
Share on other sites

On 5/1/2022 at 5:03 PM, Deadly_cry said:

H/W path       Device     Class          Description
====================================================
                          system         H510M H (Default string)
/0                        bus            H510M H
/0/0                      memory         64KiB BIOS
/0/3b                     memory         16GiB System Memory
/0/3b/0                   memory         8GiB DIMM DDR4 Synchronous 2666 M
/0/3b/1                   memory         8GiB DIMM DDR4 Synchronous 2666 M
/0/48                     memory         256KiB L1 cache
/0/49                     memory         1MiB L2 cache
/0/4a                     memory         6MiB L3 cache
/0/4b                     processor      Intel(R) Core(TM) i3-10100 CPU @ 
/0/100                    bridge         10th Gen Core Processor Host Brid
/0/100/1                  bridge         6th-10th Gen Core Processor PCIe 
/0/100/1/0     wlp1s0     network        RTL8812AE 802.11ac PCIe Wireless 
/0/100/2                  display        CometLake-S GT2 [UHD Graphics 630
/0/100/14                 bus            Tiger Lake-H USB 3.2 Gen 2x1 xHCI
/0/100/14/0    usb1       bus            xHCI Host Controller
/0/100/14/0/e             input          USB Keyboard
/0/100/14/1    usb2       bus            xHCI Host Controller
/0/100/14.2               memory         RAM memory
/0/100/16                 communication  Tiger Lake-H Management Engine In
/0/100/17                 storage        Intel Corporation
/0/100/1c                 bridge         Tiger Lake-H PCI Express Root Por
/0/100/1d                 bridge         Intel Corporation
/0/100/1d/0    enp3s0     network        RTL8111/8168/8411 PCI Express Gig
/0/100/1f                 bridge         Intel Corporation
/0/100/1f.3               multimedia     Intel Corporation
/0/100/1f.4               bus            Tiger Lake-H SMBus Controller
/0/100/1f.5               bus            Tiger Lake-H SPI Controller
/0/1                      system         PnP device PNP0c02
/0/2                      communication  PnP device PNP0501
/0/3                      system         PnP device PNP0c02
/0/4                      generic        PnP device INT3f0d
/0/5                      system         PnP device PNP0c02
/0/6                      system         PnP device PNP0c02
/0/7                      system         PnP device PNP0c02
/0/8                      system         PnP device PNP0c02
/0/9                      system         PnP device PNP0c02
/0/a           scsi1      storage        
/0/a/0.0.0     /dev/sda   disk           2TB ST2000DM008-2FR1
/0/a/0.0.0/1   /dev/sda1  volume         1863GiB Windows NTFS volume
/0/b           scsi2      storage        
/0/b/0.0.0     /dev/sdb   disk           250GB Samsung SSD 870
/0/b/0.0.0/1              volume         511MiB Windows FAT volume
/0/b/0.0.0/2   /dev/sdb2  volume         232GiB EXT4 volume
/0/c           scsi3      storage        
/0/c/0.0.0     /dev/sdc   disk           2TB ST2000DM008-2FR1
/0/c/0.0.0/1   /dev/sdc1  volume         1863GiB Windows NTFS volume
/1                        power          To Be Filled By O.E.M.
 

I got this from the command you sent.

 

I guess you'r talking about KWalletManager, when I open it I only have this:

image.png.9166652eb28d62f0ea05905b716c0130.png

 

I already tried that months ago, didn't work sadly.

 

About this, I know for sure It's no a signal issue since I can connect to my wifi from a lot further than where my server is, it's also not a obstacle issue because I only have like 2 thin walls that the signal need to go trough (I'm getting full strengh on the server, with 300mb/s which is the same as my PC that do not have this problem). It's also not a modem router issue, this disconnecting only appen with my server and within all of the options of my router, I never saw something about time limits for connections.

 

About the command you sent me (sudo ip link show) I got this, I don't understand anything on it lmao:

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether d8:5e:d3:52:d9:f0 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 5c:a6:e6:c6:04:4f brd ff:ff:ff:ff:ff:ff
 

Sorry for the lenght of that post ^^'

 

28 minutes ago, Deadly_cry said:

I marked it as a solution too soon.

After some days I got disconected again, but this time I took a picture of the thing showing up:

image.thumb.jpeg.3ad5a0d637941ab0c4b8dca54ba92ab7.jpeg

 

Traduction (at least the best i can do lmao): Dialog box of wifi password - KDE Daemon

Please provide the password for the wireless network "pifree"

 

Pifree is my wifi network. When this show up, I'm disconected. Don't know why. Now I'm sure it's not a power saving thing because on top of the commands you made me run, this time I had a discord bot running in background, doing stuff with the network every minute.

The "dormant" mode is the power saving of Wi-Fi interface . Could you repeat the command:

$ sudo ip link show

I need the output of the above command.

Thank you.

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, FUIT1985 said:

 

The "dormant" mode is the power saving of Wi-Fi interface . Could you repeat the command:

$ sudo ip link show

I need the output of the above command.

Thank you.

Got this:

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether d8:5e:d3:52:d9:f0 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 5c:a6:e6:c6:04:4f brd ff:ff:ff:ff:ff:ff
 

[EDIT]

 

wlp1s0 is the interface used for my wifi network: 

image.png.fab0d754ce4a47cf21c05032e810b87e.png

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Deadly_cry said:

Got this:

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether d8:5e:d3:52:d9:f0 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 5c:a6:e6:c6:04:4f brd ff:ff:ff:ff:ff:ff
 

Have you performed a system update these days?

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, FUIT1985 said:

Have you performed a system update these days?

Not since you made me do one after we thought we fixed it

Link to comment
Share on other sites

Link to post
Share on other sites

cd /etc/network/ && ls

I need the output of the above command.

Thank you.

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, FUIT1985 said:
cd /etc/network/ && ls

 

I need the output of the above command.

Thank you.

Got this:

if-down.d  if-post-down.d  if-pre-up.d  if-up.d
 

Link to comment
Share on other sites

Link to post
Share on other sites

16 minutes ago, Deadly_cry said:

Got this:

if-down.d  if-post-down.d  if-pre-up.d  if-up.d
 

You need to check the configuration file of your WiFi interface (if it exists) and why "dormant" mode is automatically enabled. Then you have two options:
1) you can write a configuration file for your wifi interface with execute permissions to disable "dormant" mode;

2) or you can manually enter the

$ sudo ip link set wlp1s0 mode default

command when the problem arises.


The first option requires that I verify the contents of your directories and of your configuration files (including the output of the cat command) and you may unintentionally share your Wi-Fi password.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, FUIT1985 said:

You need to check the configuration file of your WiFi interface (if it exists) and why "dormant" mode is automatically enabled. Then you have two options:
1) you can write a configuration file for your wifi interface with execute permissions to disable "dormant" mode;

2) or you can manually enter the

$ sudo ip link set wlp1s0 mode default

command when the problem arises.


The first option requires that I verify the contents of your directories and of your configuration files (including the output of the cat command) and you may unintentionally share your Wi-Fi password.

If i pay attention I think I can avoid sharing my password, and I do share it i can switch it before anyone reading it can fly to france and use it x). So I'm gonna go with the first option (if you'r ok with it obviously) since if I understand correctly it's the only one which should (keyword should) prevent this forever

Link to comment
Share on other sites

Link to post
Share on other sites

Living in France does not provide security. The configuration files of your network services may contain sensitive data such as your static ip. In order to carry out a spoofing attack, an attacker (for example a neighbor, an ex friend, an ex wife, etc.) who knows you are using this site could take advantage of the above information.

You should learn how to configure network services yourself. I could be a cracker who uses social engineering to pretend to help you and then attack you instead.

Sorry for security reasons I prefer not to go any further.

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, FUIT1985 said:

Living in France does not provide security. The configuration files of your network services may contain sensitive data such as your static ip. In order to carry out a spoofing attack, an attacker (for example a neighbor, an ex friend, an ex wife, etc.) who knows you are using this site could take advantage of the above information.

You should learn how to configure network services yourself. I could be a cracker who uses social engineering to pretend to help you and then attack you instead.

Sorry for security reasons I prefer not to go any further.

I understand, I mean i know what is a static ip and things like that I was just making a joke, but I don't know what those wifi config files look like so I guess it's safer not send anything ^^. Could you tell me where I need to look on my file system to find this file(s) so I can take a look and maybe find the solution?

Link to comment
Share on other sites

Link to post
Share on other sites

23 minutes ago, Deadly_cry said:

I understand, I mean i know what is a static ip and things like that I was just making a joke, but I don't know what those wifi config files look like so I guess it's safer not send anything ^^. Could you tell me where I need to look on my file system to find this file(s) so I can take a look and maybe find the solution?

There is a free French manual (the author is French) and it deals with debian jessie. Instead, the debian buster edition by the same author is in English.

Both manuals explain the basic commands, the configuration of interfaces and network services.

In short, how to use the command line.
 

https://debian-handbook.info/
 

bye

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, FUIT1985 said:

There is a free French manual (the author is French) and it deals with debian jessie. Instead, the debian buster edition by the same author is in English.

Both manuals explain the basic commands, the configuration of interfaces and network services.

In short, how to use the command line.
 

https://debian-handbook.info/
 

bye

Ok would check that out thank you for all the time you spent helping me ^^ , if I find the solution I will post it here ^^

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Deadly_cry said:

Ok would check that out thank you for all the time you spent helping me ^^ , if I find the solution I will post it here ^^

I actually gave you the solution. Find the configuration file that enables "dormant" or power saving mode by default. I use the nano program as editor. It is easier for me than vim.

find, | , xargs, grep ... Could they be useful for a search?🤣

Link to comment
Share on other sites

Link to post
Share on other sites

NetworkManager Workaround to turn off Wi-Fi power saving mode

sudo apt-get update && sudo apt-get upgrade && sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

if you find this:

[connection]
wifi.powersave = 3

You need to change the 3 value with 2

So, actually with this (or if you don’t find anything enter the content below):

[connection]
wifi.powersave = 2

In order to save this file with nano

ctrl + O

In order to exit from nano

ctrl + X

After you need to set the permissions and … reboot

$ sudo chmod 755 /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf && sudo ip link set wlp1s0 mode default && sudo update-initramfs -u && sudo update-grub && sudo reboot

After reboot you can check the status (and mode) with:

$ sudo ip link show

 

You’re welcome.

 

Quote

Linux distinguishes between administrative and operational state of an interface. Administrative state is the result of “ip link set dev <dev> up or down” and reflects whether the administrator wants to use the device for traffic.

However, an interface is not usable just because the admin enabled it - ethernet requires to be plugged into the switch and, depending on a site’s networking policy and configuration, an 802.1X authentication to be performed before user data can be transferred. Operational state shows the ability of an interface to transmit this user data.

Thanks to 802.1X, userspace must be granted the possibility to influence operational state. To accommodate this, operational state is split into two parts: Two flags that can be set by the driver only, and a RFC2863 compatible state that is derived from these flags, a policy, and changeable from userspace under certain rules.

 

https://www.kernel.org/doc/html/latest/networking/operstates.html

 

Edited by FUIT1985
The above commands permanently disable both the power saving operational state (RFC2863) and the power saving administrative state of the Wi-Fi interface "wlp1s0" (RTL8812AE) with "DORMANT" mode.
Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, FUIT1985 said:

-- snip --

There is no reason to upgrade your system, regenerate grub, and regenerate initramfs every time you make a change...

 

Also if it's a power management issue, which is fairly common on Realtek WiFi modules, linux-hardware db shows it uses the "rtl8821ae" module.

You can disable power management with

echo 'options rtl8821ae ips=0 fwlps=0' | sudo tee /etc/modprobe.d/rtl8821ae.conf
reboot

 

Edited by Nayr438
corrected module
Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×