stop/kill iwlwifi please

Questions about WIFI networks and devices
Forum rules
Before you post please read this

stop/kill iwlwifi please

Postby deminted on Fri Dec 06, 2013 9:24 am

Looking through sys mon (the Firefox 25.0.1 is sadly more like fireslug at times), I found iwlwifi sitting there.
Now doing much, but since I don't use wifi I don't want it right now.

However, it refuses requests to end, stop or be sudo pkilled or kill-15 or:
Code: Select all
mint@mint ~ $ sudo  /bin/kill -9  2793 ; pidof iwlwifi
2793


the same pid just carries on. Unhappy. I want control of it.

I'm using live mint15 64b updated (except for kernel).
Is this something to do with the driver having been morphed into a kernel module recently?

Anyway, how do I stop iwlwifi?

And is there a live boot option to preclude it from starting?
deminted
Level 1
Level 1
 
Posts: 21
Joined: Thu Jan 12, 2012 4:34 pm

Linux Mint is funded by ads and donations.
 

Re: stop/kill iwlwifi please

Postby wavespot on Fri Dec 06, 2013 11:42 am

Add iwlwifi to modprobe 's blacklist : located in /etc/modprobe.d./blacklist.conf

Add this line :
blacklist iwlwifi.

It shouldn't bother you anymore
wavespot
Level 2
Level 2
 
Posts: 92
Joined: Tue Jan 17, 2012 6:44 am

Re: stop/kill iwlwifi please

Postby deminted on Fri Dec 06, 2013 5:27 pm

Thanks, wavespot, that was close enough to follow through.

This is to stop & get rid of iwlwifi in a mint 15 set-up using a wired eth0 connection, not needing wifi..

To /etc/modprobe.d./blacklist.conf I appended (by 'open as root', then edit & save)
Code: Select all
# no need for wifi, but see also   /etc/modprobe.d./iwlwifi.conf   
blacklist iwlwifi

as suggested (but without the full stop, period "." at the end of course)
... however, that isn't quite enough to actually stop the unrequited iwlwifi straight away.

That blacklisting would get picked up on some level of restart.
I'm using a live edition, so I couldn't just reboot. Possibly restarting the x-server might have done it,
but while I was looking in /etc/modprobe.d./ I saw there was also a
iwlwifi.conf
which looks like some kind of script - with sort-of documentation - which I couldn't get to work ... however it contains a good clue,
so, using part of that script to find which parent module was active
Code: Select all
mint@mint ~ $ sudo /sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi
iwldvm
iwlwifi

then took down iwldvm, which brought all the wifi things with it, nothing more to do:
Code: Select all
mint@mint ~ $ sudo modprobe -v -r iwldvm
rmmod iwldvm
rmmod mac80211
rmmod iwlwifi
rmmod cfg80211

(a prior direct assault on iwlwifi had failed, "module in use")

after which, just to check:
Code: Select all
mint@mint $ ~ $ pidof iwlwifi
mint@mint ~ $

silent, as things should be when one is wired; rid of the pesky wifi module that wouldn't die!


Excellent. :) :wink:
deminted
Level 1
Level 1
 
Posts: 21
Joined: Thu Jan 12, 2012 4:34 pm


Return to Wireless

Who is online

Users browsing this forum: No registered users and 9 guests