LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-10-2013, 05:18 AM   #1
breakbeat
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
How to stop a driver in kernel from bringing up wireless adapter?


Hello,

The driver for my wireless adapter is included with the linux kernel, and when booting my notebook, brings up the adapter.

I dont want this behaviour.

I want to be able to modprobe the driver as and when I need it on the desktop, but at all other times, have the adapter disabled.

Is there a way to stop the driver being loaded by the kernel at boot time?
 
Old 02-10-2013, 05:56 AM   #2
goumba
Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Wheezy (7.0), Jessie (future 8) and Sid (unstable)
Posts: 473
Blog Entries: 2

Rep: Reputation: 53
breakbeat, if you're using a distro like Debian which has a /etc/modprobe.d directory, you can add a file there (say wireless-blacklist.conf), or add to an existing file where it will make sense (default Debian includes alsa and fbdev blacklists for which neither make sense to put a wifi module). Whatever the file, add the following line:

Code:
blacklist modulename
 
Old 02-10-2013, 05:59 AM   #3
breakbeat
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks goumba
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wireless-N USB Adapter-How to build the right driver-On Fedora 17 kernel:3.5.1-1.fc17 Mes9 Linux - Wireless Networking 14 06-29-2013 01:21 PM
Does kernel 2.6.11.12 supports 802.11n wireless USB adapter driver? syseeker Linux - Hardware 1 07-06-2010 06:17 AM
How to stop USB automounting of wireless adapter? Micro420 Linux - General 4 05-12-2007 12:33 AM
Driver for WLU108AG Wireless Adapter for 2.4.26 Kernel skannan Linux - Wireless Networking 2 03-19-2007 05:16 AM


All times are GMT -5. The time now is 01:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration