LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-27-2014, 01:37 PM   #1
brgr88
Member
 
Registered: Apr 2006
Distribution: Slackware 14.2
Posts: 48

Rep: Reputation: 15
wpa_supplicant Slack14 Broadcom B43 cannot connect


I have Slackware 14.0 on a Dell Inspiron B130 laptop with a Broadcom BCM4318 wireless adapter.

For the last year and a half, I've been able to connect to my DSL modem with iwconfig just fine. I was using the B43 & fwcutter drivers everyone uses for Broadcoms, and my DSL modem was using WEP OPEN encryption.

My DSL modem died and I bought a new one; this time I wanted to use WPA encryption, but I now cannot get connected with wpa_supplicant.

I have this in /etc/wpa_supplicant.conf:
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="myssid"
proto=WPA
key_mgmt=WPA-PSK
psk=my_psk_as_created_by_wpa_passphrase
}

I use this sequence of commands:
ifconfig wlan0 up
wpa_supplicant -c /etc/wpa_supplicant.conf -i wlan0 -D wext

When I enter the wpa_supp command, I get this, looping forever:
wlan0: Trying to associate with c8:3a:35:2f:11:e1 (SSID='myssid' freq=2457 MHz)
wlan0: Associated with c8:3a:35:2f:11:e1
wlan0: CTRL-EVENT-DISCONNECTED bssid=c8:3a:35:2f:11:e1 reason=0


When I was using WEP OPEN with my old DSL modem, I used this which worked fine:
iwconfig wlan0 essid "myssid" key "mykey"
ifconfig wlan0 up
dhcpcd --quiet wlan0


Is there something else special I'm missing with wpa_supplicant which is causing all those disconnects?
 
Old 03-27-2014, 07:54 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,314
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
Did you read the stick about Broadcom and Linux: http://www.linuxquestions.org/questi...x-4175434970/?
 
Old 03-27-2014, 09:35 PM   #3
brgr88
Member
 
Registered: Apr 2006
Distribution: Slackware 14.2
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by frankbell View Post
Did you read the stick about Broadcom and Linux?
Yes, I did. That, and wireless.kernel.org, was how I got it working originally on my old modem, under WEP & iwconfig. But with my new modem, under WPA, I'm having no luck with wpa_supplicant (granted, I'd never tired WPA with my old modem).

Even when I use WEP/iwconfig with my new modem, I can get it to connect successfully; or when I use the NetworkManager systray thingee under X I can get it to work with WPA/wpa_supplicant; but I'd prefer to do it via the cmdline/scripts and am having no luck that way.

Any suggestions? It obviously works; I'm just doing something wrong in my setup, I'm guessing.
 
  


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
[SOLVED] Broadcom b43 chipset for Mandriva shinga77 Mandriva 1 03-28-2012 06:35 AM
squeeze and broadcom b43 garyozzy Linux - Networking 5 08-27-2010 03:22 AM
Wireless Newtork - B43 Broadcom JavaNinja Fedora 1 06-26-2009 03:22 PM
wireless broadcom B43 Fedora olva Fedora 6 06-13-2009 01:34 AM
Partially solved-broadcom b43 no mac phy0 error-broadcom tnrooster Linux - Wireless Networking 3 03-06-2008 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:40 AM.

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