You are not logged in.

#1 2017-10-25 03:56:43

verndog
Member
Registered: 2007-09-21
Posts: 55

[SOLVED] no internet connection - Ethernet 'dhcp'

Booting the latest ISO using USB flash.

Both '/etc/dhclient.conv and rc.conf' no files.
/etc/resolv.conf:

# Generated by resolvconf
domain socal.rr.com
nameserver 209.18.47.61
nameserver 209.18.47.62

/etc/netctl/mynet:

Description='A basic dhcp ethernet connection'
Interface=enp0s7
Connection=ethernet
IP=dhcp
#DHCPClient=dhcpcd
#DHCPReleaseOnStop=no
## for DHCPv6
#IP6=dhcp
#DHCP6Client=dhclient
## for IPv6 autoconfiguration
#IP6=stateless

journal -xe:

-- Unit systemd-tmpfiles-clean.service has finished starting up.
-- 
-- The start-up result is done.
Oct 24 23:46:32 archiso systemd[1]: Starting Networking for netctl profile mynet...
-- Subject: Unit netctl@mynet.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@mynet.service has begun starting up.
Oct 24 23:46:32 archiso network[2937]: Starting network profile 'mynet'...
Oct 24 23:46:32 archiso network[2937]: The interface of network profile 'mynet' is already up
Oct 24 23:46:32 archiso systemd[1]: netctl@mynet.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 23:46:32 archiso systemd[1]: Failed to start Networking for netctl profile mynet.
-- Subject: Unit netctl@mynet.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@mynet.service has failed.
-- 
-- The result is failed.
Oct 24 23:46:32 archiso systemd[1]: netctl@mynet.service: Unit entered failed state.
Oct 24 23:46:32 archiso systemd[1]: netctl@mynet.service: Failed with result 'protocol'.
Oct 24 23:49:01 archiso systemd[1]: Starting Networking for netctl profile mynet...
-- Subject: Unit netctl@mynet.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@mynet.service has begun starting up.
Oct 24 23:49:01 archiso network[3303]: Starting network profile 'mynet'...
Oct 24 23:49:01 archiso network[3303]: The interface of network profile 'mynet' is already up
Oct 24 23:49:01 archiso systemd[1]: netctl@mynet.service: Main process exited, code=exited, status=1/FAILURE
Oct 24 23:49:01 archiso systemd[1]: Failed to start Networking for netctl profile mynet.
-- Subject: Unit netctl@mynet.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@mynet.service has failed.
-- 
-- The result is failed.
Oct 24 23:49:01 archiso systemd[1]: netctl@mynet.service: Unit entered failed state.
Oct 24 23:49:01 archiso systemd[1]: netctl@mynet.service: Failed with result 'protocol'.
Oct 24 23:50:32 archiso kernel: EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null)

lspci ouput:

$ lspci -v |grep -A5 Ethernet
00:07.0 Bridge: NVIDIA Corporation MCP61 Ethernet (rev a2)
	Subsystem: Hewlett-Packard Company MCP61 Ethernet
	Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 24, NUMA node 0
	Memory at fbffd000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at e480 [size=8]
	Capabilities: <access denied>
	Kernel driver in use: forcedeth

net-status-mynet:

● netctl@mynet.service - Networking for netctl profile mynet
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: protocol) since Wed 2017-10-25 04:19:36 UTC; 3min 31s ago
     Docs: man:netctl.profile(5)
  Process: 2910 ExecStart=/usr/lib/netctl/network start mynet (code=exited, status=1/FAILURE)
 Main PID: 2910 (code=exited, status=1/FAILURE)

Oct 25 04:19:36 archiso systemd[1]: Starting Networking for netctl profile mynet...
Oct 25 04:19:36 archiso network[2910]: Starting network profile 'mynet'...
Oct 25 04:19:36 archiso network[2910]: The interface of network profile 'mynet' is already up
Oct 25 04:19:36 archiso systemd[1]: netctl@mynet.service: Main process exited, code=exited, status=1/FAILURE
Oct 25 04:19:36 archiso systemd[1]: Failed to start Networking for netctl profile mynet.
Oct 25 04:19:36 archiso systemd[1]: netctl@mynet.service: Unit entered failed state.
Oct 25 04:19:36 archiso systemd[1]: netctl@mynet.service: Failed with result 'protocol'.

ls /sys/class/net:

enp0s7
lo

dhcpcd.conf:

# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
hostname

# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid

# Persist interface configuration when dhcpcd exits.
persistent

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate Stable Private IPv6 Addresses instead of hardware based ones
slaac private
noipv4ll

dmesg|grep Ethernet:

[    9.411508] forcedeth 0000:00:07.0 enp0s7: renamed from eth0
[   11.910116] forcedeth 0000:00:07.0 enp0s7: MSI enabled

ip-link:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether e0:cb:4e:9b:e8:4d brd ff:ff:ff:ff:ff:ff

This same Ethernet/internet works on all my other systems.

Last edited by verndog (2017-10-26 14:13:44)

Offline

#2 2017-10-25 07:20:04

nesk
Member
Registered: 2011-03-31
Posts: 181

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

I see both dhcpcd and dhclient (commented out) references in your /etc/netctl/mynet, is it possible your system somehow tries to use both and they conflict? Do you have both installed?

Offline

#3 2017-10-25 08:20:17

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

ping 8.8.8.8
dig @8.8.8.8 google.com

If that works, replace /etc/resolv.conf contents w/

nameserver 8.8.8.8

8.8.8.8 is one of googles DNS and you're somehow getting a filtered TimeWarner (they do internet? jeez...)  DNS (eg. those nameservers fail for me)

Edit: removed probably misleading fragment.

Last edited by seth (2017-10-25 08:22:15)

Offline

#4 2017-10-25 20:08:42

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

seth wrote:
ping 8.8.8.8
dig @8.8.8.8 google.com

If that works, replace /etc/resolv.conf contents w/

nameserver 8.8.8.8

8.8.8.8 is one of googles DNS and you're somehow getting a filtered TimeWarner (they do internet? jeez...)  DNS (eg. those nameservers fail for me)

Edit: removed probably misleading fragment.

Yes, 8.8.8.8 works, but no difference when I changed the contents. And yes, I do have TWC internet.

Offline

#5 2017-10-25 20:10:15

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

nesk wrote:

I see both dhcpcd and dhclient (commented out) references in your /etc/netctl/mynet, is it possible your system somehow tries to use both and they conflict? Do you have both installed?

I changed both on and then one on, the other off, visa-versa. No change.

Still no internet.

Not sure what to try next?

Offline

#6 2017-10-25 20:18:11

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

What's the actual output of "dig @8.8.8.8 google.com" and what does your /etc/resolv.conf actually look like after the changes?

Also please specify your determination of "no internet" for if ping 8.8.8.8 gave you no timeouts etc, you *do* have internet - but apparently a problem with domain name resolution.

Offline

#7 2017-10-25 20:40:59

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

seth wrote:

What's the actual output of "dig @8.8.8.8 google.com" and what does your /etc/resolv.conf actually look like after the changes?

Also please specify your determination of "no internet" for if ping 8.8.8.8 gave you no timeouts etc, you *do* have internet - but apparently a problem with domain name resolution.

I'll check "dig @8.8.8.8 google.com"

If 8.8.8.8 works then change 'resolv.conf to look like this:

# Generated by resolvconf
domain socal.rr.com
nameserver 8.8.8.8

Offline

#8 2017-10-25 20:42:33

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

Remove the "domain socal.rr.com" entry, but the most important question is whether you can dig using googles DNS server.

Offline

#9 2017-10-25 21:00:38

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

seth wrote:

Remove the "domain socal.rr.com" entry, but the most important question is whether you can dig using googles DNS server.

Yes, I can dig google:
'dig @8.8.8.8 google.com'

; <<>> DiG 9.11.2 <<>> @8.8.8.8 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30449
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;google.com.			IN	A

;; ANSWER SECTION:
google.com.		106	IN	A	216.58.217.206

;; Query time: 12 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Oct 25 20:45:24 UTC 2017
;; MSG SIZE  rcvd: 55

ping google.com:

PING google.com(lax28s15-in-x0e.1e100.net (2607:f8b0:4007:804::200e)) 56 data bytes
64 bytes from lax28s15-in-x0e.1e100.net (2607:f8b0:4007:804::200e): icmp_seq=1 ttl=55 time=13.9 ms
64 bytes from lax28s15-in-x0e.1e100.net (2607:f8b0:4007:804::200e): icmp_seq=2 ttl=55 time=13.9 ms
64 bytes from lax28s15-in-x0e.1e100.net (2607:f8b0:4007:804::200e): icmp_seq=3 ttl=55 time=12.9 ms
64 bytes from lax28s15-in-x0e.1e100.net (2607:f8b0:4007:804::200e): icmp_seq=4 ttl=55 time=13.6 ms

--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 12.942/13.611/13.909/0.396 ms

but if I 'ping' anyone else, no response (archlinux.com, msn.com, etc)

Offline

#10 2017-10-25 21:07:03

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

Apparently you get IPv6 resolutions - could be a problem.

Ftr, msn.com nor archlinux.com do echo (and you probably wanted to try archlinux.org - which should echo)

Did you try a resolv.conf that *only* contains "nameserver 8.8.8.8"?

Offline

#11 2017-10-25 23:48:09

verndog
Member
Registered: 2007-09-21
Posts: 55

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

seth wrote:

Apparently you get IPv6 resolutions - could be a problem.

Ftr, msn.com nor archlinux.com do echo (and you probably wanted to try archlinux.org - which should echo)

Did you try a resolv.conf that *only* contains "nameserver 8.8.8.8"?

I think  I've been going at this all wrong. Yes, I should have used '.org' instead of '.com'. Also if I 'ping www.msn.com or www.twc.com' it works.
After I install my own network info into /etc/netctl, then all appears ok. My 'resolv.conf' that automatically generated is the exact same as, for example, SystemRescue's.

The only way to test this is set up swap and partition, and repositories and give it a go.

The IPv6 has been a problem for any Ubuntu system. I have to edit edit out a line in '/etc/gai.conf' to stop IPv6. Not sure how to go about this using Archlinux?

Last edited by verndog (2017-10-25 23:48:53)

Offline

#12 2017-10-26 07:04:31

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: [SOLVED] no internet connection - Ethernet 'dhcp'

IPv6 should be no particular problem on the client, but *could* be with your ISP.
https://wiki.archlinux.org/index.php/IPv6#Disable_IPv6

Edit: but first try whether it's actually a problem at all, don't disable it for no reason.

Last edited by seth (2017-10-26 07:05:08)

Offline

Board footer

Powered by FluxBB