You are not logged in.

#1 2013-12-17 01:17:04

hasdaf
Member
Registered: 2013-12-17
Posts: 7

[SOLVED] Unable to Establish a Connection

Hello,

I'm trying to install Arch for the first time on my old laptop (I've installed Arch once before on a VM). However, even though I have my ethernet cable plugged in, there is no connection established when I boot from USB. I've tried running dhcpcd <interface> but I just get:

version 6.1.0 starting
enp0s10: soliciting an IPv6 router
enp0s10: soliciting a DHCP lease
enp0s10: Router Advertisement from <letters/numbers>
enp0s10: soliciting a DHCPv6 lease
timed out
exited

I think that the problem could potentially be that it's trying to establish an IPv6 connection, as I've never used it before (all my other computers use IPv4). Bear in mind that I don't know what I'm doing so that's purely speculation. I've tried setting up a static, but don't know where to find the information required (I have the gateway but don't know what to use for the static IP, DNS or domain name).

The laptop I'm using is an HP Pavilion dv9904ca. Any help would be appreciated.

Thanks

Last edited by hasdaf (2013-12-18 04:23:20)

Offline

#2 2013-12-17 02:28:15

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

Re: [SOLVED] Unable to Establish a Connection

Welcome to Arch Linux.

You might try disabling IPv6 to see if that helps.


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-12-17 03:22:40

hasdaf
Member
Registered: 2013-12-17
Posts: 7

Re: [SOLVED] Unable to Establish a Connection

I added the lines in the wiki article to /etc/sysctl.d/40-ipv6.conf, but I got the exact same error message.

Offline

#4 2013-12-17 03:27:20

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

Re: [SOLVED] Unable to Establish a Connection

I probably would have tried adding ipv6.disable=1 to the command line in the boot loader.  Regardless, you did not mention whether you had rebooted the system -- that will be necessary.


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-12-17 03:32:50

hasdaf
Member
Registered: 2013-12-17
Posts: 7

Re: [SOLVED] Unable to Establish a Connection

I haven't installed the OS yet, I'm just booting off of a USB. Can I still modify the boot loader?

Offline

#6 2013-12-17 03:45:08

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

Re: [SOLVED] Unable to Establish a Connection

Oh!   
Try this, as root, on a running system (before you try dhcpcd) : sysctl -w net.ipv6.conf.all.disable_ipv6=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

#7 2013-12-17 04:00:31

hasdaf
Member
Registered: 2013-12-17
Posts: 7

Re: [SOLVED] Unable to Establish a Connection

Now it's not proceeding as far as it did before. I'm getting:
version 6.1.0 starting
enp0s10: soliciting an IPv6 router
enp0s10: soliciting a DHCP lease
timed out
forked to background, child pid 724

Is there a way to start dhcpcd explicitly using IPv4?

Offline

#8 2013-12-17 04:04:01

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

Re: [SOLVED] Unable to Establish a Connection

hasdaf wrote:

Is there a way to start dhcpcd explicitly using IPv4?

Why, yes.

tongue




man dhcpcd wrote:

     -4, --ipv4only
             Only configure IPv4.


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 2013-12-17 04:14:55

hasdaf
Member
Registered: 2013-12-17
Posts: 7

Re: [SOLVED] Unable to Establish a Connection

Unfortunately, that still didn't fix the issue. It probably doesn't have anything to do with IPv6. I'm guessing the problem it's having is with "soliciting a DHCP lease", but I'm not quite sure what that would entail.

Offline

#10 2013-12-17 05:11:00

metaf5
Member
Registered: 2013-02-28
Posts: 11

Re: [SOLVED] Unable to Establish a Connection

It doesn't hurt to check, so forgive me if this is a stupid question but:

Is your ethernet cable plugged into something that's doing DHCP?

Offline

#11 2013-12-17 18:58:23

hasdaf
Member
Registered: 2013-12-17
Posts: 7

Re: [SOLVED] Unable to Establish a Connection

I believe so. It's a laptop that had wireless working on Vista for years.

Offline

#12 2013-12-17 21:56:17

hasdaf
Member
Registered: 2013-12-17
Posts: 7

Re: [SOLVED] Unable to Establish a Connection

Well, when I reset my modem I was able to establish a connection for some reason. I appreciate the help anyways.

Offline

#13 2013-12-17 22:11:48

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

Re: [SOLVED] Unable to Establish a Connection

*Headdesk*

Well, glad it is working.  Ensure you change the thread title to mark it [SOLVED]


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

Board footer

Powered by FluxBB