(Solved - Sort of) Random wifi disconnect

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Reddak98

(Solved - Sort of) Random wifi disconnect

Post by Reddak98 »

I am having an issue with my wifi disconnecting. I have been searching this forum and the internet and can't seem to find anything that I can use. The terminal tells me that the commands I have tried are not valid etc. I can click on the wifi icon in the system tray or turn the wifi switch off then on and it will reset. My wife is on a Windows computer and has no problems. I am running Linux Mint 19 Mate. I feel like I have to give in and ask for help from this forum. Other than that I am enjoying Linux. As always, any and all help is appreciated.

Thanks again
Rick
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: Random wifi disconnect

Post by trytip »

open a Terminal , type these commands one at a time and then copy the results here:

Code: Select all

inxi -Fxzd

Code: Select all

iwconfig
Image
User avatar
lsemmens
Level 11
Level 11
Posts: 3949
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Random wifi disconnect

Post by lsemmens »

I have the same issue, but have yet to address it as this laptop is soon to become a doorstop.
Fully mint Household
Out of my mind - please leave a message
Reddak98

Re: Random wifi disconnect

Post by Reddak98 »

trytip here are the results

Code: Select all

rickb@rickb-ThinkPad-SL510:~$ inxi -Fxzd
System:    Host: rickb-ThinkPad-SL510 Kernel: 4.15.0-34-generic i686
           bits: 32 gcc: 7.3.0
           Desktop: MATE 1.20.1 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 28479WU v: ThinkPad SL510 serial: N/A
           Mobo: LENOVO model: 28479WU serial: N/A
           BIOS: LENOVO v: 6JET80WW (1.38 ) date: 05/25/2010
Battery    BAT1: charge: 39.0 Wh 100.1% condition: 39.0/47.5 Wh (82%)
           model: SANYO 42T4763 status: N/A
CPU:       Dual core Intel Core2 Duo T6570 (-MCP-) 
           arch: Penryn rev.10 cache: 2048 KB
           flags: (lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 8378
           clock speeds: max: 2101 MHz 1: 1213 MHz 2: 1231 MHz
Graphics:  Card: Intel Mobile 4 Series Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express x86/MMX/SSE2
           version: 2.1 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 82801I (ICH9 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-34-generic
Network:   Card-1: Intel Centrino Wireless-N 1000 [Condor Peak]
           driver: iwlwifi bus-ID: 05:00.0
           IF: wlp5s0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 08:00.0
           IF: enp8s0 state: down mac: <filter>
Drives:    HDD Total Size: 320.1GB (47.3% used)
           ID-1: /dev/sda model: TOSHIBA_MK3252GS size: 320.1GB
           Optical-1: /dev/sr0 model: MATSHITA DVD-RAM UJ890
           rev: SB31 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 293G used: 142G (51%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 47.0C mobo: 0.0C
           Fan Speeds (in rpm): cpu: N/A fan-1: 653
Info:      Processes: 168 Uptime: 15:06 Memory: 905.0/2891.5MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 


Code: Select all

rickb@rickb-ThinkPad-SL510:~$ iwconfig
enp8s0    no wireless extensions.

lo        no wireless extensions.

wlp5s0    IEEE 802.11  ESSID:"ARRIS-7AD2"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 14:CF:E2:D7:7A:D0   
          Bit Rate=65 Mb/s   Tx-Power=14 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-39 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:40   Missed beacon:0
Last edited by JeremyB on Sun Oct 28, 2018 8:02 am, edited 1 time in total.
Reason: code tags added
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: Random wifi disconnect

Post by JeremyB »

Try this and it will prevent network manager from enabling wifi power management in Mint 18 or 19

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf && systemctl restart network-manager.service
JAFOLou

Re: Random wifi disconnect

Post by JAFOLou »

Do you think it could be the router? I've had issues like that before and changing the channel it broadcasts off of may help. I was in a populated apartment complex and that helped my old windows and phone from disconnecting. If all else fails maybe try that in your router settings.
User avatar
trytip
Level 14
Level 14
Posts: 5366
Joined: Tue Jul 05, 2016 1:20 pm

Re: Random wifi disconnect

Post by trytip »

your output of iwconfig looks ok except for Tx excessive retries:1 which is not bad but your power manager is Power Management:on
do what JeremyB suggested

there could also be router issues like too many neighboring wifi using the same channels but that's a bit more complicated if you don't know how to check settings in your router

you can install linssid and check how your wifi channels are around you. not much you can do about it except change the channel and test it out. most wifi default to channels 1 , 6, or 11
Image
Reddak98

Re: (Solved - Sort of) Random wifi disconnect

Post by Reddak98 »

Did what JeremyB suggested and it helped a lot, however (and there is always a however in life) I still have some disconnects, but easier to live with.
Locked

Return to “Networking”