You are not logged in.
Hello,
I am trying to install on my Asus EEE 1005-HA.
I am following the beginner's guide, and I went through the section involving making a wireless connection without any problems. It SEEMS to make a connection, but when I try to install the base system, every single package fails to install. When I try to ping to www.google.com, I get "unknown host".
This leaves me extremely confused. I followed the guide without problems, but it seems as if connecting to the internet did not work.
Please help.
Thanks
Last edited by T2manner (2013-06-07 16:46:26)
Offline
What are the output of ip link and of ip addr
Also, find the name of your wireless interface in the output of ip link. On my system, it is wlan0. It might be different on yours. What is the output of the following commands when you replace wlan0 with your wireless network name?:
iw wlan0 scan
and
iw wlan0 link
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
Output of ip link:
1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: emp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
lin/ether 90:e6:ba:54:10:2f brd ff:ff:ff:ff:ff:ff
3. wlp2s0: <NO-CARRIER, BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DORMAT mode DORMAT qlen 1000
link/ether 00:25:d3:87:85:bc brd ff:ff:ff:ff:ff:ffOutput of ip addr:
1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
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 hose
valid_lft forever preferred_lft forever
2: emp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
lin/ether 90:e6:ba:54:10:2f brd ff:ff:ff:ff:ff:ff
3. wlp2s0: <NO-CARRIER, BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DORMAT mode DORMAT qlen 1000
link/ether 00:25:d3:87:85:bc brd ff:ff:ff:ff:ff:ff
inet6 fe80::225:d3ff:fe87:85bc/64 scope link
valid_lft forever preferred_lft foreverRegarding the name of my wireless interface, I'm not sure what you are talking about. When I setup my network earlier, I used wlp2s0, so I tried iw wlp2s0 scan, and I got an extremely long list of information. Since I cannot copy and paste the output, I'm not sure what you want me to do now.
Last edited by ewaller (2013-06-05 21:53:23)
Offline
The name of your interface is wlp2s0. You will note that, in the link output (and the address output, for that matter) there is no carrier. That is job one. Then we will work on associating with an access point. Then we will work on obtaining an IP address.
So, now; try iw wlp2s0 scan
Its output will tell me about the wireless access points in your vicinity. The output may be long, so please post it inside BBCode code tags. There is a link below post boxes in these forums that tell you how to do it. I am going to take the liberty of adding them to your OP, so you can go back and see how it is done.
Edit: Opps, I said ip, not iw. Fixed.
Last edited by ewaller (2013-06-05 21:54:22)
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
Each failure to use code blocks will result in the death of one puppy :( iEdit: Please disregard that... I was a few seconds too late...
Last edited by WonderWoofy (2013-06-05 21:54:29)
Offline
How do I scroll up to view the entire output? The output is longer than my screen can display.
Offline
Each failure to use code blocks will result in the death of one puppy :(iEdit: Please disregard that... I was a few seconds too late...
I thought it was funny -- and in response to me ![]()
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
Typically it is Shift+PageUp in Linux
Offline
How do I scroll up to view the entire output? The output is longer than my screen can display.
Well, that is good ![]()
A couple ways: pipe it through less or redirect it to a file.
iw wlp2s0 scan | less
or
iw wlp2s0 scan > someFile
Then edit the file.
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
Typically it is Shift+PageUp in Linux
Learn something new every day - that's gonna be useful. I always just resorted to less when in a tty for any command that generated a lot of output.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I saved the results to a file. Is it possible to copy this file to a flash drive so that I can open it on my other computer to copy it to this forum?
Offline
Sure. But, how did you get the results of the ip commands back in post 3 out ??
Maybe we can avoid all that. Going back to the beginner's guide, which technique were you using, wifi-menu ?
If so, the command is wifi-menu wlp2s0
Also, rather than try to post the file (that it long is an indication that it worked), look through the output and ensure you can locate the access point to which you are trying to connect.
Finally, is your AP open, WEP, WPA, or WPA2? Do you own it?
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
In post 3 I just typed all of it myself.
And if I recall correctly, wifi-menu was not what I used.
I used
# ip link set wlp3s0 upand
# wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase "ssid" "psk").
My AP is not open. I do own it and it is WPA2.
Last edited by T2manner (2013-06-05 22:45:45)
Offline
Have you successfully piped wpa_passphrase output like that before? I wouldn't be surprised if wpa_supplicant needed a real file to read from*. Have you tried it on this system using a on-disk file:
wpa_passphrase <ssid> <passphrase> > wpa
wpa_supplicant -B -i wlp3s0 -c wpaAlso, just to make sure, the ssid and psk are just placeholders you're putting here right, and that's not what you put in the command?
* - To clarify, I'm not sure. I also wouldn't be surprised if it didn't. But a number of file read operations (e.g., seeking) will fail on piped data.
EDIT: wpa_supplicant can read from piped data, it's right in the Beginners Guide ... which I should reread occasionally.
Last edited by Trilby (2013-06-05 23:15:03)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Have you successfully piped wpa_passphrase output like that before? I wouldn't be surprised if wpa_supplicant needed a real file to read from*. Have you tried it on this system using a on-disk file:
wpa_passphrase <ssid> <passphrase> > wpa wpa_supplicant -B -i wlp3s0 -c wpaAlso, just to make sure, the ssid and psk are just placeholders you're putting here right, and that's not what you put in the command?
* - To clarify, I'm not sure. I also wouldn't be surprised if it didn't. But a number of file read operations (e.g., seeking) will fail on piped data.
Yes, I replaced the placeholders with the correct values. After I ran the command, it said the operation was successful.
Offline
In post 3 I just typed all of it myself.
You, sir, are a better man than I.
I used
# ip link set wlp3s0 upand
# wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase "ssid" "psk").
My AP is not open. I do own it and it is WPA2.
If that is literally what you typed, allow me to remind you that your interface name is wlp2s0 ![]()
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
T2manner wrote:In post 3 I just typed all of it myself.
You, sir, are a better man than I.
I used
# ip link set wlp3s0 upand
# wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase "ssid" "psk").
My AP is not open. I do own it and it is WPA2.
If that is literally what you typed, allow me to remind you that your interface name is wlp2s0
No, I did not type exactly that. I just went to the Beginner's wiki to make sure I did not use wifi-menu, and then I copied the commands listed on that wiki.
I used the commands for my situation, and it said that what I did was successful.
Offline
Okay, but it was worth the shot. Did that file contain the name of your AP?
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
Yes. The name of the SSID is at the beginning of the file.
Last edited by T2manner (2013-06-05 23:24:30)
Offline
So, we know the WAN interface is working. We know it can see the radios around you, so the radio is not disabled using rfblock. All good.
Going back to the beginner's guide again, you did not use wifi-menu, so you used netctl.
Please post the output of systemctl | grep net (It should not be too long)
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
Forgive me if I am wrong, but I do not think I used netctl either.
netcl and wifi-menu are mentioned in section 2.9.2.
I am referring to 2.2.2, here https://wiki.archlinux.org/index.php/Be … e#Wireless.
My problem arose in section 2.6 where I needed to install the base system. I assumed I could not install the base system because my internet connection, that I setup in 2.2.2, was not working.
Here is the output you requested, though.
sys-devi. . .et-enp1s0.device loaded active plugged ARB132 Fast Ethernet
sys-subs. . .et-enp1s0.device loaded active plugged ARB132 Fast Ethernet
network.target loaded active active NetworkLast edited by T2manner (2013-06-05 23:44:38)
Offline
Oh, I understand. I jumped to a conclusion.
Most people have no trouble from the install media, but rather run into a wall after they install. I thought you had finished with the install media, had rebooted, and could no longer connect (the normal situation). You are having trouble with the initial install. Sorry.
So, any chance you have a wired connection available? it is much easier.
Also, I need to go brave Southern California traffic and cross Los Angeles at rush hour. I'll see you on the other side.
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
Thanks for the help. I'll try to connect with ethernet (I was avoiding this because my router is in a closet
) and post my results.
Offline
Hello again.
So now I have completed my installation of arch linux, but I am still having problems with a wifi connection.
I completed the installation with a wired connection, and afterwards, I setup a wireless connection. Following the beginner's guide, it DID work.
However, my problem now is that sometimes when I boot up, my computer does not connect automatically like I set it up to. When it does mess up, I can't even seem to manually connect with wifi-menu.
As I mentioned, sometimes it does work and sometimes it doesn't work.
Not a clue as to what is going on.
Offline
You probably have multiple things trying to all handle the network at the same time. This is probably causing a race condition whereby sometimes the right thing (or first thing to finish) is stable enough with that connection to keep it, but sometimes it just totally goes haywire in the chaos. If this haywire situation occurs, then of course it will not be able to connect unless the offending services are stopped so that they stop all trying to handle that at once.
Offline