Choose style:

Author Topic: Wifi LED flashing (SOLVED)  (Read 326 times)

0 Members and 1 Guest are viewing this topic.

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Wifi LED flashing (SOLVED)
« on: June 05, 2019, 08:03:15 am »
Så my wifi light is flashing and it is annoying, I am new to thos OS so I was wondering if I maby need to install new drivers?

System:    Host: HP-Pavilion-dv7-PC Kernel: 4.18.0-21-generic x86_64 bits: 64
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: laptop System: Hewlett-Packard product: HP Pavilion dv7 Notebook PC v: F.2D serial: N/A
           Mobo: Compal model: 30F4 v: 99.B6 serial: N/A
           BIOS: Hewlett-Packard v: F.2D date: 11/29/2010
Battery    BAT0: charge: 17.1 Wh 1.8% condition: 939.2/63.4 Wh (1482%)
CPU:       Dual core Intel Core2 Duo T9400 (-MCP-) cache: 6144 KB
           clock speeds: max: 2534 MHz 1: 1936 MHz 2: 1887 MHz
Graphics:  Card: NVIDIA G96M [GeForce 9600M GT]
           Display Server: x11 (X.Org 1.20.1 )
           drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 1440x900@59.94hz
           OpenGL: renderer: GeForce 9600M GT/PCIe/SSE2
           version: 3.3.0 NVIDIA 340.107
Audio:     Card Intel 82801I (ICH9 Family) HD Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.18.0-21-generic
Network:   Card-1: Intel PRO/Wireless 5100 AGN [Shiloh] Network Connection
           driver: iwlwifi
           IF: wlp2s0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169
           IF: enp5s0 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (1.8% used)
           ID-1: /dev/sda model: WDC_WD2500BEVS size: 250.1GB
           ID-2: /dev/sdb model: WDC_WD2500BEVS size: 250.1GB
Partition: ID-1: / size: 229G used: 8.4G (4%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 57.0C mobo: N/A gpu: 63C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 172 Uptime: 25 min Memory: 901.1/3912.2MB
           Client: Shell (bash) inxi: 2.3.56
« Last Edit: June 05, 2019, 06:40:22 pm by PCNetSpec »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25459
  • Karma: 2800
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Wifi LED flashing
« Reply #1 on: June 05, 2019, 08:49:02 am »
Hi Leknes, and welcome to the forum :)

The some of the Intel wireless cards are known for flashing their LED with the iwlwifi and iwlegacy drivers (because they default to led_mode=0 [system] which is the equivalent of led_mode=2 [blinking]) .. it can be fixed though.

Try this...

Open a terminal and run:
Code: [Select]
gksudo xed /etc/modprobe.d/iwlegacy.conf
when a BLANK file opens, make it read:-
Code: [Select]
options iwlegacy led_mode=1
SAVE the file, then log off/on (or reboot).

The LED should now be ON when the wifi is switch on, and OFF when switched off .. no blinking.

Did that stop it flashing ?
« Last Edit: June 05, 2019, 09:00:04 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #2 on: June 05, 2019, 11:47:32 am »
Still flashing. It looks like kind of a wifi icon that is supposed to be blue when on and red when of. It is also a touch button for wifi toggle.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25459
  • Karma: 2800
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Wifi LED flashing
« Reply #3 on: June 05, 2019, 12:40:26 pm »
Can you post the output from:
Code: [Select]
lspci -vnn | grep -i net
and
Code: [Select]
lsmod
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #4 on: June 05, 2019, 01:04:52 pm »
02:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 02)
   Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:30f4]

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #5 on: June 05, 2019, 01:05:27 pm »
Module                  Size  Used by
ccm                    20480  6
gpio_ich               16384  0
coretemp               16384  0
nvidia_uvm             36864  0
uvcvideo               94208  0
wmi_bmof               16384  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_common       40960  2 videobuf2_v4l2,uvcvideo
videodev              188416  3 videobuf2_v4l2,uvcvideo,videobuf2_common
hp_wmi                 16384  0
sparse_keymap          16384  1 hp_wmi
nvidia              10559488  34 nvidia_uvm
snd_hda_codec_hdmi     49152  1
media                  40960  2 videodev,uvcvideo
kvm                   626688  0
snd_hda_codec_idt      57344  1
snd_hda_codec_generic    73728  1 snd_hda_codec_idt
irqbypass              16384  1 kvm
arc4                   16384  2
iwldvm                229376  0
mac80211              802816  1 iwldvm
snd_hda_intel          40960  3
snd_hda_codec         126976  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
snd_hda_core           81920  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
input_leds             16384  0
snd_hwdep              20480  1 snd_hda_codec
jmb38x_ms              20480  0
joydev                 24576  0
serio_raw              16384  0
memstick               16384  1 jmb38x_ms
lpc_ich                24576  0
snd_pcm                98304  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              32768  1 snd_pcm
drm                   458752  4 nvidia
snd                    81920  14 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt
soundcore              16384  1 snd
iwlwifi               299008  1 iwldvm
wmi                    24576  2 hp_wmi,wmi_bmof
cfg80211              667648  3 iwldvm,iwlwifi,mac80211
ir_rc6_decoder         16384  0
hp_accel               28672  0
lis3lv02d              20480  1 hp_accel
rc_rc6_mce             16384  0
video                  45056  0
input_polldev          16384  1 lis3lv02d
ene_ir                 20480  0
rc_core                45056  4 ir_rc6_decoder,rc_rc6_mce,ene_ir
mac_hid                16384  0
sch_fq_codel           20480  6
sunrpc                352256  1
parport_pc             36864  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 parport_pc,lp,ppdev
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                40960  2
btrfs                1163264  0
xor                    24576  1 btrfs
zstd_compress         163840  1 btrfs
raid6_pq              114688  1 btrfs
libcrc32c              16384  1 btrfs
ahci                   40960  1
psmouse               151552  0
libahci                32768  1 ahci
sdhci_pci              36864  0
firewire_ohci          40960  0
cqhci                  24576  1 sdhci_pci
firewire_core          65536  1 firewire_ohci
sdhci                  49152  1 sdhci_pci
crc_itu_t              16384  1 firewire_core
r8169                  86016  0
mii                    16384  1 r8169
hid_generic            16384  0
usbhid                 49152  0
hid                   122880  2 usbhid,hid_generic

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #6 on: June 05, 2019, 01:06:20 pm »
And by the way, I never thought this old laptop could feel this nice, thanks everyone who made this!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25459
  • Karma: 2800
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Wifi LED flashing
« Reply #7 on: June 05, 2019, 03:33:30 pm »
Does running
Code: [Select]
sudo rmmod iwlwifi
then
Code: [Select]
sudo modprobe iwlwifi led_mode=1
stop wireless blinking ?

Be aware this won't survive a reboot, but if it works we can make it permanent.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #8 on: June 05, 2019, 04:49:44 pm »
When I try the first line i get: [sudo] password for leknes:
Then I can't type anything

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25459
  • Karma: 2800
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Wifi LED flashing
« Reply #9 on: June 05, 2019, 04:52:16 pm »
Yes you can .. remember, when entering a password in the terminal nothing gets echoed to screen (not even ******) just type your password, then hit enter.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #10 on: June 05, 2019, 05:00:19 pm »
leknes@HP-Pavilion-dv7-PC ~ $ sudo rmmod iwlwifi
[sudo] password for leknes:
rmmod: ERROR: Module iwlwifi is in use by: iwldvm
leknes@HP-Pavilion-dv7-PC ~ $ sudo modprobe iwlwifi led_mode=1
leknes@HP-Pavilion-dv7-PC ~ $

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25459
  • Karma: 2800
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Wifi LED flashing
« Reply #11 on: June 05, 2019, 05:16:48 pm »
It would be a good idea to copy these instructions to a text file first .. so you can undo if necessary, in case it kills your internet.

Okay try this...
Code: [Select]
sudo rm -v /etc/modprobe.d/iwlegacy.conf
then
Code: [Select]
gksudo xed /etc/modprobe.d/iwlwifi.conf
when a file opens that already has stuff in it, add a NEW LINE at the bottom that reads
Code: [Select]
options iwlwifi led_mode=1
SAVE the file and exit the text editor.

Reboot to test if the blinking has stopped ?



To Undo

run:
Code: [Select]
gksudo xed /etc/modprobe.d/iwlwifi.conf
remove the line you added at the bottom .. SAVE the file .. Reboot.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #12 on: June 05, 2019, 05:22:48 pm »
leknes@HP-Pavilion-dv7-PC ~ $ sudo rm -v /etc/modprobe.d/iwlegacy.conf
[sudo] password for leknes:
removed '/etc/modprobe.d/iwlegacy.conf'
leknes@HP-Pavilion-dv7-PC ~ $ options iwlwifi led_mode=1
options: command not found
leknes@HP-Pavilion-dv7-PC ~ $

So I am guessing that I do not need to do the reboot and such?

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #13 on: June 05, 2019, 05:30:36 pm »
Sorry I see what I did wrong, doing it again.

Offline Leknes

  • nOOb
  • *
  • Posts: 14
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Wifi LED flashing
« Reply #14 on: June 05, 2019, 05:35:07 pm »
It's working perfectly now! Thank you!