You are not logged in.

#1 2015-08-20 03:05:50

PiGuy
Member
Registered: 2015-08-20
Posts: 6

Arch linux can't connect to the internet

Hello, I just installed Arch this week, but it won't connect. Using ethernet, the code

ping -c 3 8.8.8.8 

gives me

connect: Network is unreachable 

Doing the same process on ubuntu works, with both ethernet and wifi. Both installations are new.

Basic googling gave me no answers,  so I need some help. Thanks in advance.

Offline

#2 2015-08-20 03:11:27

PiGuy
Member
Registered: 2015-08-20
Posts: 6

Re: Arch linux can't connect to the internet

lspci -v

Shows that alx is in use for the kernel driver and modules for my ethernet connector, same as ubuntu.

Offline

#3 2015-08-20 03:15:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Arch linux can't connect to the internet

Please read How To Ask Questions The Smart Way.

Then tell us your card, the driver you installed, and how you are managing your connection. Journal output for that service would also be useful.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2015-08-20 03:45:45

PiGuy
Member
Registered: 2015-08-20
Posts: 6

Re: Arch linux can't connect to the internet

Ethernet controller: Qualcomm Antheros QCA8171 Gigabit Ethernet (rev 10)
Subsystem: Lenovo Device 3800
Flags: bus master, fast devsel, latency 0, IRQ  19
Memory at c2500000 (64-bit, non prefetchable) [size=256K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Express Endpoint,  MS I 00
Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
Capabilities: [d8] MSI-X: Enable- Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number ff-78-5e-e6-28-d2-44-ff
Kernel driver in use: alx
Kernel modules: alx

Sorry for the wait, decided to type that out on a smartphone to avoid confusion.

As far as how I'm managing my connection, it is whatever is default, as this is a new installation. The arch linux iso on the thumb drive had access to the internet, but not the Arch linux on my hard drive. I don't know what a journal output is or how to get one.

Offline

#5 2015-08-20 03:47:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Arch linux can't connect to the internet

PiGuy wrote:

[As far as how I'm managing my connection, it is whatever is default, as this is a new installation.

Arch has no defaults: it is up to you to set networking up, just like everything else
https://wiki.archlinux.org/index.php/Networking


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-08-20 03:52:30

PiGuy
Member
Registered: 2015-08-20
Posts: 6

Re: Arch linux can't connect to the internet

>You can try pinging a static IP address to prove that your machine has access to the Internet:

Because I wasn't even able to do that,  I decided to try and get help here.

Offline

#7 2015-08-20 04:04:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Arch linux can't connect to the internet

PiGuy wrote:

>You can try pinging a static IP address to prove that your machine has access to the Internet:

Because I wasn't even able to do that,  I decided to try and get help here.

You need to work your way through the entire page; not just the first section...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2015-08-20 04:05:59

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

Re: Arch linux can't connect to the internet

what happens if you just run dhcpcd as root?  Do you obtain a connection?
What is the output of ip 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

#9 2015-08-20 04:06:53

PiGuy
Member
Registered: 2015-08-20
Posts: 6

Re: Arch linux can't connect to the internet

I guess I'll keep stabbing at it then.  Hopefully this is no more than a bad assumption on my part.

Offline

#10 2015-08-20 04:13:01

PiGuy
Member
Registered: 2015-08-20
Posts: 6

Re: Arch linux can't connect to the internet

Yep, got it working. I'm so sorry to waste time off this bad assumption. Thank you for your time.
*How do you set topic to solved?

Last edited by PiGuy (2015-08-20 04:21:07)

Offline

#11 2015-08-20 06:48:04

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Arch linux can't connect to the internet

PiGuy wrote:

*How do you set topic to solved?

Edit your first post and prepend [SOLVED] to the title.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB