You are not logged in.

#1 2012-04-28 16:07:42

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Can't Connect to the Internet through Ethernet

I've tried every guide, wiki, and post that I can find. Although this doesn't mean that I haven't missed anything, I'm completely out of ideas. Does anyone know what I should try? I'm using the ASUS P8Z68-V LE motherboard.
  Thanks, ~Unsolved Cypher

Offline

#2 2012-04-28 16:23:15

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't Connect to the Internet through Ethernet

Hi, and welcome to the forums.

Can you tell us about your ISP? Is it modem-based? Do you need a login name and password (PPPoE) or do you just need to set up the gateway, and DNS 1 + DNS 2 addresses ?


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-04-28 16:30:03

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Can't Connect to the Internet through Ethernet

DSpider wrote:

Hi, and welcome to the forums.

Can you tell us about your ISP? Is it modem-based? Do you need a login name and password (PPPoE) or do you just need to set up the gateway, and DNS 1 + DNS 2 addresses ?

It's a modem, which plugs into a router. My computer is plugged into the router. It doesn't need a logon or anything, and I know it works since Windows and other Linux works fine.

Offline

#4 2012-04-28 16:30:47

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

Re: Can't Connect to the Internet through Ethernet

And, are you using a wireless interface or a wired interface. 
Perhaps the output of ip link
and of lspci -nn


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2012-04-28 16:41:59

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Can't Connect to the Internet through Ethernet

ewaller wrote:

And, are you using a wireless interface or a wired interface. 
Perhaps the output of ip link
and of lspci -nn

I'm usirg wired, and ip link outputs

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MUSTICAST,UP,LOWER_UP> mtu 1500 qdisc pfiifo_fast state UP qlen 1000
link/ether c8:60:00:6e:7b:41 brd ff:ff:ff:ff:ff:ff


and what part of lspci -nn do you want? It's quite long, and I am still leaning Dvorak, so I'm quite slow.

   Thanks, ~Unsolved Cypher

Offline

#6 2012-04-28 16:55:01

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

Re: Can't Connect to the Internet through Ethernet

UnsolvedCypher wrote:

and what part of lspci -nn do you want?

The IP output deprecated  the need for the lsusb output

As a sanity check, what happens if you run dhcpcd eth0 as root?

Last edited by ewaller (2012-04-28 16:55:14)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2012-04-28 16:59:59

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Can't Connect to the Internet through Ethernet

ewaller wrote:
UnsolvedCypher wrote:

and what part of lspci -nn do you want?

The IP output deprecated  the need for the lsusb output

As a sanity check, what happens if you run dhcpcd eth0 as root?

It says that DHCP is already running. Should I kill it and then report the result?

Offline

#8 2012-04-28 17:09:00

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't Connect to the Internet through Ethernet

I've tried every guide, wiki, and post that I can find.

https://wiki.archlinux.org/index.php/NetworkManager

Have you tried this?


Wicd can also manage wired internet connections.

Last edited by DSpider (2012-04-28 17:10:38)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-04-28 17:10:23

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Can't Connect to the Internet through Ethernet

DSpider wrote:

I've tried every guide, wiki, and post that I can find.

https://wiki.archlinux.org/index.php/NetworkManager

Have you tried this?

I can't use pacman since I can't connect to the internet.

Offline

#10 2012-04-28 17:17:27

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Can't Connect to the Internet through Ethernet

This means you haven't installed Arch yet, right? Because if you followed the Beginner's Guide you would have read the part about network configuration (link) and managed to run a pacman -Syu to update the system. Which means that at some point, the internet connection worked.

Or did you not get to that part yet and installed using the "core" ISO ?


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#11 2012-04-28 17:19:01

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Can't Connect to the Internet through Ethernet

DSpider wrote:

This means you haven't installed Arch yet, right? Because if you followed the Beginner's Guide you would have read the part about network configuration (link) and managed to run a pacman -Syu to update the system. Which means that at some point, the internet connection worked.

Or did you not get to that part yet and installed using the "core" ISO ?

Yes, I used the core install.

Offline

#12 2012-04-28 17:19:02

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

Re: Can't Connect to the Internet through Ethernet

UnsolvedCypher wrote:

It says that DHCP is already running. Should I kill it and then report the result?

Yes, lets try that.  But run it with with the -d flag.

This is a bit puzzling.  It almost acts as if the card cannot see the dhcp server in the router.
You are sure that the cables are correct, right?  There has been no reconfiguration since using the other OSes?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#13 2012-04-28 17:27:44

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Can't Connect to the Internet through Ethernet

ewaller wrote:
UnsolvedCypher wrote:

It says that DHCP is already running. Should I kill it and then report the result?

Yes, lets try that.  But run it with with the -d flag.

This is a bit puzzling.  It almost acts as if the card cannot see the dhcp server in the router.
You are sure that the cables are correct, right?  There has been no reconfiguration since using the other OSes?

The only suspicious line is the 3rd to last, which says that /usr/lib/dhcpcd/dhcpcd-hooks/30-hostname: line 9: hostname: command not found

And yes, the wires are fine.

Offline

#14 2012-04-28 17:34:36

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

Re: Can't Connect to the Internet through Ethernet

I've seen this before hmm
Try the following commands:

ewaller@odin:~/.config/openbox[1] 1008 %which hostname      
/usr/bin/hostname
ewaller@odin:~/.config/openbox 1009 %pacman -Qs inetutils
local/inetutils 1.9.1-2 (base)
    A collection of common network programs
ewaller@odin:~/.config/openbox 1010 %

You need the hostname command.  If it is not  installed, we can install it without a network connection. 

I am leaving with my daughter for a few hours.  I'll check back


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#15 2012-04-28 18:23:39

Clarence.e.a
Member
Registered: 2012-04-25
Posts: 20

Re: Can't Connect to the Internet through Ethernet

I had problems connecting to the internet through a wired connection during install. dhcpcd eth0 never worked for me but dhclient eth0 did. It's a shot in the dark but it might work. And I recommend doing the remote install by the way, it really alleviates some headache from updating/configuring pacman and whatnot.

Offline

#16 2012-04-28 19:38:20

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Can't Connect to the Internet through Ethernet

Clarence.e.a wrote:

I had problems connecting to the internet through a wired connection during install. dhcpcd eth0 never worked for me but dhclient eth0 did. It's a shot in the dark but it might work. And I recommend doing the remote install by the way, it really alleviates some headache from updating/configuring pacman and whatnot.

I wiped my drive and did a remote install, which went mostly great, I even got an internet connection. The problem is, when I get to the install packages stage, everything fails. I tried pacman -Syu which outputs

:: Synchronizing package databases...
error: failed to update core (unexpected error)
error: failed to update extra (unexpected error)
error: failed to update community (unexpected error)
error: failed to synchronize any databases

I looked at my mirrorlist.conf, which had no commented mirrors. So, I commented all but a few. Still, I get the same result. Any ideas? Also, should I start a new thread?
   Thanks, ~ Unsolved Cypher

Offline

#17 2012-04-28 20:19:42

Clarence.e.a
Member
Registered: 2012-04-25
Posts: 20

Re: Can't Connect to the Internet through Ethernet

Make sure you get an internet connection AFTER you install too, usually you have to repeat the same steps that you did during the install to get one. Did you select the dhclient package when you were selecting your packages during the install? I would also install the netcfg package to get automatic internet connection during boot. Disable ipv6 unless you know you need it enabled, it always messed my system up when it was enabled and I've read that is pretty troublesome in general. To test your internet connection use:

ping -c 3 google.com

If you successfully ping then you are connected, if you get an error you are disconnected.

Here are some wiki articles that could definitely help out:

Configuring Your Network
Using the netcfg package to automatically connect during boot
Disable ipv6
Begginer's Guide on configuring the network after install

Offline

#18 2012-04-28 20:23:19

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Can't Connect to the Internet through Ethernet

Clarence.e.a wrote:

Make sure you get an internet connection AFTER you install too, usually you have to repeat the same steps that you did during the install to get one. Did you select the dhclient package when you were selecting your packages during the install? I would also install the netcfg package to get automatic internet connection during boot. Disable ipv6 unless you know you need it enabled, it always messed my system up when it was enabled and I've read that is pretty troublesome in general. To test your internet connection use:

ping -c 3 google.com

If you successfully ping then you are connected, if you get an error you are disconnected.

Here are some wiki articles that could definitely help out:

Configuring Your Network
Using the netcfg package to automatically connect during boot
Disable ipv6
Begginer's Guide on configuring the network after install

Pinging works, I'm connected. I'm moving the discussion to https://bbs.archlinux.org/viewtopic.php … 0#p1094050

Offline

#19 2012-04-28 22:19:53

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

Re: Can't Connect to the Internet through Ethernet

Original problem solved, new topic started on separate thread.  (Also a bit of double post)
Closed.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB