You are not logged in.

#1 2022-08-19 11:14:11

speeder1987
Member
Registered: 2022-08-19
Posts: 28

[Solved] Network connection no longer working after installing Sudo

I have a new Arch install which I installed using the:

archinstall

command, followed by:

usermod -aG wheel username

as I had created a new user and couldn't use sudo. My network connection was working fine until I ran these commands and I can no longer connect to the network. My computer is connected over Ethernet which is no longer working and I cannot ping either my router or any external site.

I have been through the network configuration guide here https://wiki.archlinux.org/title/Networ … interfaces. Using:

ip link

I can see there are two interfaces: lo and enp0s31f6. enp0s31f6 was not up and so I brought it up using the

ip link set enp0s31f6 up

command.

I also ran the dhcpcd command which was not found as it must not be installed yet.

Has anyone got any suggestions on how I can trouble shoot/fix this?

Last edited by speeder1987 (2022-08-19 14:22:48)

Offline

#2 2022-08-19 14:14:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,496

Re: [Solved] Network connection no longer working after installing Sudo

usermod -aG wheel username

as I had created a new user and couldn't use sudo. My network connection was working fine until I ran these commands and I can no longer connect to the network

https://www.merriam-webster.com/dictionary/coincidence

Post the output of

ip a; ip r

and try to

ping -c1 8.8.8.8
ping -c1 _gateway

I also ran the dhcpcd command which was not found as it must not be installed yet.

No idea whether or what archinstall shovels onto your disk, but you'll need *some* network management tool unless you can configure a static IP

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

You can install stuff by booting the installation iso and arch-chroot'ing into the installed system.

Online

#3 2022-08-19 14:22:34

speeder1987
Member
Registered: 2022-08-19
Posts: 28

Re: [Solved] Network connection no longer working after installing Sudo

Thanks Seth, I was just about to reply that I have solved this by reinstalling. You were correct there was an option to install network manager that I had not checked (therefore no network manager was installed). I also created a user through arch install and gave them access to sudo.

Offline

Board footer

Powered by FluxBB