Wifi internet connection cuts out -often after a few minutes

Kernels & Hardware, configuring network, installing services

Wifi internet connection cuts out -often after a few minutes

Postby darkcity » 2021-02-22 10:33

New install of Debian 10 Buster.

I'm using a USB dongle (RealTek) to connect to wifi, I installed non-free drivers for the device.

Wifi internet connection cuts out - often after a few minutes. Connection works on boot up but then is lost. The only way I can find to make it work again is to reboot.

Any idea how to diagnose the problem?

The command 'ifconfig' isn't present, 'ip' is.

Problem may have developed after installing wget and opera.

Thanks in advance.
darkcity
 
Posts: 4
Joined: 2012-02-24 15:12

Re: Wifi internet connection cuts out -often after a few min

Postby Head_on_a_Stick » 2021-02-22 14:28

darkcity wrote:I'm using a USB dongle (RealTek) to connect to wifi, I installed non-free drivers for the device.

Please be more specific. The kernel already includes drivers for most RealTek devices but if the official Debian ISO images are used to install then the device firmware will be missing.

Otherwise see https://wiki.archlinux.org/index.php/Ne ... ss#Realtek for some suggestions.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13280
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Wifi internet connection cuts out -often after a few min

Postby darkcity » 2021-02-22 18:24

Thanks for the reply. I install Debian XFCE via usb stick graphical installer. Then I installed firmware-realtek from https://packages.debian.org/buster/firmware-realtek

The device is rtl8168, and I believe the driver being used is:

rtl8168g-2.fw
darkcity
 
Posts: 4
Joined: 2012-02-24 15:12

Re: Wifi internet connection cuts out -often after a few min

Postby stevepusser » 2021-02-22 18:55

The Realtek 8168 is a wired Ethernet NIC.

We need the actual wi-fi device chipset. Try lsusb if it doesn't show up in lspci.

Your kind of connection dropouts can often be fixed by turning off automatic power saving for the driver in a .conf file, and you'll have to create one depending on what driver your device is really using.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12234
Joined: 2009-10-06 05:53

Re: Wifi internet connection cuts out -often after a few min

Postby sunrat » 2021-02-22 19:40

darkcity wrote:The device is rtl8168, and I believe the driver being used is:

rtl8168g-2.fw

That's the firmware, not the driver. Driver is probably rtl8168 but you can confirm with lspci -k .
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3419
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Wifi internet connection cuts out -often after a few min

Postby stevepusser » 2021-02-22 22:28

From the first post:
'm using a USB dongle (RealTek) to connect to wifi,


They must use
Code: Select all
 lsusb -k
, since that will help show the kernel module in use.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12234
Joined: 2009-10-06 05:53

Re: Wifi internet connection cuts out -often after a few min

Postby darkcity » 2021-02-23 18:38

Thanks for the replies

I think the device is acutally RTL8188, but will double check next time I'm on the machine. I will also lsusb -k (or and lspci -k) for full details.

- - -

Actually, changing the wifi mode, in nm-connection-editor, from 'client' to 'hotspot' seems to have helped.
darkcity
 
Posts: 4
Joined: 2012-02-24 15:12


Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable