You are not logged in.

#1 2013-06-05 20:48:36

T2manner
Member
Registered: 2009-01-28
Posts: 27

[SOLVED]Internet Connection Problem

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

#2 2013-06-05 21:09:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

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

#3 2013-06-05 21:41:57

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

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:ff

Output 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 forever

Regarding 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

#4 2013-06-05 21:52:38

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

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

#5 2013-06-05 21:54:02

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Internet Connection Problem

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

#6 2013-06-05 21:55:11

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

How do I scroll up to view the entire output? The output is longer than my screen can display.

Offline

#7 2013-06-05 21:55:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

WonderWoofy wrote:
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 smile


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

#8 2013-06-05 21:55:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Internet Connection Problem

Typically it is Shift+PageUp in Linux

Offline

#9 2013-06-05 21:58:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

T2manner wrote:

How do I scroll up to view the entire output? The output is longer than my screen can display.

Well, that is good smile

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

#10 2013-06-05 22:18:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Internet Connection Problem

WonderWoofy wrote:

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

#11 2013-06-05 22:19:53

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

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

#12 2013-06-05 22:28:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

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

#13 2013-06-05 22:45:26

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

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 up

and

 # 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

#14 2013-06-05 22:50:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]Internet Connection Problem

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 wpa

Also, 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

#15 2013-06-05 22:59:23

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

Trilby wrote:

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 wpa

Also, 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

#16 2013-06-05 23:03:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

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 up

and

 # 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 tongue


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

#17 2013-06-05 23:09:45

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

ewaller wrote:
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 up

and

 # 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 tongue

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

#18 2013-06-05 23:15:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

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

#19 2013-06-05 23:16:25

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

Yes.  The name of the SSID is at the beginning of the file.

Last edited by T2manner (2013-06-05 23:24:30)

Offline

#20 2013-06-05 23:36:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

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

#21 2013-06-05 23:43:37

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

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  Network

Last edited by T2manner (2013-06-05 23:44:38)

Offline

#22 2013-06-05 23:53:36

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED]Internet Connection Problem

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

#23 2013-06-06 00:40:50

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

Thanks for the help.  I'll try to connect with ethernet (I was avoiding this because my router is in a closet tongue) and post my results.

Offline

#24 2013-06-06 23:34:00

T2manner
Member
Registered: 2009-01-28
Posts: 27

Re: [SOLVED]Internet Connection Problem

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

#25 2013-06-07 00:43:20

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Internet Connection Problem

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

Board footer

Powered by FluxBB