You are not logged in.

#1 2016-06-15 02:59:20

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Arch Linux Only Connecting to Certain Websites!

Hello, I'm having a major issue with a new, fresh Arch Linux install on my new PC.
I can only connect to certain sites (such as the the site I'm on right now or google sites) and any kind of ipv6 website.

Output of resolv.conf:

[alpha@alpha ~]$ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 2602:306:30d7:9720::1

Output of dhcpcd.conf:

[alpha@alpha ~]$ cat /etc/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 dhcp
#noipv4ll


Output of /etc/hosts:

[alpha@alpha ~]$ cat /etc/hosts 
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>	<hostname.domain.org>	<hostname> <sethostname>
127.0.0.1	localhost.localdomain	localhost 
::1		localhost.localdomain	localhost 

# End of file


Output of host.conf:

[alpha@alpha ~]$ cat /etc/host.conf 
#
# /etc/host.conf
#

order hosts,bind
multi on

# End of file

Last edited by Alpha2244 (2016-06-15 03:22:55)

Offline

#2 2016-06-15 03:02:55

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

Re: Arch Linux Only Connecting to Certain Websites!

Please read the Code of Conduct and then edit your post accordingly: https://wiki.archlinux.org/index.php/Code_of_conduct

Remove the ridiculous hystrionics from the thread title. Likewise the demand for assistance ASAP: the community volunteers their time, we aren't on the clock for you. And learn how to use code tags.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-06-15 03:21:08

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

jasonwryan wrote:

Please read the Code of Conduct and then edit your post accordingly: https://wiki.archlinux.org/index.php/Code_of_conduct

Remove the ridiculous hystrionics from the thread title. Likewise the demand for assistance ASAP: the community volunteers their time, we aren't on the clock for you. And learn how to use code tags.

Sorry! Will do!

Offline

#4 2016-06-15 03:22:39

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

Re: Arch Linux Only Connecting to Certain Websites!


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2016-06-15 03:23:26

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

Already have.

[alpha@alpha ~]$ cat /etc/hostname 
alpha

Last edited by Alpha2244 (2016-06-15 03:24:36)

Offline

#6 2016-06-15 03:26:28

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

Re: Arch Linux Only Connecting to Certain Websites!

It should be in /etc/hosts as well...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2016-06-15 03:30:02

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

jasonwryan wrote:

It should be in /etc/hosts as well...

Where to? Like this?

[alpha@alpha ~]$ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>	<hostname.domain.org>	<hostname> <sethostname>
127.0.0.1	localhost.localdomain	localhost alpha
::1		localhost.localdomain	localhost alpha

# End of file

Offline

#8 2016-06-15 03:31:04

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

Re: Arch Linux Only Connecting to Certain Websites!

Yes. How did you set the hostname in the first place?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2016-06-15 03:33:00

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

At first I set it during install according to the way it told me in the Beginners Guide...after that I was getting issues on the network and so I changed it from, "thealphasdomain" to just "alpha" with using:

hostnamectl set-hostname

Offline

#10 2016-06-15 04:23:48

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: Arch Linux Only Connecting to Certain Websites!

Alpha2244 wrote:

At first I set it during install according to the way it told me in the Beginners Guide...after that I was getting issues on the network and so I changed it from, "thealphasdomain" to just "alpha" with using:

hostnamectl set-hostname

You only have ipv6 dns


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#11 2016-06-15 04:26:11

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

dockland wrote:

You only have ipv6 dns

If I use an IPv4 DNS, it will refuse to connect to anything.

Last edited by Alpha2244 (2016-06-15 04:26:51)

Offline

#12 2016-06-15 04:29:18

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: Arch Linux Only Connecting to Certain Websites!

Alpha2244 wrote:
dockland wrote:

You only have ipv6 dns

If I use an IPv4 DNS, it will refuse to connect to anything.

Even with public dns? Like 8.8.8.8 and 8.8.4.4?


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#13 2016-06-15 04:30:01

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

dockland wrote:

Even with public dns? Like 8.8.8.8 and 8.8.4.4?

Yes.

Offline

#14 2016-06-15 05:33:11

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

I have tried to edit my /etc/resolv.conf as so:

[alpha@alpha ~]$ -> cat /etc/resolv.conf
# Generated by resolvconf
nameserver 2602:306:30d7:9720::1
nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844

Still nothing...

Offline

#15 2016-06-15 06:06:01

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: Arch Linux Only Connecting to Certain Websites!

nameserver 8.8.8.8
nameserver 8.8.4.4

Edit: And see the wiki for making the nameservers persistent, or just chattr +i on resolv.conf for an ugly hack.

You are insisting on resolving through ipv6, if your ISP has limits on that then you WILL have to fall back to ipv4.  Not all ISPs have full support for v6.

Last edited by headkase (2016-06-15 06:09:49)

Offline

#16 2016-06-15 06:10:44

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

headkase wrote:
nameserver 8.8.8.8
nameserver 8.8.4.4

Edit: And see the wiki for making the nameservers persistent, or just chattr +i on resolv.conf for an ugly hack.

You are insisting on resolving through ipv6, if your ISP has limits on that then you WILL have to fall back to ipv4.  Not all ISPs have full support for v6.


My ISP does support IPv6 and also -- I already tried using 8.8.8.8 and 8.8.4.4, and I couldn't use ANY websites sad

Offline

#17 2016-06-15 08:18:23

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

Issue seems to be that my ethernet device (enp3s0) was never assigned an IPv4 address...judging by this output

[root@alpha alpha]# dhcpcd   
dev: loaded udev
DUID 00:01:00:01:1e:f2:44:b6:40:8d:5c:db:ac:85
enp3s0: IAID 5c:db:ac:85
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.93 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.95 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
enp3s0: soliciting an IPv6 router
enp3s0: Router Advertisement from fe80::fa18:97ff:fe23:11ed
enp3s0: adding address 2602:306:30d7:9720:ad3f:efa5:64f4:fee6/64
enp3s0: requesting DHCPv6 information
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.93 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
forked to background, child pid 1642

EDIT: Just discovered I have 4* inet6 addresses...??

[root@alpha alpha]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    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 host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 40:8d:5c:db:ac:85 brd ff:ff:ff:ff:ff:ff
    inet6 2602:306:30d7:9720:ad3f:efa5:64f4:fee6/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 2591845sec preferred_lft 604645sec
    inet6 2602:306:30d7:9720:1fec:3f2:36a:8e7c/64 scope global noprefixroute dynamic 
       valid_lft 2591845sec preferred_lft 604645sec
    inet6 2602:306:30d7:9720:428d:5cff:fedb:ac85/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 2589446sec preferred_lft 602246sec
    inet6 fe80::ad3f:efa5:64f4:fee6/64 scope link 
       valid_lft forever preferred_lft forever
[root@alpha alpha]# 

sad

Last edited by Alpha2244 (2016-06-15 17:16:33)

Offline

#18 2016-06-15 17:58:29

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

??????????????????????????

[alpha@alpha ~]$ -> ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 40:8d:5c:db:ac:85 brd ff:ff:ff:ff:ff:ff
[alpha@alpha ~]$ -> ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    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 host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 40:8d:5c:db:ac:85 brd ff:ff:ff:ff:ff:ff
    inet 169.254.138.184/16 brd 169.254.255.255 scope global enp3s0
       valid_lft forever preferred_lft forever
    inet6 2602:306:30d7:9720:ad3f:efa5:64f4:fee6/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 2589935sec preferred_lft 602735sec
    inet6 2602:306:30d7:9720::3e8/128 scope global noprefixroute dynamic 
       valid_lft 2589836sec preferred_lft 602636sec
    inet6 2602:306:30d7:9720:1fec:3f2:36a:8e7c/64 scope global noprefixroute dynamic 
       valid_lft 2591964sec preferred_lft 604764sec
    inet6 2602:306:30d7:9720:428d:5cff:fedb:ac85/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 2554748sec preferred_lft 567548sec
    inet6 fe80::ad3f:efa5:64f4:fee6/64 scope link 
       valid_lft forever preferred_lft forever

Is this normal?

Last edited by Alpha2244 (2016-06-15 17:59:03)

Offline

#19 2016-06-15 18:13:22

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

Re: Arch Linux Only Connecting to Certain Websites!

Don't bump your thread: https://wiki.archlinux.org/index.php/Co … ct#Bumping

You haven't told us anything about your network management...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#20 2016-06-15 18:21:22

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: Arch Linux Only Connecting to Certain Websites!

Alpha2244 wrote:

??????????????????????????

[alpha@alpha ~]$ -> ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 40:8d:5c:db:ac:85 brd ff:ff:ff:ff:ff:ff
[alpha@alpha ~]$ -> ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    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 host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 40:8d:5c:db:ac:85 brd ff:ff:ff:ff:ff:ff
    inet 169.254.138.184/16 brd 169.254.255.255 scope global enp3s0
       valid_lft forever preferred_lft forever
    inet6 2602:306:30d7:9720:ad3f:efa5:64f4:fee6/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 2589935sec preferred_lft 602735sec
    inet6 2602:306:30d7:9720::3e8/128 scope global noprefixroute dynamic 
       valid_lft 2589836sec preferred_lft 602636sec
    inet6 2602:306:30d7:9720:1fec:3f2:36a:8e7c/64 scope global noprefixroute dynamic 
       valid_lft 2591964sec preferred_lft 604764sec
    inet6 2602:306:30d7:9720:428d:5cff:fedb:ac85/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 2554748sec preferred_lft 567548sec
    inet6 fe80::ad3f:efa5:64f4:fee6/64 scope link 
       valid_lft forever preferred_lft forever

Is this normal?

Is there anything that doesn't seem to work? Do you have errors in your systemd journal?

Output of journalctl -p err -b


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#21 2016-06-15 18:25:06

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

[alpha@alpha ~]$ -> journalctl -p err -b
-- Logs begin at Tue 2016-06-14 04:28:59 UTC, end at Wed 2016-06-15 13:24:28 UTC. --
Jun 15 13:15:12 alpha kernel: radeon 0000:01:00.0: Invalid PCI ROM header signature: expecting
lines 1-2/2 (END)

Only this...

Offline

#22 2016-06-15 18:26:27

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

jasonwryan wrote:

Don't bump your thread: https://wiki.archlinux.org/index.php/Co … ct#Bumping

You haven't told us anything about your network management...

Sorry, this is my first time posting on a forums ever tongue
Also, network management? What do you mean?

Offline

#23 2016-06-15 18:28:01

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

Re: Arch Linux Only Connecting to Certain Websites!

How you manage your network connectivity: what tool do you use? What services do you have enabled?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#24 2016-06-15 18:28:51

Alpha2244
Member
Registered: 2016-06-15
Posts: 14

Re: Arch Linux Only Connecting to Certain Websites!

jasonwryan wrote:

How you manage your network connectivity: what tool do you use? What services do you have enabled?

Only DHCPCD

EDIT:

Just found out something...this service will not start

[alpha@alpha ~]$ -> sudo systemctl enable dhcpcd@enp3s0
[sudo] password for alpha: 
Failed to enable unit: No such file or directory

EDIT:

Discovered something else...

[alpha@alpha ~]$ -> sudo dhcpcd -4 enp3s0
DUID 00:01:00:01:1e:f2:44:b6:40:8d:5c:db:ac:85
enp3s0: IAID 5c:db:ac:85
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.84 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.93 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.84 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.93 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.84 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
enp3s0: soliciting a DHCP lease
enp3s0: offered 192.168.1.93 from 192.168.1.254
enp3s0: NAK: from 192.168.1.254
timed out
dhcpcd exited

Looks to me as if It's refusing to assign an IPv4 address.

Last edited by Alpha2244 (2016-06-16 00:25:49)

Offline

#25 2016-06-16 23:44:08

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Arch Linux Only Connecting to Certain Websites!

Only DHCPCD

Are you sure no other network services (systemd-networkd, network manager etc)  are started ?

Have you checked the setup of your router ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB