You are not logged in.
The dmesg output you passed through grep. See post #8, #13, #15 and #16 where you are being asked for the output without the use of grep.
The rest of the last output looked good. You should then have a connection without an IP address. Dhcpcd to start DHCP on that interface.
Offline
I'm literally in the home-stretch! I'm going to post all of my wpa_supplicant outputs here for final debugging and help.
I initialize wpa_supplicant:
[george@archlinux ~]$ sudo wpa_supplicant -B -i $INTER -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicantI then run wpa_cli:
[george@archlinux ~]$ sudo wpa_cli
wpa_cli v2.6
Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Selected interface 'wlp0s20f0u6'
Interactive modeThen I do the following:
> scan
OK
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>CTRL-EVENT-NETWORK-NOT-FOUNDThese seems problematic, but scan results seems to be fine (I changed the results for privacy, shouldn't effect the nature of the problem):
> scan_results
bssid / frequency / signal level / flags / ssid
ba:8d:12:60:e5:8c 2437 -34 [WPA2-PSK-CCMP][ESS] Gary Mandel's Guest Network
b8:8d:12:60:e5:8b 2437 -38 [WPA2-PSK-CCMP][ESS] Gary Mandel's NetworkThen I run the following to connect to the main network:
> add_network
0
> set_network 0 ssid "Gary Mandel's Network"
OK
> set_network 0 psk "6304287649"
OK
> enable_network 0
OK
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>SME: Trying to authenticate with b8:8d:12:60:e5:8b (SSID='Gary Mandel's Network' freq=2437 MHz)
<3>Trying to associate with b8:8d:12:60:e5:8b (SSID='Gary Mandel's Network' freq=2437 MHz)
<3>Associated with b8:8d:12:60:e5:8b
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>CTRL-EVENT-DISCONNECTED bssid=b8:8d:12:60:e5:8b reason=3 locally_generated=1
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>SME: Trying to authenticate with b8:8d:12:60:e5:8b (SSID='Gary Mandel's Network' freq=2437 MHz)
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with b8:8d:12:60:e5:8b (SSID='Gary Mandel's Network' freq=2437 MHz)
<3>Associated with b8:8d:12:60:e5:8b
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>CTRL-EVENT-DISCONNECTED bssid=b8:8d:12:60:e5:8b reason=3 locally_generated=1
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>SME: Trying to authenticate with b8:8d:12:60:e5:8b (SSID='Gary Mandel's Network' freq=2437 MHz)
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with b8:8d:12:60:e5:8b (SSID='Gary Mandel's Network' freq=2437 MHz)
<3>Associated with b8:8d:12:60:e5:8b
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>CTRL-EVENT-DISCONNECTED bssid=b8:8d:12:60:e5:8b reason=3 locally_generated=1
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>SME: Trying to authenticate with b8:8d:12:60:e5:8b (SSID='Gary Mandel's Network' freq=2437 MHz)
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with b8:8d:12:60:e5:8b (SSID='Gary Mandel's Network' freq=2437 MHz)
<3>Associated with b8:8d:12:60:e5:8b
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>CTRL-EVENT-DISCONNECTED bssid=b8:8d:12:60:e5:8b reason=3 locally_generated=1
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Gary Mandel's Network" auth_failures=1 duration=10 reason=CONN_FAILEDI feel like I'm so close to get this to work, any input will be highly appreciated! (And yes, I did alter the network info for confidentiality purposes)
Last edited by gterresterial3 (2018-12-12 22:53:39)
Offline
The dmesg output you passed through grep. See post #8, #13, #15 and #16 where you are being asked for the output without the use of grep.
The rest of the last output looked good. You should then have a connection without an IP address. Dhcpcd to start DHCP on that interface.
I haven't done anything with DHCP yet, was that why I was having issues for my last humongous wpa post?
EDIT:
Is this all I need to do?:
[george@archlinux ~]$ systemctl start dhcpcd.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
Authentication is required to start 'dhcpcd.service'.
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ====Last edited by gterresterial3 (2018-12-12 22:59:22)
Offline
That would start it on all interfaces. I was expecting you to either use `dhcpcd enp0s20f0u6` or `systemctl start dhcpcd@enp0s20f0u6.service`
Did you execute save_config with wpa_cli?
The service is started now so what is the output of `ip a`.
Last edited by loqs (2018-12-12 23:08:22)
Offline
That would start it on all interfaces. I was expecting you to either use `dhcpcd enp0s20f0u6` or `systemctl start dhcpcd@enp0s20f0u6.service`
Did you execute save_config with wpa_cli?
The service is started now so what is the output of `ip a`.
Saved wpa_cli even though I got the error. Also, I installed using NetworkManager, so shouldn't I use that instead of dhcpcd?
Here's my results:
[george@archlinux ~]$ sudo systemctl start dhcpcd@enp0s20f0u6.service
[sudo] password for george:
A dependency job for dhcpcd@enp0s20f0u6.service failed. See 'journalctl -xe' for details.Journal results:
-- The result is dependency.
Dec 12 11:18:58 archlinux systemd[1]: dhcpcd@enp0s20f0u6.service: Job dhcpcd@enp0s20f0u6.service/start failed with result 'dependency'.
Dec 12 11:18:58 archlinux systemd[1]: sys-subsystem-net-devices-enp0s20f0u6.device: Job sys-subsystem-net-devices-enp0s20f0u6.device/start failed with result 'timeout'.
Dec 12 11:18:58 archlinux sudo[3795]: pam_unix(sudo:session): session closed for user root
Dec 12 11:19:25 archlinux NetworkManager[424]: <info> [1544635165.7230] device (wlp0s20f0u6): set-hw-addr: set MAC address to 02:B6:06:CD:12:3E (scanning)
Dec 12 11:19:25 archlinux kernel: rtl8192cu: MAC auto ON okay!
Dec 12 11:19:25 archlinux kernel: rtl8192cu: Tx queue select: 0x05
Dec 12 11:19:26 archlinux NetworkManager[424]: <info> [1544635166.2149] device (wlp0s20f0u6): supplicant interface state: inactive -> disabled
Dec 12 11:19:26 archlinux kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20f0u6: link is not ready
Dec 12 11:19:26 archlinux NetworkManager[424]: <info> [1544635166.2757] device (wlp0s20f0u6): supplicant interface state: disabled -> inactiveip a results:
[george@archlinux ~]$ ip a
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: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 70:4d:7b:2c:c7:e3 brd ff:ff:ff:ff:ff:ff
inet 10.0.1.156/24 brd 10.0.1.255 scope global dynamic noprefixroute enp0s31f6
valid_lft 83415sec preferred_lft 83415sec
inet 10.0.1.158/24 brd 10.0.1.255 scope global secondary noprefixroute enp0s31f6
valid_lft forever preferred_lft forever
inet6 fe80::5373:3f4b:1712:7acc/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp0s20f0u6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 02:b6:06:cd:12:3e brd ff:ff:ff:ff:ff:ffOffline
NetworkManager is an alternative to wpa_cli / dhcpcd having both attempting to control the same device leads to issues.
No carrier on wlp0s20f0u6 so you can stop all the dhcpcd services you started the association step with the access point failed.
Last edited by loqs (2018-12-12 23:27:07)
Offline
NetworkManager is an alternative to wpa_cli / dhcpcd having both attempting to control the same device leads to issues.
No carrier on wlp0s20f0u6 so you can stop all the dhcpcd services you started the association step with the access point failed.
Yep, that's what did the trick! Must be why all the other alternatives didn't work. Now I just need to find a way to get this to work automatically on boot.
Offline
Now I just need to find a way to get this to work automatically on boot.
Ensure the following are installed;
wpa_actiond
wpa_supplicant
dialogThen;
$ systemctl enable --now netctl-auto@enp0s20f0u6.service
$ wifi-menu... # log into your wireless network via dialog ...
Interface 'enp0s20f0u6' is controlled by netctl-auto
$Moving forward, just connect to a wireless network via that interface with wifi-menu.
The profiles will be stored in /etc/netctl/
See;
https://wiki.archlinux.org/index.php/Netctl#Wireless
Last edited by S3NTYN3L (2018-12-24 08:44:25)
Offline