LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 01-07-2007, 10:21 AM   #1
fracmo2000
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: 0
Wireless(broadcom)/driver Issues...help :)


Hi,

Firstly, pretty much new to linux...so will try my best to explain my steps and see if you guys know what im talking about :lol:

The reason im wanting to use BackTrack is basically to test my wep key (and see if i can get in)...if so...i would also like to do some testing in my work - might mean i get a better job (i hope haha)

Ok, I managed to get BackTrack installed on my usb drive with an app called MySlax

http://myslax.bonsonno.org/

Boots up pretty quickly too...thought it would take a while.

I tried a quick scan, but dont think my wireless card in the HP NX6325 is working correctly...seen people saying that they purchased a card specially for doing this. The following where mentioned:
http://www.proxim.com/products/cp/pc.html
(+Cheap +802.11b/g +external aerial can be added if you want)

http://www.dealtime.co.uk/xPO-Cisco-...T-ANT-FCC-CNFG
( -Expensive +High Sensitivity)

http://www.broadbandbuyer.co.uk/Shop...?ProductID=711
(+Cheap +Best all rounder)
Said best to get a card with the Atheros chipset?

When checking the spec for the my laptop card, it only comes up with the following:
Wireless technologies
Broadcom 802.11a/b/g, Bluetooth
http://h10010.www1.hp.com/wwpc/uk/en...&lang=en&cc=uk

I found a post which a guy asked somebody to use the following command:

lspci -v

02:02.0 Network Controller: Broadcom Corp BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: Hewlett-Packard Company: Unknow device 1356
Flags: Bus master, fast desel, latency 64, IRQ 5
Memory at d00100000 (32-bit, non-prefetchable] [size=8k]

I have been seen a few posts talking about "Ndiswrapper" to install the broadcom driver...but im not too sure how to get this going with backtrack on my usb drive. Can i not add the drivers to BackTrack via MySlax then put in on my USB drive?

The HP site only seems to have Win drivers...tried google and foudn nothing. BUT i did find two files
bcmwl5.inf
bcmwl564.sys
from the following post:
http://www.linuxquestions.org/questi...errerid=195877

The guy is using "ndiswrapper"...which i read is only any use for basic connectivity. If you need to use monitor mode, etc, then it's not a good solution? Is this correct?

I also found the madwifi-0.9.2.1 driver...but dont think this is any use for me. (i think?)

Any points on where im going wrong? Or are there too many to mention

Thanks in advance!
 
Old 01-07-2007, 11:34 AM   #2
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
Quote:
02:02.0 Network Controller: Broadcom Corp BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
There is a driver for this in the kernel. Setting it up is a bit hard because it needs firmware from Windows driver, but the documentation on http://bcm43xx.berlios.de/ should help. This step-by-step guide for Gentoo especially is useful even for other distributions.

The driver worked quite well a couple of kernel versions ago (2.6.17.*), but seems to be broken in 2.6.19.
 
Old 01-07-2007, 11:36 AM   #3
686plus
Member
 
Registered: Nov 2004
Location: Portland, Oregon
Distribution: Ubuntu
Posts: 114

Rep: Reputation: 17
Just to make sure all things are covered... Did you enable the interface? Backtrack boots with no interfaces enabled, unlike most other live distros.

I think backtrack has broadcom drivers already, but I can't remember for sure. Use the lsmod command to see what drivers are loaded. It probably starts with bcm. lspci tells us your card is recognized, so see if the driver is loaded.

Also, which backtrack are you using? A stable or beta version?

And just my opinion... wep vulnerabilities are well documented and there is no need to test a key. It can be cracked. If you're just trying to convince your boss, get permission in writing. If you're just trying to get into an encrypted wireless network, don't. In either case, it probably won't get you a promotion.
 
Old 01-08-2007, 05:41 AM   #4
fracmo2000
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Firstly, thank you both for replying!

Quote:
Originally Posted by Harmaa Kettu
There is a driver for this in the kernel. Setting it up is a bit hard because it needs firmware from Windows driver, but the documentation on http://bcm43xx.berlios.de/ should help. This step-by-step guide for Gentoo especially is useful even for other distributions.
Cheers for the links Harmma...will check this out tonight when i get home. Have the laptop beside my other pcs, which makes testing a lot easier for me. I can refer to guides/internet while trying out different things. Good news that i might not need to purchase another wireless! Yeah
Will let you know how i get on! Although, i made some progress last night on a friends laptop...will post up my results.

Quote:
Originally Posted by 686plus
Just to make sure all things are covered... Did you enable the interface? Backtrack boots with no interfaces enabled, unlike most other live distros.
I think backtrack has broadcom drivers already, but I can't remember for sure. Use the lsmod command to see what drivers are loaded. It probably starts with bcm. lspci tells us your card is recognized, so see if the driver is loaded.
Also, which backtrack are you using? A stable or beta version?
And just my opinion... wep vulnerabilities are well documented and there is no need to test a key. It can be cracked. If you're just trying to convince your boss, get permission in writing. If you're just trying to get into an encrypted wireless network, don't. In either case, it probably won't get you a promotion.
Hi 686plus...you are correct I didnt enable my card. Total idiot! Found out last night while at a friends house. Im using BackTrack v2 (stable)...i hear what your saying about my employer. Just at the moment im a general techy...nothing special. I would like to maybe move into a specified field or something. Sort of stuck in a rut at the moment...trying to find something in computing i can excel in. I know everything is going wireless - would like to get into it while i have an advantage in my work place. I wont hack the works wireless, jsut mention the security risk...when they say "no" i can say "yes"...show them...sort of blowing my own trumptet. Sounds terrible i know.

But enough about how crap my job is hahaha...when i was at my friends house, he recently purchased a new Acer Aspire (AMD Dualcore, under 500!!!) I entered the "iwconfig" command and found ath0 along with lo, eth0 + wifi0. Nice! ath0 i read was the best?

When trying to use airodump:

airodump-ng --write out --ivs --abg ath0

It wasnt working, i then found out in another forum, i had to put the card into monitor mode(this is when i found out i screwed up the test on my laptop)...this wasnt working. I then found the following command:

wlanconfig ath1 create wlandev wifi0 wlanmode monitor ath1 (im almost 100% sure this is correct, cant find the post with i got this from and im currently in work...will post up the proper one if any different tonight-sorry)

BUT this seemed to work, after hitting enter, i was given ath1 in a blank line.

I then used airodump-ng --write out --ivs --abg ath1

But keep getting

Unreconized option --abg

When i take out --abg it works, i managed to pick up some access points...so wrote down the BSSID + Channel number.

I hit Ctrl C

airodump-ng --channel 11 --write out --ivs ath1

Brings up a window, but nothing was coming up...

Is this because im taking out the --abg (i know that its to search the a,b + g bands) but im not getting whats displayed at http://www.i-hacked.com/content/view/231/42/

Click here to see what i should get:
http://www.i-hacked.com/images/stori...rodump-ng2.jpg

Any suggestions?

Thanks in advance guys
 
Old 01-08-2007, 01:23 PM   #5
ryan944299
LQ Newbie
 
Registered: Dec 2006
Location: Pennsylvania
Posts: 14

Rep: Reputation: 0
Not to steal your thread fracmo but Im having similiar problems although with different hardware. I just have one question to ask for help with that is along the same lines, it might even help solve yours.

My distro (PCLinuxOS) comes with ndiswrapper and I entered the lsmod command and on the list there were two drivers for prism2 usb devices. The device Im trying to use is a D-Link DWL-G122 which I read is prism 2 based. When I open Wireless Assistant or Wireless Network on my distro both cant find the device. Where did I screw up?

Last edited by ryan944299; 01-08-2007 at 01:25 PM.
 
Old 01-10-2007, 12:50 PM   #6
686plus
Member
 
Registered: Nov 2004
Location: Portland, Oregon
Distribution: Ubuntu
Posts: 114

Rep: Reputation: 17
fracmo

As far as putting the wireless into monitor mode I use:
Code:
ifconfig wlan0 up
iwconfig wlan0 mode monitor
I'm not sure if that will work with your setup using ath0.

The abg options are mutually exclusive, they tell airodump to scan only in 2.4GHz or 5GHz. You can't tell it to scan in 2.4 only and 5 only. B and G can be combined. At least that's what I gather from the man page - not 100% sure.

Quote:
When i take out --abg it works, i managed to pick up some access points...so wrote down the BSSID + Channel number.

I hit Ctrl C

airodump-ng --channel 11 --write out --ivs ath1

Brings up a window, but nothing was coming up...
Try setting the channel to 0 (zero) to scan all channels with your original interface:

Code:
airodump-ng -w out c- 0 --ivs ath0
 
Old 01-10-2007, 01:03 PM   #7
fracmo2000
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by 686plus
As far as putting the wireless into monitor mode I use:
Code:
ifconfig wlan0 up
iwconfig wlan0 mode monitor
Yo 686Plus, thanks for getting back to me dude!

Yeah, i tried the above (using ath0 instead)...but it didnt work, i read somewhere to use madwifi drivers i must create an interface using:

wlanconfig ath1 create wlandev wifi0 wlanmode monitor

BUT, im only going with what worked with some other guy with a similar problem.
When doing this, it does appear to work.

Quote:
Originally Posted by 686plus
The abg options are mutually exclusive, they tell airodump to scan only in 2.4GHz or 5GHz. You can't tell it to scan in 2.4 only and 5 only. B and G can be combined. At least that's what I gather from the man page - not 100% sure.
I made a slight mistake, sorry...If i leave it out completly (--abg and --ivs), it seems to scan ok as it did pick up some access points. But i dont want to leave out the --ivs part do i?

Quote:
Originally Posted by 686plus
Try setting the channel to 0 (zero) to scan all channels with your original interface:
Code:
airodump-ng -w out c- 0 --ivs ath0
Never thought of that, assumed you must put in a channel...will again try this out tonight.

Cheers for the advice...wish me luck
 
Old 01-10-2007, 02:06 PM   #8
686plus
Member
 
Registered: Nov 2004
Location: Portland, Oregon
Distribution: Ubuntu
Posts: 114

Rep: Reputation: 17
The -ivs switch will save only unique packets. This is useful if you just want to crack the key.

Without it enabled, it will capture everything. You can then decrypt your out file using Air Decap once you get the key. It can then be opened with a tool like ethereal to examine all the traffic.

Also, I have no experience using atheros cards. I believe they can use the packet injection with Aireplay and speed up the process. It will take some time to gather enough packets without it (unless there is ton of wireless traffic).
 
Old 01-10-2007, 02:15 PM   #9
686plus
Member
 
Registered: Nov 2004
Location: Portland, Oregon
Distribution: Ubuntu
Posts: 114

Rep: Reputation: 17
ryan

I haven't tried any usb wireless adapters. From what I've read, a lot of people have problems. Drivers for specific chipsets sometimes work with only one type of hardware interface (typically pci, pcmcia, usb). Fortunately, the prism2 chipset is widely supported and you may have luck.

If you haven't already, post your question with hardware info in the wireless networking forum. It will get a lot more views that way.

Last edited by 686plus; 01-12-2007 at 01:24 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
bcm43xx or ndiswrapper? FC6 Broadcom Wireless Issues. webgovernor Linux - Wireless Networking 18 05-18-2007 11:45 PM
Driver issues with Broadcom BCM4603 tito2502 Linux - Wireless Networking 2 12-02-2006 06:58 PM
Broadcom 64-bit wireless driver problem vital_101 Ubuntu 2 05-27-2006 04:21 AM
which driver for broadcom wireless on laptop? allelopath Linux - Wireless Networking 6 05-24-2006 11:32 AM
broadcom wireless driver config Dunadan1821 Linux - Wireless Networking 2 09-05-2004 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration