You are not logged in.
Hello everyone,
im unable to connect to my router with the wpa_supplicant on my new installed Arch Linux.
While installation I did the same commands and it works but not when I try to connect without the boot cd.
I tried as root:
#wpa_passphrase my_ssid my_psk > xy.conf
# wpa_supplicant -i wlp14s0 -D wext -c xy.conf -B
#dhcpcd wlp14s0
ping returned unkown host. I tried different drivers instead of wext, same result, I executed wpa_supplicant not as a daemon and called dhcpcd from another shell and no different, wpa_supplicant shows that the state is CONNECTED but I cannot reach my router or something else. Im able to scan for networks (and I can find my router)
wpa_supplicant returns
Succsesfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
wlp14s0: Trying to associate with my_routers_mac_adress (SSID='my_ssid' freq=2437 mHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlp14s0: Association request to the driver failed
wlp14s0: Associated with my_routers_mac_adress
wlp14s0: WPA: Key negotiation completed with my_routers_mac_adress [PTK=CCMP GTK=TKIP]
wlp14s0: CTRL-EVENT-CONNECTED - Connection to my_routers_mac_adress completed [id=0 id_str=]
.. i dont understand why im still not connected and why it does work when I use the boot cd on the same laptop, is there something missing?
Offline
I suspect some problem with the firmware or the module.
What says
lspci -vnn | grep WirelessIf the CD works, then you should investigate where are the differences.
do it good first, it will be faster than do it twice the saint ![]()
Offline
#lspci -vnn | grep Wireless
0e:00.0 Network controller [0280]: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)
Subsysem:Askey Computer Corp. WLL6080 802.11bgn Wireless Mini PCIe Card [AR9281] [144f7141]
Well its not the first arch aI installed, on the same way, I installed the system again, because I thought also that I forgot something but no. Beside this I had some trouble with this issue on a another laptop but after restarting wpa_supplicant it always works, so maybe Im missing a package or something similar but I dont now wich or what ![]()
Offline
ioctl[SIOCSIWFREQ]: Device or resource busyAre you running other networking services?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
No
maybe I already started wpa_supplicant this session as a daemon but im not sure, if there is another network service then I dont know, I didnt install another one
Offline
Beside this im always able to scan for routers, so the device is not blocked
Offline
ping returned unkown host
What was the *exact* ping command that you used and what was the *exact* error message?
Do you have your nameservers defined in /etc/resolv.conf?
Please post the output of:
systemctl list-unit-files|grep enabledJin, Jîyan, Azadî
Offline
Okey Im not at home today so I post the output of the command tomorrow : (
I pinged to my router and to webpage I'm not sure what the EXACT output from from pinging to a website was, it was not unknown host but something like "ping: service not found".
But the output from pinging my router was:
#ping -c3 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
--- 192.168.2.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2000ms
I never changed something in /etc/resolv.conf but I will post the content tomorrow.
I thought that wpa_supplicant maybe COULD establish a connection but the dhcp server did not work, so I tried to set a static IP address but that makes no differents, beside this I enabled dhcpcd.service and after seeing that I couldnt connect to my router I enabled dhcpcd@wlp14s0.service.
And on the laptop where a Ubuntu system running before I put Arch linux on it and I named the pc the same maybe the router things it is the old pc or something like that
? I dont know but I set that the old pc get always the same IP, maybe this information does matter but I dont know ![]()
Offline
Can you post dhcpcd's output?
“If you expect to enter the Pearly Gates and walk those streets of gold, you must remember the password: Roll Tide Roll." - Paul Bear Bryant
Offline
#sudo dhcpcd wlp14s0
sending commands to master dhcpcd process
Offline
Kill the dhcpcd daemon and try that again. We need the output when the daemon starts. If try to start it while it is already running, the message above is what you wil get
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Hi, I think I have a similar problem. I can connect OK with : sudo wifi-menu. I am able to select my router, and it appears to connect OK.
I can then do a "ping -c 3 192.168.0.101", and it sees one of the devices on my network. But if I do a "ping -c 3 google.com", it fails.
Other computers ( including a different linux box that has not been updated recently ) find google.com nicely.
What I get from google.com is " ping: google.com: Name or service not known"
Again, pinging another device on my router "192.168.0.101" works OK :
64 bytes from 192.168.0.101: icmp_1 ttl=64 time =3.08ms
( three times )
Last edited by kkoceski (2016-04-25 16:25:07)
Offline
Sooo the EXACT output of "ping -c3 www.goggle.com" is "ping: name or service not known" so the same as kkosceski BUT iI cannot even ping to my router, I posted already: 100% packet loss.
@ kkosceski if you CAN ping to your router or a ip address there is some problem with your DNS try to ping to 172.217.20.100 (for example) its the ip address of google if you CAN ping to this address there is a problem with DNS my problem is different.
now in /etc/resolv.conf is:
#
# /etc/resolv.conf
#
#search <yourdomain.tld>
#nameserver <ip>
# End of file
soo there is no nameserver defined
@Head_on_a_Stick: the result of systemctl list-unit-files|grep enabled
#systemctl list-unit-files | grep enabled
autovt@.service
dhcpcd.service
dhcpcd@.service
getty@.service
remote-fs.target
Okeeey and now I killed both dhcpcd.services and disabled the dhcpcd@wlp14s0.service (so "#systemctl list-unit-files | grep enabled" does not show dhcpcd@.service anymore) and I now I tried wpa_supp... and dhcpcd:
#dhcpcd wlp14s0
wlp14s0: adding address fe80::9a89:25f2:a8e3:39b6
DUID 00:01:00:01:1e:ea:2c:14:00:21:63:dd:9f:5d
wlp14s0: IAID 63:dd:9f:5d
wlp14s0: soliciting an IPv6 router
wpl14s0: soliciting a DHCP lease
wlp14s0: offered 192.168.2.169 from 192.168.2.1
wlp14s0: probing address 192.168.2.169/24
wlp14s0: leased 192.168.2.169 for 86400 seconds
wlp14s0: adding route to 192.168.2.0/24
wlp14s0: adding default route via 192.168.2.1
forked to background, child pid 25239
I want to mention that the router has the ip of 192.168.2.1 and there is no 192.168.2.0 and I set the ip 192.168.2.169 as default for the ubuntu that was installed before (also named Boomer, same as the new Arch linux)
Offline
192.168.2.0/24 is the route to any computer in the 192.168.2.xxx address space -- i.e. any computer on your LAN. You need that route. The 24 means tolook at the first 24 bits to determine the subnet. Than is three octets.
When you tried to ping your router, it was ping 192.168.2.1, right?
Can you ping 192.168.2.169? How about 127.0.0,1 ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
thats funny I can ping 127.0.0.1 AND 192.168.2.169 BUT NOT 192.168.2.1 ...
Offline
Okay, lets try this. Can you ping 66.211.78.122 (An Arch Linux server)?
Last edited by ewaller (2016-04-25 18:36:01)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Nope... I already trie some other Ip address besides to my router, same result 100% packet loss ![]()
Offline
Here's the output of my commands. I think there's a better way to capture this, but I just issued the command in a terminal, and then highlighted it and pressed the center-mouse-button to plunk it into the kate editor :
[kkoceski@kkhostname ~]$ ping -c 3 www.google.com
ping: www.google.com: Name or service not known
[kkoceski@kkhostname ~]$ ping -c 3 192.168.0.101
PING 192.168.0.101 (192.168.0.101) 56(84) bytes of data.
64 bytes from 192.168.0.101: icmp_seq=1 ttl=64 time=77.4 ms
64 bytes from 192.168.0.101: icmp_seq=2 ttl=64 time=10.4 ms
64 bytes from 192.168.0.101: icmp_seq=3 ttl=64 time=3.20 ms
--- 192.168.0.101 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 3.209/30.358/77.426/33.412 ms
[kkoceski@kkhostname ~]$ ping -c 3 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.031 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.092 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.044 ms
--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.031/0.055/0.092/0.027 ms
[kkoceski@kkhostname ~]$ ping -c 3 172.217.20.100
PING 172.217.20.100 (172.217.20.100) 56(84) bytes of data.
64 bytes from 172.217.20.100: icmp_seq=1 ttl=42 time=138 ms
64 bytes from 172.217.20.100: icmp_seq=2 ttl=42 time=138 ms
64 bytes from 172.217.20.100: icmp_seq=3 ttl=42 time=132 ms
--- 172.217.20.100 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 132.784/136.757/138.760/2.825 ms
[kkoceski@kkhostname ~]$ ping -c 3 66.211.78.122
PING 66.211.78.122 (66.211.78.122) 56(84) bytes of data.
--- 66.211.78.122 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2007ms
[kkoceski@kkhostname ~]$
Offline
What is 172.217.20.100 ???
(Edit: It is Google)
Is there another network at play here? What are the output of ip addr and of ip route ??
Edit: So, you can hit Google, but not Arch Linux or your router.
This is bare metal, right? Not a virtual machine.
Have you tried a different router?
Are you running a firewall on your machine? On your router? Have you access to the router logs?
Last edited by ewaller (2016-04-26 02:07:03)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
My latest reply was simply me putting together the output of ping suggestions.
Yes, this is a laptop that had been working fine, but then started acting up like this ( not a Virtual Machine ).
Other computers on the same router ( tplink c3200 ) work fine, including another arch box, but running xfce ( the problem one is plasma ).
However the ailing laptop displays the problem even without going into the Desktop Environment.
I don't have access now to try " ip addr " and " ip route ", but should be able to do so at lunch today.
No firewalls are being used. I'll try to get to the router logs.
I'm inclined to believe the problem started after a pacman -Syu, but it may just be coincidental. Until I figure this out, I have been reluctant to update my xfce machine. But, now that it's been a few days, I would think that if the update is the culprit, there would have been more of this in the news by now.
Oh, and on my network, 192.168.0.101 is a TabloTV that I can access with other computers.
It's just bizarre to me that I can reach other devices on the network, but can't get out to www.google.com ( except by pinging 172.217.20.100 ) ?!?!?!?!?
Offline
@kkoceski maybe Im wrong but therefore you CAN ping the ip of google but NOT www.goggle.com your DNS is not working maybe this could help: https://archlinuxarm.org/forum/viewtopic.php?f=9&t=1122
Offline
I tried some things: I started a webserver on the laptop without internet and I can reach the server via 192.168.2.169 from that laptop buut from a different pc i cannot reach 192.168.2.169...
My router says to me there is one pc connected named Boomer(with the Ip of 192.168.2.169) but I have still no access to the Internet...
Offline
sooooo... now I have internet access... instead of the wlan interface from my laptop I used a different wlan USB-stick and now it works... now I have a different Ip address and it works.
So the problem must be the wlan interface from my laptop but does anybody know what may be the problem with the wlan interface from my laptop?
Offline
This post is just complete shot in the dark and is unlikely to be in any way tied to reality. Is there any chance that there are multiple devices on your network that are reporting the same MAC address?
Have you tried rebooting your router? Some of them have firmware that are downright frightening and manage to get themselves twisted into some odd states.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
... I already posted 2 times that on this Laptop was a Ubuntu running that was also called Boomer hence maybe the "new" Boomer with Arch linux installed has the same MAC address and uses the same network interface so I think it IS a problem with my router and not with Arch but if someone knows the *exact* cause it would really nice when that person would explain it to me ![]()
Offline