You are not logged in.

#1 2015-07-31 13:55:33

Christos
Member
Registered: 2015-07-31
Posts: 9

Connection lost while trying to install any package

Hello guys, i have make a fresh install of arch recently. My problem is that when i try to do an:
pacman -Syu or install any other package
while it started and downloaded from mirrors suddenly my download speed drops gradually and finally i have no internet (ping google.com returns unknow host).
After that if i try and do an: dhcpcd interface_name it returns a time out. If i switch out and switch in my ethernet cable internet returns but again when i try
pacman -Syu it happens the same as before. I also try to disable IPv6 but nothing happened. May someone has any idea? Thanks for your time!

Last edited by Christos (2015-07-31 13:57:56)

Offline

#2 2015-07-31 16:56:16

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

Re: Connection lost while trying to install any package

Are you booted into your new system, or are you still using the install media?
What are you using to control your network?  Have you enabled more than one service that controls the network?  (netctl service, dhcpcd service, networkmanger service)
What are the contents of the  /etc/systemd/system/ directory?
Anything interesting in the journal?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-07-31 21:11:28

Christos
Member
Registered: 2015-07-31
Posts: 9

Re: Connection lost while trying to install any package

I booted into my new system.
I use dhcpcd for control my network, i dont now which others services is enabled( i didnt enable anything ).
My content of /etc/systemd/system/ is: display-manager.service, getty.target.wants, multi-users.target.wants

Offline

#4 2015-07-31 21:34:46

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

Re: Connection lost while trying to install any package

Christos wrote:

i dont now which others services is enabled( i didnt enable anything ).

The systemd wiki and man pages can help you here.

systemctl status

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-08-01 08:09:42

Christos
Member
Registered: 2015-07-31
Posts: 9

Re: Connection lost while trying to install any package

OK, so I do a: systemctl status and returns me running state and a tree. I search for netctl but nowhere. After that I try an systemctl status | grep netctl and returns 503 grep netctl

Offline

#6 2015-08-01 08:13:48

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

Re: Connection lost while trying to install any package

So are you using dhcpcd or netctl?


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-08-01 11:38:30

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Connection lost while trying to install any package

Christos wrote:

i dont now which others services is enabled

Look at the output of:

ls -lR /etc/systemd/system

Jin, Jîyan, Azadî

Offline

#8 2015-08-01 19:10:12

Christos
Member
Registered: 2015-07-31
Posts: 9

Re: Connection lost while trying to install any package

jasonwryan wrote:

So are you using dhcpcd or netctl?


Moving to NC...

I use dhcp, about NC you mean netctl?

Offline

#9 2015-08-01 19:20:11

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

Re: Connection lost while trying to install any package

No, NC is for Newbie Corner.

If you use dhcpcd, why were you searching for netctl in your list of active services in post #5?

How did you install Arch?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2015-08-01 20:07:57

Christos
Member
Registered: 2015-07-31
Posts: 9

Re: Connection lost while trying to install any package

#ewaller ask me if I use more than one service for network, so I search if netctl is enabled too. I installed arch via live cd following beginners guide in wiki

Offline

#11 2015-08-01 20:36:06

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

Re: Connection lost while trying to install any package

Head_on_a_Stick wrote:

Look at the output of:

ls -lR /etc/systemd/system

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2015-08-01 21:31:16

Christos
Member
Registered: 2015-07-31
Posts: 9

Re: Connection lost while trying to install any package

jasonwryan wrote:
Head_on_a_Stick wrote:

Look at the output of:

ls -lR /etc/systemd/system

Usually i posted it via pastebin but now no internet, so here is a photo from the output
http://i62.tinypic.com/289x9wg.jpg


-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Offline

#13 2015-08-01 21:35:59

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

Re: Connection lost while trying to install any package

So you have no network service setup. https://wiki.archlinux.org/index.php/Networking


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#14 2015-08-03 19:57:55

Christos
Member
Registered: 2015-07-31
Posts: 9

Re: Connection lost while trying to install any package

Finally I connected via WiFi create network service setup and solved my problem, thank you a lot guys for your time big_smile

Offline

#15 2015-08-03 20:32:39

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

Re: Connection lost while trying to install any package

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB