You are not logged in.
I connect to my internet wirelessly. I created a netctl profile for my wireless by using wifi-menu, then added it to startup using netctl enable profilename. This works fine, apart from intermittently programs will complain that there is no connection, when there is. When I run the program again, it finds a connection. Here is an exmaple with pacman. I was downloading a file during both runs of pacman, and neither time did the download stop. Any suggestions as to what is going on?
samuel@arch:~$ sudo pacman -S ttf-hanazono
resolving dependencies...
looking for inter-conflicts...
Packages (1): ttf-hanazono-20131208-1
Total Download Size: 16.88 MiB
Total Installed Size: 42.23 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
error: failed retrieving file 'ttf-hanazono-20131208-1-any.pkg.tar.xz' from mirror.bytemark.co.uk : Could not resolve host: mirror.bytemark.co.uk
error: failed retrieving file 'ttf-hanazono-20131208-1-any.pkg.tar.xz' from mirror.de.leaseweb.net : Could not resolve host: mirror.de.leaseweb.net
error: failed retrieving file 'ttf-hanazono-20131208-1-any.pkg.tar.xz' from mirror.us.leaseweb.net : Could not resolve host: mirror.us.leaseweb.net
error: failed retrieving file 'ttf-hanazono-20131208-1-any.pkg.tar.xz' from archlinux.polymorf.fr : Could not resolve host: archlinux.polymorf.fr
error: failed retrieving file 'ttf-hanazono-20131208-1-any.pkg.tar.xz' from mirror.nl.leaseweb.net : Could not resolve host: mirror.nl.leaseweb.net
^Cerror: failed retrieving file 'ttf-hanazono-20131208-1-any.pkg.tar.xz' from mirror.chmuri.net : Could not resolve host: mirror.chmuri.net
Interrupt signal received
samuel@arch:~$ sudo pacman -S ttf-hanazono
resolving dependencies...
looking for inter-conflicts...
Packages (1): ttf-hanazono-20131208-1
Total Download Size: 16.88 MiB
Total Installed Size: 42.23 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
ttf-hanazono-20131208-1-any 16.9 MiB 4.51M/s 00:04 [#####################################################################################################################] 100%
(1/1) checking keys in keyring [#####################################################################################################################] 100%
(1/1) checking package integrity [#####################################################################################################################] 100%
(1/1) loading package files [#####################################################################################################################] 100%
(1/1) checking for file conflicts [#####################################################################################################################] 100%
(1/1) checking available disk space [#####################################################################################################################] 100%
(1/1) installing ttf-hanazono [#####################################################################################################################] 100%Last edited by Handuel (2014-03-31 21:16:22)
Offline
Try ping google.com
if this does not work, try ping 8.8.8.8 ... if this works out, maybe you have problems with the hostnames resolution. If so, try adding 8.8.8.8 and 8.8.8.4 as dns server (google). Then there is opendns that can serve you as well.
Last edited by Void_Walker (2014-03-31 15:26:56)
Offline
It is just the same, it works sometimes, but not others. I have just run it now, and it works, but 5 minutes ago it claimed to be unable to resolve host. I will attempt to switch to opendns. Thanks for the swift reply.
Offline
Switching to open DNS, seems to have solved the issue (although it could be chance that it hasn't happened yet, I don't know how to reproduce the issue, ti just happens randomly). For now I shall mark this as solved.
Offline