LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 09-02-2006, 03:56 PM   #1
joseph7
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Rep: Reputation: 0
Broadcom bcm 4306 ip address problem


I am running the folowing:

Fedora Core 5
Kernel 2.6.17-1.2174_FC5
BroadCom BCM 4306 (Dell TrueMobile 1300)
using bcm43xx driver
bcm43xx-fwcutter tool
installed the firmware

Every thing went fine through the console.

Upon setting up the final settings within the Network Configuration Box i restarted as directed. then i went to make the wireless connection active. it tried to acquire an ip address but it could not recieve it from my router.

Router Specs.
Linksys WRT54GS v.4
firmware hyperwrt 2.1b1 + thibor 15c

Wireless Security
Sec Type: WPA2 Personal
Algorithim: TKIP + AES

Now in the Network Configurations box of fedora i set the network key as my passphrase that i would normally use when access the internet from my windows box using the linksys network software.

What am i doing wrong?
Does this driver support my security setup?

Thank you for any help?

Last edited by joseph7; 09-02-2006 at 06:29 PM.
 
Old 09-02-2006, 06:29 PM   #2
joseph7
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Original Poster
Rep: Reputation: 0
I think that i have found the problem:
Did a little research and i have found that i need:
1. Softmac
2. WPA_Supplicant

Can anyone help me install these two items?
 
Old 09-03-2006, 09:08 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
1) Softmac is part of the kernel, and actually you can't compile bmc43xx unless Softmac is enabled. If you're using a stock kernel and it has bcm43xx, then Softmac is already enabled.

2) I have a section on getting wpa_supplicant running on my help site (see my sig for a link). Basically you have to compile it with the wext driver, which works with bcm43xx.
 
Old 09-03-2006, 01:18 PM   #4
joseph7
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Hangdog42,

I downloaded the rpms for fedora 5 from atrpms.net.

I downloaded

wpa_supplicant-0.4.9-15.fc5.at.i386.rpm

wpa_supplicant-gui-0.4.9-15.fc5.at.i386.rpm

but i have been reading on your site and others in which i found very informational.

I have 3 questions
1. do i need 'wext driver' if i use the rpm?
2. should i use the rpm or the source?
3. i know that your site is mainly for slack but how close is it to fedora core 5, kernel 2.6.17-1.2174_fc5 command wise?

Last edited by joseph7; 09-03-2006 at 01:20 PM.
 
Old 09-04-2006, 08:56 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Good questions:

1) The wext driver is part of wpa_supplicant, so you do have to use regardless of how you install wpa_supplicant. Wext is how wpa_supplicant and bcm43xx communicate.

2) I would try using the rpm rather than the source, at least for starters. The only real problem might be if the rpm wasn't compiled with wext enabled. However, since that driver is used for other instances besides bcm43xx, I would bet that the rpm does have it. At any rate, try the rpm first and if that doesn't work you can always uninstall it and go from source.

3) At least for the console, the commands between Fedora and Slackware should be exactly the same. The major differences between Fedora and Slackware are 1) The package system (RPM vs. Slackware's .tgz) 2) file location (Slackware puts system files in a slightly different location than Fedora) and 3) GUI tools that Fedora provides that aren't included in Slackware. However, the kernel and the overwhelming majority of the supporting software are exactly the same between the two distros.
 
Old 09-05-2006, 10:22 AM   #6
joseph7
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Original Poster
Rep: Reputation: 0
I installed the rpms of wpa_supplicant and the gui for wpa_supplicant. I edited the supplicant config file to meet my network setup.but i have the following problems and i know that it must be something that i am over looking:

the supplicant config file i started from a blank file.I copied and pasted the minimum of what i thought i would need.

Upon booting when my network connections are brought up and activated, eth1 (wireless connection) can not obtain an ip and it advises me to check cable.

when i run as 'root' the commands, 'iwlist scanning', i get the following
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.

Warning: Driver for device eth1 has been compiled with version 20 of wireless extension, while this program supports up to version 19. Some things may be broken...

eth1 Interface doesn't support scanning. : no such device
sit0 Interface doesn't support scanning.

Now 'eth1' is my wireless connection.

I have read that i might have the wrong firmware version. i used the bcm43xx projects driver. I am thinking of using dells driver.

Also it is listed and seen by the OS.

'iwconfig'
eth1 IEEE 802.11b/g ESSID:"GHOSTGROUP_002
NICKNAME:"localhost.localdomain
Mode:Managed Freguency=2.437 GHz Access Point: Invalid
Bit Rate=11 Mb/s
RTS thrff Fragment thrff
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
Security modepen
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


the XXXX-XXXX- are put there for posting only.
I also have tried to upgrade wireless-tools using yum, it checks the repository and then says that there is 'nothing to do'


What do think it is?
I have to be overlooking something.

Anyway thanks for the help and any further help you can give.

Last edited by joseph7; 09-05-2006 at 10:23 AM.
 
Old 09-05-2006, 12:35 PM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
I have read that i might have the wrong firmware version. i used the bcm43xx projects driver. I am thinking of using dells driver.
You could use the Dell driver, but I believe that the wl_apsta.o file is considered the "best" source for firmware. That is what I've been using and it has been working fine.

Also, from your iwconfig output:
Quote:
Access Point: Invalid
That isn't good. You should be seeing the MAC address of your AP there. I'm wondering if you have really associated with the access point.

For wpa_supplicant, it would be a good idea to post your wpa_supplicant.conf file (editing out private info of course) so we can take a look and see if it is proper. I would also strongly suggest avoiding the GUI tools for now until we can figure out if it is working or not.

Quote:
I also have tried to upgrade wireless-tools using yum, it checks the repository and then says that there is 'nothing to do
That isn't that surpriseing. You probably need to use the beta version to get that error message to go away, and that probably isn't in a repository. I would ignore this problem for now and we'll see if we need to address it later.
 
Old 09-05-2006, 12:54 PM   #8
joseph7
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Original Poster
Rep: Reputation: 0
wpa_supplicant.conf


# WPA-PSK/TKIP

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1

network={
ssid="GHOSTGROUP_002"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk="my passphrase - not hex key"
}


Now i placed the above information via copy and paste from another online config. file that was there as an example and i added my information to it.
but as i stated before i feel that i did something wrong or i have overlooked something.

does it matter as for the algorithim that i am using TKIP+AES?

I also dont think that it is associating with the AP.

Again Thank you for your time.

also i am not using ndiswrapper. I believe that i read correctly that i do not need it due to the built in functions of core 5. is this correct?

Last edited by joseph7; 09-05-2006 at 02:19 PM.
 
Old 09-05-2006, 02:56 PM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
also i am not using ndiswrapper. I believe that i read correctly that i do not need it due to the built in functions of core 5. is this correct?
That is correct. Ndiswrapper is a hack that allows Windows drivers to function in Linux, so as long as you are using bcm43xx, you don't need ndiswrapper. If you do ever use ndiswrapper, remember that you can't have both ndiswrapper and bcm43xx loaded at the same time. That causes all sorts of trouble.

Quote:
does it matter as for the algorithim that i am using TKIP+AES?
Good question and I wish I knew the answer. I don't use WPA enough to really know. For the WPA networks I do use, my wpa_supplicant.conf looks similar to yours. However, there are a few differences, so here is what mine looks like:

Code:
network={
ssid="WPA_NETOWRK_SSID"
scan_ssid=1
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="WPA_Passphrase"
priority=1
}
One major difference is that I don't have the ctrl_interface or update_config lines in mine. I just start in with network={.

Also, I start wpa_supplicant from the command line like this:

wpa_supplicant -Bw -Dwext -c/etc/wpa_supplicant.conf -ieth0


What I would do at this point is to actually (and temporarily) turn off WPA encryption and see if you can associate and get an IP address with no encryption used. If that works, then we know we have to work on wpa_supplicant. If it doesn't, we know we have a driver problem.
 
Old 09-05-2006, 04:30 PM   #10
joseph7
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Original Poster
Rep: Reputation: 0
I disabled my security on my AP.

Restarted my laptop with no avail.
it can not obtain an ip address. i now believe it is a driver problem. i am going to try and reinstall my driver after i reverify its version.

Thanks


oh man i just thought of something...I did attempt to install ndiswrapper. and i got the CONFIG 4K STACK error. i am wondering if it is loading also. Ill have to check and repost later.

Last edited by joseph7; 09-05-2006 at 04:32 PM.
 
Old 09-05-2006, 04:57 PM   #11
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Yeah, have a look at the output of lsmod and see if ndiswrapper is loading. That will screw things up if it is.

Also, have a read through your logs and see if bcm43xx/softmac are complaining about anything. It could be a DHCP problem rather than a driver problem. One thing you could try is assigning a static IP:

1) ifconfig eth1 192.168.x.x
2) route add default gw xxx.xxx.xxx.xxx Where xxx is the IP address of your router
3) edit /etc/resolv.conf to include your ISP's nameservers. For each one, add the line nameserver yyy.yyy.yyy.yyy where yyy is the IP address for the nameserver.
 
Old 09-05-2006, 05:40 PM   #12
joseph7
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Well it seems that i over looked a minor item when i disabled AP Security.

Last night i changed my AP's channel from 11 to 6 and earlier today when i did as you suggested, i still couldnt connect. well i went into network configuration gui i noticed that it was trying to connect on channel 11 so i changed it to 6 and removed the pass phrase. then i deactivated the 10/100 nic and activated eth1 my wireless with success. i was able to connect to google and googled using No Security on the AP. So i have to say that it is a misconfigured wpa_suppliment. I also changed my wpa_supp. config file to mimic yours except for my AP info. i then reapplied ap security and i could not connect. it did seen to hang when i tried to activate the wireless connection, it kept trying to acquire an ip address but failed.


I am going to try the static setup.

results of lsmod:

[root@localhost Ghostrider]# /sbin/lsmod
Module Size Used by
ppdev 9157 0
autofs4 21701 1
hidp 16833 2
rfcomm 37332 0
l2cap 23873 10 hidp,rfcomm
bluetooth 47909 5 hidp,rfcomm,l2cap
sunrpc 157309 1
arc4 2241 1
ieee80211_crypt_wep 5569 1
ip_conntrack_netbios_ns 3265 0
ipt_REJECT 5569 1
xt_state 2497 2
ip_conntrack 52597 2 ip_conntrack_netbios_ns,xt_state
nfnetlink 7257 1 ip_conntrack
xt_tcpudp 3393 4
iptable_filter 3265 1
ip_tables 12809 1 iptable_filter
x_tables 14917 4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
video 16709 0
button 6993 0
battery 10053 0
ac 5189 0
ipv6 243809 12
lp 12937 0
parport_pc 27237 1
parport 37129 3 ppdev,lp,parport_pc
ehci_hcd 32461 0
uhci_hcd 23885 0
ohci1394 34821 0
ieee1394 298649 1 ohci1394
joydev 9985 0
bcm43xx 422209 0
ieee80211softmac 31553 1 bcm43xx
ieee80211 31625 2 bcm43xx,ieee80211softmac
ieee80211_crypt 6849 2 ieee80211_crypt_wep,ieee80211
nvidia 4555412 8
i2c_core 22209 1 nvidia
snd_intel8x0m 17229 0
b44 25293 0
mii 5697 1 b44
serio_raw 7621 0
snd_intel8x0 32221 1
snd_ac97_codec 92257 2 snd_intel8x0m,snd_intel8x0
snd_ac97_bus 2625 1 snd_ac97_codec
snd_seq_dummy 4165 0
snd_seq_oss 32705 0
snd_seq_midi_event 7745 1 snd_seq_oss
snd_seq 53553 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 9037 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 40017 0
snd_mixer_oss 17729 1 snd_pcm_oss
snd_pcm 83781 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pc m_oss
snd_timer 24517 2 snd_seq,snd_pcm
snd 55237 12 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_s eq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 10017 1 snd
snd_page_alloc 10569 3 snd_intel8x0m,snd_intel8x0,snd_pcm
dm_snapshot 18285 0
dm_zero 2241 0
dm_mirror 22673 0
dm_mod 59225 6 dm_snapshot,dm_zero,dm_mirror
ext3 129353 2
jbd 57813 1 ext3


I don't see any ndiswrapper module or any relating modules to ndiswrapper.

going to check my logs and see if the static setup works.

Thanks

Last edited by joseph7; 09-05-2006 at 05:52 PM.
 
Old 09-06-2006, 02:26 PM   #13
joseph7
LQ Newbie
 
Registered: Sep 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Thumbs up

Hangdog42,

Just wanted to say thanks for all the help. I was able to connect to my ap useing WPA. i noticed that wpa_supplicant
(/etc/sysconfig/wpa_supplicant)
was calling my wireless connection iwlan0 and i had it labeled as eth1. so i edited the .conf file to call it eth1 then used, /sbin/service wpa_supplicant start , and wel it obtained an ip rather quickly. i left the wpa_supplicant.conf file untouched(in which i just basicly copied yours from the post into mine). well all works and i appreciate all your help.

Joseph
 
Old 09-06-2006, 03:54 PM   #14
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Congrats! I'm glad I could point you to a solution.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom V.92 BCM Modem on Dell Inspiron 1100 with Fedora Core 3 Dark_Wolf Linux - Hardware 3 05-08-2006 10:40 AM
broadcom bcm 4306 and linux drivers lovethepirk Linux - Software 7 11-21-2005 12:58 PM
Wth is the deal with these Broadcom 4306 based chipset PAH-1020 Linux - Hardware 4 03-20-2005 05:36 PM
Has anybody any experience with Broadcom BCM 4212 V.92 modem with Slack ? angeloio Slackware 0 08-05-2004 04:45 AM
Mandrake 9.2 Broadcom (BCM) modem driver?? Nilihanth Mandriva 2 11-07-2003 11:19 PM


All times are GMT -5. The time now is 03:35 PM.

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