You are not logged in.

#1 2021-04-06 17:37:30

tonimark
Member
Registered: 2021-04-05
Posts: 33

[SOLVED]no internet connection after installation

just found ping command doesn't work possible messed network files how to fix it
nano text editor installed

Last edited by tonimark (2021-04-06 20:02:39)

Offline

#2 2021-04-06 18:17:58

odiam
Member
Registered: 2021-04-06
Posts: 4

Re: [SOLVED]no internet connection after installation

Did you enable dhcpcd? https://wiki.archlinux.org/index.php/Ne … figuration

Are you on ethernet or wifi?

Last edited by odiam (2021-04-06 18:18:28)

Offline

#3 2021-04-06 18:21:34

tonimark
Member
Registered: 2021-04-05
Posts: 33

Re: [SOLVED]no internet connection after installation

odiam wrote:

Did you enable dhcpcd? https://wiki.archlinux.org/index.php/Ne … figuration

Are you on ethernet or wifi?

ethernet connection
dhcpcd doesn't work probably uninstalled

Last edited by tonimark (2021-04-06 18:26:44)

Offline

#4 2021-04-06 18:24:36

odiam
Member
Registered: 2021-04-06
Posts: 4

Re: [SOLVED]no internet connection after installation

Offline

#5 2021-04-06 18:28:55

tonimark
Member
Registered: 2021-04-05
Posts: 33

Re: [SOLVED]no internet connection after installation

odiam wrote:

should I do that with a bootable installer or file transfer?
how to install if I have no internet for Pacman in the first place?

Offline

#6 2021-04-06 18:36:18

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [SOLVED]no internet connection after installation

You should have systemd-networkd installed. Use it.

https://wiki.archlinux.org/index.php/Sy … using_DHCP

Offline

#7 2021-04-06 18:49:26

tonimark
Member
Registered: 2021-04-05
Posts: 33

Re: [SOLVED]no internet connection after installation

tucuxi wrote:

You should have systemd-networkd installed. Use it.

https://wiki.archlinux.org/index.php/Sy … using_DHCP

i tried systemctl start dhcpd.service
I got error service.doesn't exists

Offline

#8 2021-04-06 19:01:13

tonimark
Member
Registered: 2021-04-05
Posts: 33

Re: [SOLVED]no internet connection after installation

tonimark wrote:
tucuxi wrote:

You should have systemd-networkd installed. Use it.

https://wiki.archlinux.org/index.php/Sy … using_DHCP

i tried systemctl start dhcpd.service
I got error service.doesn't exists

edit tried systemctl enable systemd-networkd.service
It did create something , I rebooted the computer but still ping google.com doesn't seems to work neither pacman

Last edited by tonimark (2021-04-06 19:07:26)

Offline

#9 2021-04-06 20:02:16

tonimark
Member
Registered: 2021-04-05
Posts: 33

Re: [SOLVED]no internet connection after installation

tweaking with networkctl fixed the issue

Offline

#10 2021-04-06 23:32:39

NuSkool
Member
Registered: 2015-03-23
Posts: 141

Re: [SOLVED]no internet connection after installation

tonimark wrote:

tweaking with networkctl fixed the issue

To get wired network, I found I had to:

create the file /etc/systemd/network/20-wired.network

[Match]
Name=en*
Name=eth*

[Network]
DHCP=yes

Then either restart or start:

$ sudo systemctl start systemd-networkd
$ sudo systemctl start systemd-resolved

It's a lot easier if you remember to install dhcpcd, and sudo systemctl start dhcpcd. I've forgotten on a few test systems.

I found parsing the wiki for the info to get a functional network using systemd somewhat obscured and time consuming? But I'm just a stupid ape that likes Arch! YMMV



Curious as to what you did to get your network up?

Offline

#11 2022-03-28 23:21:28

Tantamount
Member
Registered: 2022-03-28
Posts: 1

Re: [SOLVED]no internet connection after installation

NuSkool wrote:
tonimark wrote:

tweaking with networkctl fixed the issue

To get wired network, I found I had to:

create the file /etc/systemd/network/20-wired.network

[Match]
Name=en*
Name=eth*

[Network]
DHCP=yes

Then either restart or start:

$ sudo systemctl start systemd-networkd
$ sudo systemctl start systemd-resolved

It's a lot easier if you remember to install dhcpcd, and sudo systemctl start dhcpcd. I've forgotten on a few test systems.

I found parsing the wiki for the info to get a functional network using systemd somewhat obscured and time consuming? But I'm just a stupid ape that likes Arch! YMMV



Curious as to what you did to get your network up?

Thank you so much, I can now connect to the internet.

Offline

Board footer

Powered by FluxBB