FS#48896 - [wpa_supplicant] -q option not work

Attached to Project: Arch Linux
Opened by Tommy Zhang (T-J-M) - Monday, 11 April 2016, 17:56 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 09 December 2016, 21:29 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I have tried to use wpa_supplication to connect to my home wifi, but:
1) if I use wpa_passphrase my-ssid my-pass | sudo wpa_supplicant -q -D wext -i wlp3s0 -c /dev/stdin I cannot connect to my wifi
2) if I use wpa_passphrase my-ssid my-pass | sudo wpa_supplicant -D wext -i wlp3s0 -c /dev/stdin I can connect to my wifi
3) if I use netctl and I cannot connect to my wifi. And via ps -ef command I see that it use -q with wpa_supplicant
4) with journalctl and manually use dhcpcd I found that if I use -q with wpa_supplicant, there is no response of a dhcp discovery
Additional info:
Here comes pacman -Qi:

Name : wpa_supplicant
Version : 1:2.5-3
Description : A utility providing key negotiation for WPA wireless networks
Architecture : x86_64
URL : http://hostap.epitest.fi/wpa_supplicant
Licenses : GPL
Groups : None
Provides : None
Depends On : openssl libdbus readline libnl
Optional Deps : wpa_supplicant_gui: wpa_gui program
Required By : None
Optional For : netctl
Conflicts With : None
Replaces : None
Installed Size : 1981.00 KiB
Packager : Florian Pritz <bluewind@xinu.at>
Build Date : Thu Mar 3 02:28:04 2016
Install Date : Thu Mar 24 11:14:49 2016
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

Here comes that journal, and "4月" means April
4月 11 23:47:39 ArchPad network[19811]: Starting network profile 'wlp3s0-TP-1602'...
4月 11 23:47:41 ArchPad dhcpcd[19891]: DUID 00:01:00:01:1e:86:20:b0:30:10:b3:94:a7:9c
4月 11 23:47:41 ArchPad dhcpcd[19891]: wlp3s0: IAID b3:94:a7:9c
4月 11 23:47:41 ArchPad dhcpcd[19891]: wlp3s0: soliciting a DHCP lease
4月 11 23:48:11 ArchPad dhcpcd[19891]: timed out
4月 11 23:48:11 ArchPad network[19811]: DHCP IPv4 lease attempt failed on interface 'wlp3s0'
4月 11 23:48:12 ArchPad network[19811]: Failed to bring the network up for profile 'wlp3s0-TP-1602'
4月 11 23:48:12 ArchPad systemd[1]: netctl@wlp3s0\x2dTP\x2d1602.service: Main process exited, code=exited, status=1/FAILURE
4月 11 23:48:12 ArchPad systemd[1]: Failed to start Networking for netctl profile wlp3s0-TP-1602.
4月 11 23:48:12 ArchPad systemd[1]: netctl@wlp3s0\x2dTP\x2d1602.service: Unit entered failed state.
4月 11 23:48:12 ArchPad systemd[1]: netctl@wlp3s0\x2dTP\x2d1602.service: Failed with result 'exit-code'.

Here comes the log of manually started dhcpcd:
dhcpcd-6.10.1 starting
wlp3s0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
wlp3s0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
DUID 00:01:00:01:1e:86:20:b0:30:10:b3:94:a7:9c
wlp3s0: IAID b3:94:a7:9c
wlp3s0: delaying IPv4 for 0.7 seconds
wlp3s0: soliciting a DHCP lease
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 3.9 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 8.6 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 16.3 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 31.0 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 64.6 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 63.3 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 64.8 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 63.3 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 64.6 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 64.5 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 63.4 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 63.8 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 63.5 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 63.8 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 63.7 seconds
wlp3s0: sending DISCOVER (xid 0xa61603d3), next in 64.5 seconds
received SIGINT, stopping
wlp3s0: removing interface
wlp3s0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' STOPPED
dhcpcd exited


Steps to reproduce:

My wireless network adapter is RTL8192EE
And my Machine is ThinkPad T440
Maybe the terrible adapter is to blame
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Friday, 09 December 2016, 21:29 GMT
Reason for closing:  No response
Comment by Bartłomiej Piotrowski (Barthalion) - Friday, 18 November 2016, 20:46 GMT
In the meantime new release has been pushed to repositories. Does it still happen? Did you report it upstream?

Loading...