You are not logged in.
Pages: 1
Hello I am having issues with my wireless network configuration. From what I can tell, my wireless should be plug and play. Yes, I have read the wiki. My wireless is the Alfa awus036h
ip link shows no-carrier
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp60s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether f0:79:59:85:15:48 brd ff:ff:ff:ff:ff:ff
5: wlp0s20u4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 00:c0:ca:81:c9:a3 brd ff:ff:ff:ff:ff:ffI tried searching this issue but the results seem to pertain to wired configurations where the wire is not plugged in.
iwconfig shows no access point
iwconfig
wlp0s20u4 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:offI assume that's because it's not on a network
wifi-menu fails to connect referencing journalctl -xe which says failed to start networking.
trying to connect via terminal with
wpa_supplicant -B -i wlp0s20u4 -c <(wpa_passphrase "ssid" "psk")shows:
Successfully initialized wpa_supplicant
wlp0s20u4: Failed to initialize driver interfacebut when I
dmesg | grep rtl
[ 23.339966] ieee80211 phy0: hwaddr 00:c0:ca:81:c9:a3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[ 23.347958] rtl8187: Customer ID is 0xFF
[ 23.348269] rtl8187: wireless switch is on
[ 23.348296] usbcore: registered new interface driver rtl8187
[ 23.350179] rtl8187 3-4:1.0 wlp0s20u4: renamed from wlan0
[ 399.681266] ieee80211 phy1: hwaddr 00:c0:ca:81:c9:a3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[ 399.689223] rtl8187: Customer ID is 0xFF
[ 399.689545] rtl8187: wireless switch is on
[ 399.691533] rtl8187 3-4:1.0 wlp0s20u4: renamed from wlan0
[ 2365.097867] ieee80211 phy2: hwaddr 00:c0:ca:81:c9:a3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[ 2365.105956] rtl8187: Customer ID is 0xFF
[ 2365.106279] rtl8187: wireless switch is on
[ 2365.108568] rtl8187 3-4:1.0 wlp0s20u4: renamed from wlan0does this not mean my switch is on and the driver is running? What am I missing?
Thanks,
Ez
Offline
Try to add the "-D wext" option to your wpa_supplicant line. Does wifi-menu show available networks but fail to connect or does it not show networks? Does "dmesg |grep firmware" show a firmware for the device loaded?
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
Here is the output with -D wext added:
Successfully initialized wpa_supplicant
Could not read interface -D flags: No such device
nl80211: Driver does not support authentication/association or connect commands
Could not read interface -D flags: No such device
Could not read interface -D flags: No such device
Could not read interface -D flags: No such device
-D: Failed to initialize driver interfacewifi-menu does show available networks, but fails to connect.
here is the output of dmesg:
dmesg |grep firmware
[ 22.917675] bluetooth hci0: Direct firmware load for brcm/BCM20702A0-13d3-3404.hcd failed with error -2
[ 23.549341] psmouse serio4: elantech: assuming hardware version 4 (with firmware version 0x360f06)Offline
What is the output of:
rfkill listThis looks relevant:
https://bbs.archlinux.org/viewtopic.php … 9#p1431609
Jin, Jîyan, Azadî
Offline
@Head_on_a_stick: Similar but unfortunately not the same chip. The OP's is rtl8187 (without the SE). First row in the table of http://linuxwireless.org/en/users/Drivers/rtl8187/
@ezstyles: Please post the exact wpa_supplicant command you used with the -Dwext option. Other than an error there I dont have much more suggestions. There is no firmware loaded for it, but since it does not give an error ... Perhaps try if it connects to a network without WPA at all.
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
@Head_on_a_Stick:
rfkill list comes back command not found
@Strike0:
Exact command is
wpa_supplicant -B -i -D wext wlp0s20u4 -c <(wpa_passphrase "ssid" "psk")Also, same result when trying to connect to unsecured networks
Offline
@Head_on_a_Stick:
rfkill list comes back command not found
...and that's why we love Arch:
# pacman -S rfkill@Strike0:
Exact command iswpa_supplicant -B -i -D wext wlp0s20u4 -c <(wpa_passphrase "ssid" "psk")Also, same result when trying to connect to unsecured networks
Did you actually type "ssid" & "psk" or did you replace these with the name of the access point (SSID) and the password (PSK)?
Jin, Jîyan, Azadî
Offline
rfkill list
1: asus-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
2: asus-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: noI replaced those haha. Just didn't want to post that info online
I just booted into Arch on my usb and it worked fine through that. I must have something misconfigured somewhere but I'm not sure where to look
Last edited by ezstyles (2015-04-17 21:41:30)
Offline
Remove the "asus-wlan" module & try again:
# modprobe -rv asus-wlanEDIT: It may be called something else.
lsmod|grep asusLast edited by Head_on_a_Stick (2015-04-17 21:54:15)
Jin, Jîyan, Azadî
Offline
modprobe -rv asus-wlan
modprobe: FATAL: Module asus-wlan not found.Same result with sudo
Offline
See my edit.
Jin, Jîyan, Azadî
Offline
results from lsmod
lsmod | grep asus
asus_nb_wmi 20664 0
asus_wmi 22781 1 asus_nb_wmi
sparse_keymap 12818 1 asus_wmi
led_class 12855 2 rtl8187,asus_wmi
hwmon 12930 2 coretemp,asus_wmi
rfkill 18867 3 cfg80211,bluetooth,asus_wmi
video 22205 2 i915,asus_wmi
wmi 17339 2 mxm_wmi,asus_wmiI modprobed asus_wmi, but same results
Offline
Exact command is
wpa_supplicant -B -i -D wext wlp0s20u4 -c <(wpa_passphrase "ssid" "psk")
what do you get if you run:
wpa_supplicant -B -D wext -i wlp0s20u4 -c <(wpa_passphrase "ssid" "psk")?
Offline
@Strike0:
Exact command iswpa_supplicant -B -i -D wext wlp0s20u4 -c <(wpa_passphrase "ssid" "psk")
That does not work and it was the reason for your error above. You need to keep the "-i wlp0s20u4" together.
edit: Tutti was faster ![]()
Last edited by Strike0 (2015-04-17 22:32:46)
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
wpa_supplicant -B -D wext -i wlp0s20u4 -c <(wpa_passphrase "ssid" "psk")
Successfully initialized wpa_supplicant
ioctl[SIOCSIWPMKSA]: Operation not permitted
ioctl[SIOCSIWMODE]: Operation not permitted
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWESSID]: Operation not permitted
l2_packet_init: socket(PF_PACKET): Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Operation not permitted
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWESSID]: Operation not permitted
Could not set interface wlp0s20u4 flags (DOWN): Operation not permittedwith sudo:
successfully initialized wpa_supplicant
Failed to open config file '/dev/fd/63', error: No such file or directory
Failed to read or parse configuration '/dev/fd/63'.Offline
execute it as root.
(edit: It will not work with sudo like that.)
Last edited by Strike0 (2015-04-17 22:40:19)
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
When run as root:
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argumentOffline
Ok, that means "-D wext" was the wrong path, sorry.
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
Ok, weird. As I was sitting here, I noticed my wireless network pop up in my status bar with 100% connectivity. Unplugged ethernet, and it's working... I have no idea what happened, but it's working
Offline
I always create a configuration file rather than pipe the output from wpa_passphrase:
# echo "ctrl_interface=DIR=/run/wpa_supplicant" > /etc/wpa_supplicant/test.conf
# wpa_passphrase SSID password >> /etc/wpa_supplicant/test.cont
# wpa_supplicant -B -i wlp0s20u4 -c /etc/wpa_supplicant/test.conf
# dhcpcd wlp0s20u4It is unlikely to make any difference, but...
EDIT: Congratulations on your success!![]()
Last edited by Head_on_a_Stick (2015-04-17 23:00:45)
Jin, Jîyan, Azadî
Offline
Yay, congrats .. now the only thing you need to do: don't shutdown ![]()
You can, btw, also specify "-D wext,nl80211" (or the other way round, first will be tried first by wpa_supplicant)
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
@Strike0:
Well... it's a bit late for that. Rebooted=no wireless.
I supposse that was bound to happen. I'd like to actually understand what is wrong and how to fix it rather than have it just happen anyway. Do you know of any good resources I could read into? The wikis aren't telling me much
Offline
Well, when I wrote "wrong path" in #18 above, I might as well have been wrong (I was on duckduckgo myself looking for it).
First thing you can look at the journal of the boot before ("journalctl -b -1 |grep wpa_supplicant" I think) to see when it started working. Then you can start wpa_supplicant next time with "-d" to gain more output what happens. (edit: and dont use "-B" to start it in the background, so you see it in the console already).
In the end the only things you tried were removing that one asus module and trying the "wext" driver first. That should be reproducible I would hope.
Last edited by Strike0 (2015-04-17 23:27:28)
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
ok so it appears that running the command as root is what fixes it because I'm connected again. How would I go about setting it up so that I don't have to run that command every time I boot?
Offline
How would I go about setting it up so that I don't have to run that command every time I boot?
There are many methods of connecting but if you want to use `wpa_supplicant` then follow this guide:
https://wiki.archlinux.org/index.php/Wi … 2Fservices
Jin, Jîyan, Azadî
Offline
Pages: 1