You are not logged in.

#1 2017-09-01 11:38:02

Shim
Member
Registered: 2013-08-23
Posts: 21

wpa_supplicant issues

I am not sure what the problem is but I can't connect to wifi network at work (wpa2 security). The error I get with journalctl -xe says that wpa_supplicant did not start for interface 'wlo1'. Failed to bring network up. There were similar threads, but it doesn't solve my problem.
I don't have a problem connecting to network at home. I also tried to connect to neighbor's network, couldn't really connect since I don't know password but everything looked fine.  iwconfig output at home looks as following:

enp0s25   no wireless extensions.

lo        no wireless extensions.

wlo1      IEEE 802.11  ESSID:"XXXXXX"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: F8:E4:FB:01:C4:E8   
          Bit Rate=6.5 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=46/70  Signal level=-64 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:28   Missed beacon:0
 

At work everything was off.
I use wifi-menu to connect to a network. Any suggestions what I should look at? Thank you.

Offline

#2 2017-09-01 15:01:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 14,996

Re: wpa_supplicant issues

I would be interested in seeing the output of sudo iw wlo1 scan when you are at work.  Also, the output of iw phy would be helpful.

Your connection at home is not very, er, impressive.  How far are you from the router?  I would expect a bit more than 6.5 Mb/s and signal levels higher than -64dBm.

On the 5GHz band, I am 10m and one wall away from the router:

ewaller@turing ~/devel/python 1236 %iwconfig
br0       no wireless extensions.

tap1      no wireless extensions.

lo        no wireless extensions.

eno1      no wireless extensions.

wlo1      IEEE 802.11  ESSID:"<redacted>"  
          Mode:Managed  Frequency:5.22 GHz  Access Point: D0:17:C2:60:24:5C   
          Bit Rate=433.3 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=67/70  Signal level=-43 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:32073   Missed beacon:0

ewaller@turing ~/devel/python 1237 %

 
You have about 1% of the signal level I have.

What chipset are you using?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
----
How to Ask Questions the Smart Way

Online

#3 2017-09-01 15:37:10

Shim
Member
Registered: 2013-08-23
Posts: 21

Re: wpa_supplicant issues

ewaller wrote:

I would be interested in seeing the output of sudo iw wlo1 scan when you are at work.  Also, the output of iw phy would be helpful.

I won't be at work till Tuesday, I'll post it then.


ewaller wrote:

Your connection at home is not very, er, impressive.  How far are you from the router?  I would expect a bit more than 6.5 Mb/s and signal levels higher than -64dBm.

On the 5GHz band, I am 10m and one wall away from the router:

You have about 1% of the signal level I have.

What chipset are you using?

Yeah, I'm pretty far from the router (couple of walls and a floor away)

lspci -vv -s 24:00.0
24:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
        Subsystem: Intel Corporation Centrino Advanced-N 6205 (802.11a/b/g/n)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 34
        Region 0: Memory at d4400000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Offline

#4 2017-09-01 16:01:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 14,996

Re: wpa_supplicant issues

That should be a well supported chipset.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
----
How to Ask Questions the Smart Way

Online

#5 2017-09-06 20:25:06

Shim
Member
Registered: 2013-08-23
Posts: 21

Re: wpa_supplicant issues

So, here are the outputs of journalctle -xe, iw wlo1 status and iw phy:

sudo iw wlo1 scan
command failed: Network is down (-100)
sudo iw phy
Wiphy phy0
        max # scan SSIDs: 20
        max scan IEs length: 195 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CCMP-256 (00-0f-ac:10)
                * GCMP-128 (00-0f-ac:8)
                * GCMP-256 (00-0f-ac:9)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
        Band 1:
                Capabilities: 0x107e
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT Max RX data rate: 300 Mbps
                HT TX/RX MCS rate indexes supported: 0-15
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (15.0 dBm)
                        * 2417 MHz [2] (15.0 dBm)
                        * 2422 MHz [3] (15.0 dBm)
                        * 2427 MHz [4] (15.0 dBm)
                        * 2432 MHz [5] (15.0 dBm)
                        * 2437 MHz [6] (15.0 dBm)
                        * 2442 MHz [7] (15.0 dBm)
                        * 2447 MHz [8] (15.0 dBm)
                        * 2452 MHz [9] (15.0 dBm)
                        * 2457 MHz [10] (15.0 dBm)
                        * 2462 MHz [11] (15.0 dBm)
                        * 2467 MHz [12] (15.0 dBm) (no IR)
                        * 2472 MHz [13] (15.0 dBm) (no IR)
        Band 2:
                Capabilities: 0x107e
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT Max RX data rate: 300 Mbps
                HT TX/RX MCS rate indexes supported: 0-15
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5180 MHz [36] (15.0 dBm) (no IR)
                        * 5200 MHz [40] (15.0 dBm) (no IR)
                        * 5220 MHz [44] (15.0 dBm) (no IR)
                        * 5240 MHz [48] (15.0 dBm) (no IR)
                        * 5260 MHz [52] (15.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (15.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (15.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (15.0 dBm) (no IR, radar detection)
                        * 5500 MHz [100] (15.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (15.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (15.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (15.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (15.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (15.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (15.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (15.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (15.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (15.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (15.0 dBm) (no IR, radar detection)
                        * 5745 MHz [149] (15.0 dBm) (no IR)
                        * 5765 MHz [153] (15.0 dBm) (no IR)
                        * 5785 MHz [157] (15.0 dBm) (no IR)
                        * 5805 MHz [161] (15.0 dBm) (no IR)
                        * 5825 MHz [165] (15.0 dBm) (no IR)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * new_mpath
                 * set_mesh_config
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * join_mesh
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * set_mcast_rate
                 * connect
                 * disconnect
                 * set_qos_map
                 * Unknown command (121)
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        WoWLAN support:
                 * wake up on disconnect
                 * wake up on magic packet
                 * wake up on pattern match, up to 20 patterns of 16-128 bytes,
                   maximum packet offset 0 bytes
                 * can do GTK rekeying
                 * wake up on GTK rekey failure
                 * wake up on EAP identity request
                 * wake up on rfkill release
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ managed } <= 1, #{ AP } <= 1,
                   total <= 2, #channels <= 1, STA/AP BI must match
                 * #{ managed } <= 2,
                   total <= 2, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports SAE with AUTHENTICATE command
        Device supports scan flush.
        Device supports per-vif TX power setting
        Driver supports full state transitions for AP/GO clients
        Driver supports a userspace MPM
        Device supports static SMPS
        Device supports dynamic SMPS
        Device supports configuring vdev MAC-addr on create.
journalctl -xe
Sep 05 09:02:37 VW dhcpcd[22905]: wlo1: removing interface
Sep 05 09:02:37 VW dhcpcd[22905]: dhcpcd exited
Sep 05 09:02:38 VW network[24182]: Stopped network profile 'YYYY'
Sep 05 09:02:38 VW systemd[1]: Stopped Networking for netctl profile YYYY.
-- Subject: Unit netctl@YYYY.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@YYYY.service has finished shutting down.
Sep 05 09:02:38 VW systemd[1]: Starting Networking for netctl profile wlo1-XXXX...
-- Subject: Unit netctl@wlo1\x2dXXXX.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@wlo1\x2dXXXX.service has begun starting up.
Sep 05 09:02:38 VW network[24202]: Starting network profile 'wlo1-XXXX'...
Sep 05 09:02:38 VW network[24202]: Line 5: Invalid passphrase length 0 (expected: 8..63) '"'.
Sep 05 09:02:38 VW network[24202]: Line 5: failed to parse psk '""'.
Sep 05 09:02:38 VW network[24202]: Line 7: failed to parse network block.
Sep 05 09:02:38 VW network[24202]: Failed to read or parse configuration '/run/netctl/wpa_supplicant-wlo1.conf'.
Sep 05 09:02:39 VW network[24202]: The WPA supplicant did not start for interface 'wlo1'
Sep 05 09:02:39 VW network[24202]: Failed to bring the network up for profile 'wlo1-XXXX'
Sep 05 09:02:39 VW systemd[1]: netctl@wlo1\x2dXXXX.service: Main process exited, code=exited, status=1/FAILURE
Sep 05 09:02:39 VW systemd[1]: Failed to start Networking for netctl profile wlo1-XXXX.
-- Subject: Unit netctl@wlo1\x2dXXXX.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@wlo1\x2dXXXX.service has failed.
-- 
-- The result is failed.
Sep 05 09:02:39 VW systemd[1]: netctl@wlo1\x2dXXXX.service: Unit entered failed state.
Sep 05 09:02:39 VW systemd[1]: netctl@wlo1\x2dXXXX.service: Failed with result 'exit-code'.
Sep 05 09:02:44 VW sudo[23893]: pam_unix(sudo:session): session closed for user root
Sep 05 09:02:52 VW sudo[24225]:     user : TTY=pts/1 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/iw wlo1 scan
Sep 05 09:02:52 VW sudo[24225]: pam_unix(sudo:session): session opened for user root by user(uid=0)
Sep 05 09:02:52 VW sudo[24225]: pam_unix(sudo:session): session closed for user root
Sep 05 09:04:01 VW sudo[24237]:     user : TTY=pts/1 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/iw phy
Sep 05 09:04:01 VW sudo[24237]: pam_unix(sudo:session): session opened for user root by user(uid=0)
Sep 05 09:04:01 VW sudo[24237]: pam_unix(sudo:session): session closed for user root

Last edited by Shim (2017-09-06 20:57:52)

Offline

Board footer

Powered by FluxBB