LinuxQuestions.org
Help answer threads with 0 replies.
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 07-30-2017, 02:26 AM   #1
jlj945
LQ Newbie
 
Registered: Jul 2017
Posts: 9

Rep: Reputation: Disabled
Cannot connect to secured networks


I have been at this for hours now. I have 2008 MacBook, with a broadcom wireless card. Don't think of the computer as a mac though, its just an intel C2D laptop. I started today out by installing the latest version of Mint, and soon learned that I had to install drivers for broadcom cards. Which was very easy. The problem is that it WILL NOT connect to my networks (2.4ghz and 5ghz). It sees the networks along with the 40 other networks at my apartment complex. After I type in the WPA2 password it continuously asks me for the password, and refuses to connect. After about 2 hours of this I opted for installing fedora which I've had better success with personally in the past. Fedora 26 installed SAME PROBLEM. I've been at this for another 3 hours and nothing. Just keeps asking for the password over and over. I've tried wicd, uninstalling and reinstalling drivers. Rebooting, everything people have already suggested. I'm mainly asking this because every other forum I've seen is this exact problem but on a much older distro from like 2014. I try what they say fixed it, and it doesnt work.

Its not a hardware problem, wifi works fine in Mac OS X and Windows.
Ethernet works. Everything else on this laptop works fine. But without wifi, its basically useless to me, and as a 2008 macbook I'm stuck on an "obsolete" version of Mac OS.

Yes, I have searched. for hours. read every thread on every linux forum ever and tried 70 different things.

On another note, if there is no way to fix this can anyone recommend a miniPCIe wireless card that is out of the box compatible with linux, and Mac OS X as well?
 
Old 07-30-2017, 02:35 AM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Have you only tried connecting and/or configuring via gui applications?
Have you checked configuration files and verified the proper driver is loaded without error?
You mention that you "opted for installing fedora" but don't mention the initial OS, or which you want help with configuring. Steps may differ.

Have a look at how to ask a good question here https://www.linuxquestions.org/linux...Ask_a_Question.

You say you tried "70 things". Let's not waste time repeating those 70 things. Help us help you

What's the output of
Code:
lspci -nnk | grep -i network
Edit: my bad, you do mention Mint. I missed that

Last edited by TheEzekielProject; 07-30-2017 at 02:42 AM.
 
Old 07-30-2017, 02:41 AM   #3
jlj945
LQ Newbie
 
Registered: Jul 2017
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TheEzekielProject View Post
Have you only tried connecting and/or configuring via gui applications?
Have you checked configuration files and verified the proper driver is loaded without error?
You mention that you "opted for installing fedora" but don't mention the initial OS, or which you want help with configuring. Steps may differ.
Yes fedora is installed currently, I had the same result with both. I am familiar with linux for the most part but a noob when it comes to most command line stuff. I have tried configuring with both Gnomes included network manager and wicd as far as gui apps go.
I used the command line to install/uninstall drivers and network managers.
 
Old 07-30-2017, 02:46 AM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
If both network manager and wicd are installed and trying to control the same card you may have issues. However, if you disabled one service before enabling the other you should be ok.

The output of the command in my first reply from a root terminal will be helpful
 
Old 07-30-2017, 02:52 AM   #5
jlj945
LQ Newbie
 
Registered: Jul 2017
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TheEzekielProject View Post
If both network manager and wicd are installed and trying to control the same card you may have issues. However, if you disabled one service before enabling the other you should be ok.

The output of the command in my first reply from a root terminal will be helpful
I completely removed one network manager when installing the other.. and vice versa.

Heres the output:
02:00.0 Network controller [0280]: Broadcom Limited BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)

and yeah sorry for my long rant in the OP lol I got a little agitated with this.
 
Old 07-30-2017, 03:13 AM   #6
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
What is the output of
Code:
ip a
?
These commands are just checking to make sure the hardware is detected and if the interface is up.

Also, if you put the output from terminal commands in code tags, it makes it much more readable. [ code ] [ /code ] without spaces.

Also edited command ip command lol

Last edited by TheEzekielProject; 07-30-2017 at 03:15 AM.
 
Old 07-30-2017, 03:17 AM   #7
jlj945
LQ Newbie
 
Registered: Jul 2017
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yeah I forgot about the tags

Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:1f:f3:55:0d:3e brd ff:ff:ff:ff:ff:ff
3: wls4: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state DORMANT mode DORMANT group default qlen 1000
    link/ether 4a:7d:a3:ab:71:64 brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:0f:e1:35 brd ff:ff:ff:ff:ff:ff
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:0f:e1:35 brd ff:ff:ff:ff:ff:ff
 
Old 07-30-2017, 03:22 AM   #8
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Sorry, I have edited the ip command above. I meant "ip a", not "ip link"
 
Old 07-30-2017, 03:24 AM   #9
jlj945
LQ Newbie
 
Registered: Jul 2017
Posts: 9

Original Poster
Rep: Reputation: Disabled
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:1f:f3:55:0d:3e brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.110/24 brd 192.168.1.255 scope global dynamic ens5
       valid_lft 2622471sec preferred_lft 2622471sec
    inet6 2605:e000:1b02:c096:8b64:6bc:46cc:b1af/64 scope global noprefixroute dynamic 
       valid_lft 596634sec preferred_lft 596634sec
    inet6 fe80::1ab3:96a8:85a1:d425/64 scope link 
       valid_lft forever preferred_lft forever
3: wls4: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state DORMANT group default qlen 1000
    link/ether 76:b5:48:9a:d4:43 brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:0f:e1:35 brd ff:ff:ff:ff:ff:ff
    inet 192.168.124.1/24 brd 192.168.124.255 scope global virbr0
       valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:0f:e1:35 brd ff:ff:ff:ff:ff:ff
 
Old 07-30-2017, 03:35 AM   #10
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Ok, if you have wpa_supplicant installed (i'm not sure what the exact package name is in yum), you can see if you can get a basic connection with
Code:
wpa_supplicant -i wls4 -c <(wpa_passphrase "network name" "password")
 
Old 07-30-2017, 03:36 AM   #11
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
You will want to disable any network managers before running the wpa supplicant command. And it does need a root terminal, not just prepended with sudo or it may not work properly
 
Old 07-30-2017, 03:48 AM   #12
jlj945
LQ Newbie
 
Registered: Jul 2017
Posts: 9

Original Poster
Rep: Reputation: Disabled
That came out with it saying Wrong Key. And it is still running this over and over as I post
Code:
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
I know it isn't the wrong key. I also went into the router to double check, and made sure the router was only on WPA2 and not mixed mode.

Code:
Successfully initialized wpa_supplicant
wls4: Trying to associate with 94:10:3e:19:d7:ec (SSID='FBI Surveillance Van #2' freq=2417 MHz)
wls4: CTRL-EVENT-DISCONNECTED bssid=94:10:3e:19:d7:ec reason=0
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wls4: Associated with 94:10:3e:19:d7:ec
wls4: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wls4: CTRL-EVENT-DISCONNECTED bssid=94:10:3e:19:d7:ec reason=0
wls4: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wls4: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="FBI Surveillance Van #2" auth_failures=1 duration=10 reason=WRONG_KEY
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
wls4: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
wls4: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US

Last edited by jlj945; 07-30-2017 at 03:50 AM.
 
Old 07-30-2017, 04:07 AM   #13
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Is it a very complex password? Try
Code:
wpa_supplicant -i wls4 -c <(wpa_passphrase "network name" <<< "password")
instead. If that still doesn't work, we'll make a configuration file

Last edited by TheEzekielProject; 07-30-2017 at 04:10 AM.
 
Old 07-30-2017, 04:07 AM   #14
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Oh, also, anytime something is in a loop in terminal ctrl+c, should kill it

If the edited wpa_supplicant command above is successful, try to get an ip from the router
Code:
dhclient -v wls4

Last edited by TheEzekielProject; 07-30-2017 at 04:16 AM.
 
Old 07-30-2017, 08:43 PM   #15
jlj945
LQ Newbie
 
Registered: Jul 2017
Posts: 9

Original Poster
Rep: Reputation: Disabled
This is the output of the wpa supplement command

Code:
Successfully initialized wpa_supplicant
nl80211: deinit ifname=wls4 disabled_11b_rates=0
wls4: Failed to initialize driver interface
 
  


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
Cannot connect to secured wireless four20 Slackware 7 04-22-2009 06:29 PM
Can't connect on a secured wireless connection LittleHorse Linux - Wireless Networking 1 07-20-2008 08:27 PM
Unable to connect to secured sites. OutKaster Linux - Networking 1 07-27-2007 05:15 PM
Trying to connect to secured router. replica9000 Linux - Wireless Networking 2 05-11-2007 07:18 AM
can't connect to secured network gonnafail Linux - Wireless Networking 3 09-08-2005 12:23 PM

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

All times are GMT -5. The time now is 09:56 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