You are not logged in.

#1 2017-05-08 16:59:10

philipW
Member
Registered: 2017-03-21
Posts: 145

[SOLVED] no internet after fresh install

Hi,
So i just installed arch.
after i chrooted out and rebooted i lost my internet connection.
Wifi and ethernet doesnt work.
i did

 lspci -v 

and it says that my network controller and my ethernet controller both have a kernel driver in use (wish i could post the putput of

lspci -v

but i havnt installed a desktop desktop environment so i dont know how to copy/past it).
i tried

 systemctl enable dhcpcd@myinterface
ip link set myinterface up 

Last edited by philipW (2017-05-08 22:55:28)

Offline

#2 2017-05-08 17:02:17

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

Re: [SOLVED] no internet after fresh install

Enabling it does not immediately start it.  It will start it on the next boot.

Try:

systemctl start dhcpcd@myinterface

Edit:  More importantly, which tool sets do you plan to use to manage your network interfaces?

Last edited by ewaller (2017-05-08 17:03:08)


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 2017-05-08 17:02:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,713

Re: [SOLVED] no internet after fresh install

enabling something doesn't start it.

Offline

#4 2017-05-08 17:06:48

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] no internet after fresh install

ewaller wrote:

Enabling it does not immediately start it.  It will start it on the next boot.

Try:

systemctl start dhcpcd@myinterface

Edit:  More importantly, which tool sets do you plan to use to manage your network interfaces?

oke i will try

Offline

#5 2017-05-08 17:11:03

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] no internet after fresh install

Edit:  More importantly, which tool sets do you plan to use to manage your network interfaces?

I think the one included in kde plasma 5.
But during installation i installed iw wpa_supplicant dialog wpa_actiond.

Offline

#6 2017-05-08 17:18:45

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

Re: [SOLVED] no internet after fresh install

The important thing is to pick one, or at the very least, only one for each interface.   You will want NetworkManager for KDE.  Note that Network manager will fight with the dhcpcd service as NwtworkManager will launch its own dhcpcd daemon when it needs it.


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

#7 2017-05-08 17:23:06

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] no internet after fresh install

oke so i did

systemctl enable dhcpcd@enp4s0 

and

systemctl start dhcpcd@enp4s0 

and both says

 failed to enable unit : the name org.freedesktop.policykit1 was not provided by any .service files

enp4s0 is my ethernet.

Offline

#8 2017-05-08 17:33:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] no internet after fresh install

Those need to be run as root (if you don't have polkit configured/running):

sudo systemctl start dhcpcd@enp4s0

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2017-05-08 17:39:44

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] no internet after fresh install

oke i did

 sudo  systemctl enable dhcpcd@enp4s0 

then i rebooted
then i did

sudo systemctl start dhcpcd@enp4s0

now i have working cable internet.
for wifi do i do the same but then instead of enp4s0 my wireless interface name?

Offline

#10 2017-05-08 17:45:12

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

Re: [SOLVED] no internet after fresh install

No.   You need to have something manage associating with an access point.

Read this article: https://wiki.archlinux.org/index.php/Wi … figuration


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

#11 2017-05-08 17:47:33

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] no internet after fresh install

ewaller wrote:

No.   You need to have something manage associating with an access point.

Read this article: https://wiki.archlinux.org/index.php/Wi … figuration

oke i will read it.
when i walk into issues i will report back.

Offline

#12 2017-05-08 18:53:14

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] no internet after fresh install

oke i installed network manager and nmtui works for me
should i uninstall  iw wpa_supplicant dialog or wpa_actiond?
i also installed wicd and wifi radar but i uninstalled them because they where not working but they installed some dependencies is that and issue?

Last edited by philipW (2017-05-08 18:55:11)

Offline

#13 2017-05-08 19:17:16

loqs
Member
Registered: 2014-03-06
Posts: 18,863

Re: [SOLVED] no internet after fresh install

philipW wrote:

should i uninstall  iw wpa_supplicant dialog or wpa_actiond?

wpa_supplicant is a dependency of networkmanager,  the other packages presence should not cause issues.

philipW wrote:

i also installed wicd and wifi radar but i uninstalled them because they where not working but they installed some dependencies is that and issue?

Pacman#Removing_packages ( covers removing dependencies as well )

Offline

#14 2017-05-08 22:54:25

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [SOLVED] no internet after fresh install

loqs wrote:
philipW wrote:

should i uninstall  iw wpa_supplicant dialog or wpa_actiond?

wpa_supplicant is a dependency of networkmanager,  the other packages presence should not cause issues.

philipW wrote:

i also installed wicd and wifi radar but i uninstalled them because they where not working but they installed some dependencies is that and issue?

Pacman#Removing_packages ( covers removing dependencies as well )

Thanks that link covers my question.

Well my internet problems a fixed so i mark this tread as solved.
Thanks for the quick replies, people!

Last edited by philipW (2017-05-08 22:54:49)

Offline

Board footer

Powered by FluxBB