You are not logged in.
I'm currently installing arch onto a laptop.
After rebooting the system (as per this step of the Beginner's Guide, yes I completed the other steps first), I attempted to use wifi-menu to connect to the network, which gave this error:
Scanning for networks... Could not read interface p2p-dev-wlp4s0 flags: no such deviceSo, I decided to check the output of ip link, and found that the interface was set to DOWN:
3: wlp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000After trying ip link set wlp4s0 up, I saw similar output of ip link:
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000Again, I saw the error:
Could not read interface p2p-dev-wlp4s0 flags: no such deviceAnyone know what's causing this issue?
Last edited by 5donuts (2015-12-18 17:21:16)
The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it. --Terry Pratchett
Offline
Have you checked to make sure your wifi adapter driver has been loaded? Run "lspci -k" (or "-lsusb -v" in the unlikely case that you are using a usb adapter). Double check with "lsmod" to make sure this driver is loaded. If not, load the driver with "modprobe driver-name". If you still can't get your wifi working, make sure that your wifi driver works with Linux. You can find out by consulting the arch wifi wiki ("Installer driver/firmware" section): https://wiki.archlinux.org/index.php/Wi … figuration
Also consult the end of the wifi wiki to see if you have a driver that works but that must be handled a bit differently from normal.
If your driver is Linux-compatible, then follow the wiki step by step (and be sure to read everything very carefully). Just keep reading the first section up to "Wireless Management". When you have followed it until you think you corrected any problems, run "iw dev wlap4s0 link". It should tell you that you have linked your driver with the AP (Is "wlap4s0" what you see when you run "ip link"?).
Good luck.
Offline
Forget the part about the driver. Obviously if you got wifi working during the install, then your driver is fine. You didn't run the wifi-menu command a second time after having changed root did you? This would cause problems (but it would be more likely to cause problems during the installation, not after).
Offline
I did run wifi-menu after changing the root, but I realized my mistake and rebooted, and finished the final steps (setting root password, installing iw, wpa_supplicant, dialog, etc.) without issue.
I found that the wireless card in my laptop is supported by "iwlwifi" and that "iwlwifi" is currently loaded. I looked at the troubleshooting page and disabled 802.11n mode and enabled software encryption, but this did not solve the issue, even after rebooting.
What I think is particularly interesting is that arch used to work just fine on this machine (I decided to reinstall to change my partition scheme), so I'm not really sure why it's not working anymore.
The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it. --Terry Pratchett
Offline
It could very well be that netctl is interfering. Disable the profile that was created when you issued the "wifi-menu" command in chroot by issuing "# netctl disable name-of-profile". You should see the name of the profile in the netctl directory: /etc/netctl/name-of-profile. Delete this profile and run the "wifi-menu" command again and see if you can connect. You might have to get an ip address (# dhcpcd wlp4s0).
I once cloned my arch install and copied it to another computer on a different network. I spent hours trying to get it to connect -- manually or otherwise -- to my wifi network without success. After disabling the netctl profile, deleting it and placing the correct profile in the correct place (/etc/netctl/name-of-profile) my wifi started right up. When you run "wifi-menu", you are creating a profile in the proper place (if you choose to save the profile).
By the way, on occasion "wifi-menu" creates an imperfect profile so you might have to check it. You can also make your own (carefully follow the arch netctl wiki: https://wiki.archlinux.org/index.php/Netctl)
Hope this is of some use to you.
Last edited by donatom (2015-12-17 06:31:39)
Offline
In the end, I just reinstalled and very carefully did NOT run wifi-menu a second time, and the wireless works.
The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it. --Terry Pratchett
Offline