You are not logged in.
Hi, I installed Arch two days ago and everything is going fine except for the network, that is unrealiable. First I thought it was a temporary problem with either my connection or with the server but since it is happening multiple times I think it is some configuration problem on my part. I am using a wired connection connected via dhcpd and I am having trouble with "network is unreachable" problems.
Examples:
- Trying to build screencloud from AUR:
-> Downloading screencloud-1.1.6-1-x86_64.pkg.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to download.opensuse.org port 80: Network is unreachable - Trying to import infinality bundle repo key
[root@arch ~]# pacman-key -r 962DDE58
gpg: requesting key 962DDE58 from hkp server pool.sks-keyservers.net
gpgkeys: HTTP fetch error 7: Failed to connect to pool.sks-keyservers.net port 11371: Network is unreachable
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
==> ERROR: Remote key not fetched correctly from keyserver. And before I was able to fetch packages from AUR repo using aurget I had to add the following line to my "/etc/hosts" file (I was getting "network is unreachable" errors too):
78.46.78.247 aur.archlinux.org What is going on?
EDIT: My dmesg (I think it might be useful)
Last edited by moisespedro (2014-05-21 17:06:17)
Offline
Can't download torrents via rtorrent either, what the hell
Offline
Instead of cursing, let us know what you have done in order to fix the issue.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Instead of cursing, let us know what you have done in order to fix the issue.
Apart from adding the aur line on the /etc/hosts file I didn't do anything because I am clueless
Offline
Offline
It seems that removing Google DNS off my router settings solved the issue (or it might be a huge coincidence).
EDIT: No, it didn't
EDIT2: By the way I configured my network exactly like the wiki teaches (I am using dhcpcd)
Last edited by moisespedro (2014-05-21 20:51:47)
Offline
So show us what you have done, show us the output of dhcpcd, ip addr, ping outputs, output of /etc/resolv.conf... you know?
Offline
[pedro@arch ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
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: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 74:d0:2b:cc:47:48 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global enp2s0
valid_lft forever preferred_lft forever
inet6 fe80::76d0:2bff:fecc:4748/64 scope link
valid_lft forever preferred_lft forever [pedro@arch ~]$ ping -c3 google.com
PING google.com (177.43.115.168) 56(84) bytes of data.
64 bytes from googlecom168.static.host.gvt.net.br (177.43.115.168): icmp_seq=1 ttl=59 time=7.03 ms
64 bytes from googlecom168.static.host.gvt.net.br (177.43.115.168): icmp_seq=2 ttl=59 time=6.22 ms
64 bytes from googlecom168.static.host.gvt.net.br (177.43.115.168): icmp_seq=3 ttl=59 time=6.99 ms
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 6.223/6.748/7.032/0.377 ms[pedro@arch ~]$ cat /etc/resolv.conf
# Generated by resolvconf
domain domain.name
nameserver 192.168.1.1Offline
It seems that removing Google DNS off my router settings solved the issue (or it might be a huge coincidence).
EDIT: No, it didn't
EDIT2: By the way I configured my network exactly like the wiki teaches (I am using dhcpcd)
This posts suggests you have taken many steps on your own (which is good) and that each of these steps could reveal valuable information (also good). But for some reason you aren't sharing what these steps were, or what lead you to these inferences (bad). How can anyone help you if you don't describe what is happening.
EDIT by Inxsible -- Fixed it for you Trilby ![]()
Last edited by Inxsible (2014-05-22 14:22:02)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I am failing to see how I am not sharing what I've done when I said I followed exactly what the Wiki said about dhcp connections. More specifically:
# systemctl enable dhcpcd.service
Also, I shared my dmesg and other outputs. How am I hiding something?
Offline
lets start from scratch :
Please post outputs of
sudo systemctl start dhcpcduname -a&
sudo systemctl enable dhcpcdThere's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
By the way I configured my network exactly like the wiki teaches (I am using dhcpcd)
I am failing to see how I am not sharing what I've done when I said I followed exactly what the Wiki said about dhcp connections. More specifically:
# systemctl enable dhcpcd.service
Other ways to setup DHCP is to use dhcpcd, which is included in the base group. It is more powerful tool and allows to configure more dhcp client options. Either use the provided service file dhcpcd@.service, passing the interface name as an argument, or start it manually by running dhcpcd interface.
2: enp2s0
Offline
[root@arch ~]# systemctl start dhcpcd@enp2s0.service
Job for dhcpcd@enp2s0.service failed. See 'systemctl status dhcpcd@enp2s0.service' and 'journalctl -xn' for details.
[root@arch ~]# systemctl status dhcpcd@enp2s0.service
● dhcpcd@enp2s0.service - dhcpcd on enp2s0
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; disabled)
Active: failed (Result: resources) since Sex 2014-05-23 17:55:33 BRT; 7s ago
Process: 6304 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=0/SUCCESS)
Mai 23 17:55:33 arch systemd[1]: PID file /run/dhcpcd-enp2s0.pid not readab...t.
Mai 23 17:55:33 arch systemd[1]: Failed to start dhcpcd on enp2s0.
Mai 23 17:55:33 arch systemd[1]: Unit dhcpcd@enp2s0.service entered failed ...e.
Hint: Some lines were ellipsized, use -l to show in full. [root@arch ~]# systemctl status dhcpcd.service
● dhcpcd.service - dhcpcd on all interfaces
Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled)
Active: active (running) since Sex 2014-05-23 17:54:11 BRT; 2min 14s ago
Main PID: 6137 (dhcpcd)
CGroup: /system.slice/dhcpcd.service
└─6137 /usr/bin/dhcpcd -q -b
Mai 23 17:55:22 arch dhcpcd[6137]: control command: /usr/bin/dhcpcd -q -w enp2s0
Mai 23 17:55:22 arch dhcpcd[6137]: enp2s0: adding route to 192.168.1.0/24
Mai 23 17:55:22 arch dhcpcd[6137]: enp2s0: adding default route via 192.168.1.1
Mai 23 17:55:22 arch dhcpcd[6137]: enp2s0: removing route to 192.168.1.0/24
Mai 23 17:55:22 arch dhcpcd[6137]: enp2s0: removing default route via 192.1....1
Mai 23 17:55:33 arch dhcpcd[6137]: control command: /usr/bin/dhcpcd -q -w enp2s0
Mai 23 17:55:33 arch dhcpcd[6137]: enp2s0: adding route to 192.168.1.0/24
Mai 23 17:55:33 arch dhcpcd[6137]: enp2s0: adding default route via 192.168.1.1
Mai 23 17:55:33 arch dhcpcd[6137]: enp2s0: removing route to 192.168.1.0/24
Mai 23 17:55:33 arch dhcpcd[6137]: enp2s0: removing default route via 192.1....1
Hint: Some lines were ellipsized, use -l to show in full. EDIT: Ok, so instead of "systemctl enable dhcpcd.service" (as begginers guide says) I've ran "systemctl disable dhcpcd.service" and then "systemctl enable dhcpcd@enp2s0.service" and then I reboot my computer and, as I thought, nothing changed. I am still getting the "network is unreachable" errors.
EDIT2:
[root@arch ~]# systemctl status dhcpcd@enp2s0.service
● dhcpcd@enp2s0.service - dhcpcd on enp2s0
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled)
Active: active (running) since Sex 2014-05-23 18:04:13 BRT; 3min 27s ago
Process: 261 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=0/SUCCESS)
Main PID: 421 (dhcpcd)
CGroup: /system.slice/system-dhcpcd.slice/dhcpcd@enp2s0.service
└─421 /usr/bin/dhcpcd -q -w enp2s0
Mai 23 18:05:18 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reac...in
Mai 23 18:05:53 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unre...it
Mai 23 18:05:53 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reac...in
Mai 23 18:06:28 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unre...it
Mai 23 18:06:29 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reac...in
Mai 23 18:07:04 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unre...it
Mai 23 18:07:04 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reac...in
Mai 23 18:07:37 arch systemd[1]: Started dhcpcd on enp2s0.
Mai 23 18:07:39 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unre...it
Mai 23 18:07:39 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reac...in
Hint: Some lines were ellipsized, use -l to show in full. Last edited by moisespedro (2014-05-23 21:08:09)
Offline
Please paste errors in full:
Hint: Some lines were ellipsized, use -l to show in full.
Offline
Mai 23 18:08:14 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unreachable, expiring it
Mai 23 18:08:14 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reachable again
Mai 23 18:08:49 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unreachable, expiring it
Mai 23 18:08:49 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reachable again
Mai 23 18:09:24 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unreachable, expiring it
Mai 23 18:09:24 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reachable again
Mai 23 18:10:34 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unreachable, expiring it
Mai 23 18:10:34 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reachable again
Mai 23 18:11:09 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is unreachable, expiring it
Mai 23 18:11:09 arch dhcpcd[421]: enp2s0: fe80::e6c1:46ff:fe83:b771 is reachable again Offline
you missed the output of
uname -aThere's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
you missed the output of
uname -a
From post #1's dmesg
[ 0.000000] Linux version 3.14.4-1-ARCH (nobody@var-lib-archbuild-testing-x86_64-tobias) (gcc version 4.9.0 20140507 (prerelease) (GCC) ) #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014And many other things.
Offline