PDA

View Full Version : [ubuntu] Disable wireless card



gregorus
April 24th, 2009, 12:25 AM
Hello!
I've upgraded today to 9.04 and I'm havng a major problem with my d-link DWL-520+ wifi card. It's crashing my ubuntu right after loading Gnome, in 8.04 it was crashing it as well, but only when I was trying to connect to a network, so I could easily work on other wifi card. I can't remove the DWL520+ because I need it in Windows, where my other wifi card isn't working too well. I've read that you can blacklist the card drivers from loading, but I have no idea how to do it. If someone could tell how to blacklist my wifi card from console, I would gladly appreciate it:)

utnubuuser
April 24th, 2009, 03:01 AM
Hi - Try:
http://ubuntuforums.org/showthread.php?t=1040096

PS Did this card work at all under 8.04lts? I've the same card, and in 8.04 it recognizes the network, but I've not been able to get it to connect. Thanks

chili555
April 24th, 2009, 03:27 AM
This card has at least five versions and there are three different chipsets! The driver depends on the chipset. Let's ask the computer what we have. Open a terminal and do:
sudo lshw -C networkYou will get both ethernet and wireless data. If you check the details, you will see something like this:
*-network
description: Wireless interface
product: PRO/Wireless 3945ABG [Golan] Network Connection
---snip---
driver=iwl3945 ip=192.168.1.108 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11abgThen do:
sudo nano /etc/modprobe.d/blacklist.confThe nano window will open and show the file along with the key combinations to save (Ctrl+O) and exit (Ctrl+X). Scroll down to the end and type in:
blacklist <whatever_driver_you_found>Proofread twice, save and close.

Upon reboot, it will not load unless it is dependent on other modules that invite it to the party despite it being blacklisted! You can see what depends on what with:
modinfo <whatever_driver_you_found>Post back so the searchers will know what worked...or not.

gregorus
April 24th, 2009, 09:46 AM
Unfortunately, I can't even check if your solution works, because every time I try to do something in console session when this card is plugged in, I'm getting a total crash after a short while. Maybe there's a way to blacklist all the dwl520+ drivers after unplugging the card-that's the only way I can do anything without 9.04 crashing.
On 8.04 it wasn't working as well, but it was crashing the system only after attempting to connect to a network.

gregorus
April 24th, 2009, 07:11 PM
I'm still fighting with this dwl520+. Now, I've plugged it to another pc with 9.04 installed and I've been able to check the driver it's using. It says the driver is acx_pci, but after I've blacklisted it there was no difference. Also I've discoveried something interesting-when plugging in the fatal dwl520+ without the antenna and with another card connected to an internet, system doesn't crash, but your connection is getting painfully slow:confused:. The other thing is, that after checking the acx_pci driver with modinfo it says that the module cannot be found.Is there a way to check if the device is really blacklisted?

chili555
April 25th, 2009, 12:52 AM
I think the module is really acx. According to modinfo, it has no 'depends.' I'd try blacklisting it. Also, let's try to figure out the instability. I suggest you do:
sudo cat /var/log/messages | grep acx > acx.txt
sudo cat /var/log/messages | grep wlan0 > wlan.txtSubstitute your wireless interface if it's not wlan0. Two text files will be created in your user directory that you can transfer on a USB stick, for example, to another computer and post here.

I wonder if the D-Link is dead.