[SOLVED] How to disable my current (internal) wireless card

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

[SOLVED] How to disable my current (internal) wireless card

Post by Dennola4 »

Hello,

I have downloaded the aircrack-ng suite from the repository and have been studying the wiki. Turns out the chipset I have isn't supported:

Code: Select all

root[dennis]# lspci -vnn | grep 14e4
03:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
....so tomorrow I will buy the highly recommended: Alfa 500mW AWUS036H USB Wireless Adapter 802.11 b/g Network Radio Card. I will plug this usb device and presumably be able to use it immediately, as I see the appropriate driver in: /lib/modules/2.6.33.4-smp/kernel/drivers/net/wireless/rtl818x/

So the question is: must I first disable the Broadcom card? If so, how? And how will the Realtek device show up when I type: iwconfig? Eth0? What I see currently is:

Code: Select all

root[dennis]# iwconfig
lo        no wireless extensions.

eth1      no wireless extensions.

eth0      IEEE 802.11bg  ESSID:off/any  Nickname:"darkstar"
          Mode:Managed  Channel:0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ppp0      no wireless extensions.
Thanks in advance.
Last edited by Dennola4 on 14. Dec 2010, 19:11, edited 1 time in total.
There are no stupid questions.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: How to disable my current (internal) wireless card

Post by gapan »

I don't think you need to disable the internal card first. You can do that by blacklisting the module that it uses though. When you get the new card, plug it in and see how it appears, no way to know what it will be before you actually do it I think.
Image
Image
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: How to disable my current (internal) wireless card

Post by Dennola4 »

Ok Gapan,

just trying to do my homework ahead of time so that when I get my new toy it will be plug-and-play rather than plug-and-Google.

As always, thanks for the quick and direct response.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

As a funny side note: I am now the director of an art gallery here in New Orleans, and the paintings of the artist I represent are similar enough in spirit to the SalixOS desktop that I thought you might want to give it a look. HauntingArt(dot)(com)

Enjoy, and thanks again.
There are no stupid questions.
User avatar
Akuna
Salix Wizard
Posts: 1038
Joined: 14. Jun 2009, 12:25

Re: How to disable my current (internal) wireless card

Post by Akuna »

Dennola4 wrote: As a funny side note: I am now the director of an art gallery here in New Orleans, and the paintings of the artist I represent are similar enough in spirit to the SalixOS desktop that I thought you might want to give it a look. HauntingArt(dot)(com)

Enjoy, and thanks again.
Indeed! Very nice! :)
Image
What really matters is where you are going, not where you come from.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: How to disable my current (internal) wireless card

Post by thenktor »

Dennola4 wrote:As a funny side note: I am now the director of an art gallery here in New Orleans, and the paintings of the artist I represent are similar enough in spirit to the SalixOS desktop that I thought you might want to give it a look. HauntingArt(dot)(com)
http://hauntingart.com/Haunting_Art/Gallery.html#21 8-)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: How to disable my current (internal) wireless card

Post by gapan »

Dennola4 wrote:As a funny side note: I am now the director of an art gallery here in New Orleans, and the paintings of the artist I represent are similar enough in spirit to the SalixOS desktop that I thought you might want to give it a look. HauntingArt(dot)(com)

Enjoy, and thanks again.
These are really great! Thanks.
Image
Image
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: How to disable my current (internal) wireless card

Post by Dennola4 »

Ok,

I want to be careful what I ask for here. I am ultimately trying to use aircrack-ng to test (for security reasons) whether or not I can discover my gallery's WEP key from a remote computer. I understand that questions for how to do this are best posted on the aircrack-ng forum.

This said, I frankly like this forum better and so I want to do my basic linux homework here first. So back to my original question, which asked whether or not eth0 and wlan0 would conflict with each other.

Given the info below, can you see an obvious problem preventing me from injecting packets with my new ALFA network card? (By the way, I DID get it injecting packets one night, but I didn't document what I did and my console history doesn't go back far enough.)

Code: Select all

root[dennis]# lsmod
Module                  Size  Used by
ppp_deflate             3590  0 
bsd_comp                4716  0 
ppp_async               6325  1 
crc_ccitt               1075  1 ppp_async
ppp_generic            19787  7 ppp_deflate,bsd_comp,ppp_async
slhc                    4705  1 ppp_generic
snd_seq_dummy           1107  0 
snd_seq_oss            25580  0 
snd_seq_midi_event      4620  1 snd_seq_oss
snd_seq                42857  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4543  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33917  0 
snd_mixer_oss          13399  2 snd_pcm_oss
ipv6                  229909  20 
cpufreq_ondemand        6917  0 
speedstep_lib           2683  0 
freq_table              2027  1 cpufreq_ondemand
lp                      7161  0 
ppdev                   5103  0 
parport_pc             18027  0 
parport                25487  3 lp,ppdev,parport_pc
sierra                  8309  1 
usbserial              27618  3 sierra
fuse                   52401  3 
i915                  263263  2 
snd_intel8x0           22387  2 
rtl8187                49559  0 
drm_kms_helper         23751  1 i915
snd_ac97_codec         89467  1 snd_intel8x0
mac80211              153050  1 rtl8187
ipw2200               128623  0 
b44                    24085  0 
drm                   133002  3 i915,drm_kms_helper
ac97_bus                 822  1 snd_ac97_codec
libipw                 22459  1 ipw2200
usbhid                 33016  0 
ssb                    40527  1 b44
snd_pcm                57736  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
cfg80211              109656  4 rtl8187,mac80211,ipw2200,libipw
sdhci_pci               5651  0 
sdhci                  13770  1 sdhci_pci
ohci1394               25433  0 
i2c_algo_bit            4355  1 i915
joydev                  7989  0 
intel_agp              22699  1 
rtc_cmos                7838  0 
dell_laptop             1797  0 
video                  15937  1 i915
thermal                10194  0 
yenta_socket           19335  2 
processor              26515  1 
agpgart                23773  2 drm,intel_agp
pcmcia                 27872  1 ssb
psmouse                40750  0 
mmc_core               46926  2 ssb,sdhci
rfkill                 12812  2 cfg80211,dell_laptop
lib80211                3282  2 ipw2200,libipw
hid                    61027  1 usbhid
snd_timer              15699  2 snd_seq,snd_pcm
thermal_sys            12086  3 video,thermal,processor
output                  1444  1 video
rtc_core               12050  1 rtc_cmos
ieee1394               63728  1 ohci1394
ac                      2423  0 
battery                 7944  0 
button                  3934  1 i915
rsrc_nonstatic          8933  1 yenta_socket
mii                     3322  1 b44
i2c_i801                7194  0 
snd                    43107  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
dcdbas                  4480  1 dell_laptop
rtc_lib                 1522  1 rtc_core
pcmcia_core            25659  3 yenta_socket,pcmcia,rsrc_nonstatic
led_class               2037  2 rtl8187,sdhci
hwmon                   1085  1 thermal_sys
i2c_core               15279  5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
serio_raw               3754  0 
evdev                   6939  14 
eeprom_93cx6            1024  1 rtl8187
soundcore               4815  2 snd
snd_page_alloc          5849  2 snd_intel8x0,snd_pcm
sg                     21214  0 

Code: Select all

lo        no wireless extensions.

eth1      no wireless extensions.

eth0      IEEE 802.11bg  ESSID:off/any  Nickname:"darkstar"
          Mode:Managed  Channel:0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power=20 dBm   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0     IEEE 802.11bg  Mode:Managed  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
ppp0      no wireless extensions.
Thanks in advance.
There are no stupid questions.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: How to disable my current (internal) wireless card

Post by gapan »

I don't see why it shouldn't work, but I don't have that much experience with injecting myself, only done it once or twice just to see what it's about. Google should be able to help you in finding a guide for what you want to do.
Image
Image
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: How to disable my current (internal) wireless card

Post by Dennola4 »

Ok. Problem solved.

1) I needed to understand the iwconfig and ifconfig commands which allow etho and wlan0 to be toggled off/on and toggled managed/monitor mode.

2) though I didn't need it here, it was useful to learn that the driver for the PCI device Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02) is bc44 and can be blacklisted by editing /etc/modprobe.d/blacklist.conf

Thanks for your assistance.

:-)
There are no stupid questions.
Post Reply