You are not logged in.

#1 2014-04-11 18:06:47

Arucarn
Member
Registered: 2014-04-11
Posts: 5

Internet Connection

When I do 'pacman -Syy' it fails to connect to the repos. If I cancel and then try again it connects. See screenshot:

[oliver@Linux-PC ~]$ sudo pacman -Syy
:: Synchronising package databases...
error: failed retrieving file 'core.db' from mirror.bpiotrowski.pl : Could not resolve host: mirror.bpiotrowski.pl
error: failed retrieving file 'core.db' from mirror.de.leaseweb.net : Could not resolve host: mirror.de.leaseweb.net
error: failed retrieving file 'core.db' from arch.apt-get.eu : Could not resolve host: arch.apt-get.eu
error: failed retrieving file 'core.db' from arch.serverspace.co.uk : Could not resolve host: arch.serverspace.co.uk
error: failed retrieving file 'core.db' from mirror.solusipse.net : Could not resolve host: mirror.solusipse.net
^C
Interrupt signal received

[oliver@Linux-PC ~]$ sudo pacman -Syy
:: Synchronising package databases...
 core                                                             110.9 KiB   668K/s 00:00 [#####################################################] 100%
 extra                                                           1571.5 KiB   770K/s 00:02 [#####################################################] 100%
 community                                                          2.1 MiB   565K/s 00:04 [#####################################################] 100%
 multilib                                                         115.5 KiB   275K/s 00:00 [#####################################################] 100%
[oliver@Linux-PC ~]$ 

The same thing also happens in Steam and certain web browsers such as midori and epiphany. It attempts to load the page but it cannot connect; I refresh and it can.
This only ever happens in Arch Linux or Manjaro. Every other distro works fine. I also have this problem on other computers. Any help would be appreciated smile

Last edited by Arucarn (2014-04-12 11:08:11)


I'm just a kid, so be nice.

Offline

#2 2014-04-11 19:03:02

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

Re: Internet Connection

Why post an image of text output? Just paste the actual text into code blocks...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-04-11 19:26:43

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

Re: Internet Connection

Wired, or wireless?
What are you using to control your network connection?
Have you ensured you've only one thing controlling your network?
Are there any clues in the journal?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2014-04-11 20:57:12

Arucarn
Member
Registered: 2014-04-11
Posts: 5

Re: Internet Connection

ewaller wrote:

Wired, or wireless?
What are you using to control your network connection?
Have you ensured you've only one thing controlling your network?
Are there any clues in the journal?

Sorry but I'm a bit of a noob. It's a wireless connection. What's the journal and what do you mean by what's controlling my network connection?


I'm just a kid, so be nice.

Offline

#5 2014-04-11 21:04:06

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

Re: Internet Connection

The journal is where your logs are stored.  To read your logs, run journalctl as root https://wiki.archlinux.org/index.php/Journalctl#Journal
What systemd services have you enabled that control your network?  For a wired connection, you probably want to enable just the dhcpcd systemd service.
To find the services you have running, use systemctl --type=service

Edit:  You might post that output.

Last edited by ewaller (2014-04-11 21:04:33)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2014-04-11 21:08:32

Arucarn
Member
Registered: 2014-04-11
Posts: 5

Re: Internet Connection

ewaller wrote:

The journal is where your logs are stored.  To read your logs, run journalctl as root https://wiki.archlinux.org/index.php/Journalctl#Journal
What systemd services have you enabled that control your network?  For a wired connection, you probably want to enable just the dhcpcd systemd service.
To find the services you have running, use systemctl --type=service

Edit:  You might post that output.

Here is the output of systemctl --type=service :

UNIT                                                             LOAD   ACTIVE SUB     DESCRIPTION
accounts-daemon.service                                          loaded active running Accounts Service
colord.service                                                   loaded active running Manage, Install and Generate Color Profiles
dbus.service                                                     loaded active running D-Bus System Message Bus
gdm.service                                                      loaded active running GNOME Display Manager
kmod-static-nodes.service                                        loaded active exited  Create list of required static device nodes for the current kern
NetworkManager.service                                           loaded active running Network Manager
polkit.service                                                   loaded active running Authorization Manager
rtkit-daemon.service                                             loaded active running RealtimeKit Scheduling Policy Service
systemd-backlight@backlight:acpi_video0.service                  loaded active exited  Load/Save Screen Backlight Brightness of backlight:acpi_video0
systemd-backlight@backlight:intel_backlight.service              loaded active exited  Load/Save Screen Backlight Brightness of backlight:intel_backlig
systemd-fsck@dev-disk-by\x2duuid-7788c8ab\x2dbd47\x2d491c\x2dac7f\x2d5c49cca3bb7b.service loaded active exited  File System Check on /dev/disk/by-uuid/
systemd-fsck@dev-disk-by\x2duuid-efe71b4b\x2d1d1e\x2d433c\x2da45f\x2d990e20059d89.service loaded active exited  File System Check on /dev/disk/by-uuid/
systemd-journald.service                                         loaded active running Journal Service
systemd-localed.service                                          loaded active running Locale Service
systemd-logind.service                                           loaded active running Login Service
systemd-random-seed.service                                      loaded active exited  Load/Save Random Seed
systemd-remount-fs.service                                       loaded active exited  Remount Root and Kernel File Systems
systemd-rfkill@rfkill0.service                                   loaded active exited  Load/Save RF Kill Switch Status of rfkill0
systemd-sysctl.service                                           loaded active exited  Apply Kernel Variables
systemd-tmpfiles-setup-dev.service                               loaded active exited  Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service                                   loaded active exited  Create Volatile Files and Directories
systemd-udev-trigger.service                                     loaded active exited  udev Coldplug all Devices
systemd-udevd.service                                            loaded active running udev Kernel Device Manager
systemd-update-utmp.service                                      loaded active exited  Update UTMP about System Boot/Shutdown
systemd-user-sessions.service                                    loaded active exited  Permit User Sessions
systemd-vconsole-setup.service                                   loaded active exited  Setup Virtual Console
udisks2.service                                                  loaded active running Disk Manager
upower.service                                                   loaded active running Daemon for power management
user@1000.service                                                loaded active running User Manager for UID 1000
wpa_supplicant.service                                           loaded active running WPA supplicant

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

30 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Mod edit:  Added code tags to program output (ewaller)

Last edited by ewaller (2014-04-11 21:13:34)


I'm just a kid, so be nice.

Offline

#7 2014-04-11 21:12:29

Arucarn
Member
Registered: 2014-04-11
Posts: 5

Re: Internet Connection

jasonwryan wrote:

Why post an image of text output? Just paste the actual text into code blocks...

Sorry. I can be a bit stupid sometimes :-P


I'm just a kid, so be nice.

Offline

#8 2014-04-11 21:16:26

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

Re: Internet Connection

You are using NetworkManager to control your network connection.  Do you not remember installing and enabling it? (Or is this not Arch Linux ?)
What does the journal tell you?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2014-04-11 21:23:03

Arucarn
Member
Registered: 2014-04-11
Posts: 5

Re: Internet Connection

Ahh Okay. Yes this is arch linux and I do remember installing and enabling it.
After running pacman -Syy this is what I get from the journal:

Apr 12 11:46:11 Linux-PC dbus[253]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
Apr 12 11:46:11 Linux-PC dbus[253]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.

I don't think that is it though. I don't have a modem. I googled it and found out that it's a dependancy of Network Manager so I enabled it but still no difference.

Last edited by Arucarn (2014-04-12 11:01:51)


I'm just a kid, so be nice.

Offline

Board footer

Powered by FluxBB