You are not logged in.

#1 2019-08-23 21:41:28

punio
Member
Registered: 2019-08-23
Posts: 26

Network not working for newly created user

Hi there,
I’ve just installed Arch Linux onto my computer, and after setting everything up and logging into the hard disk partition, I created a new user called ‘punio’. I then logged into the new account and tried to install the X server, but nothing would download. I then tried to ping archlinux.org, but that wouldn’t work either. It worked fine back when I was setting everything up on root, so what’s the problem with my new user?

Offline

#2 2019-08-23 21:52:59

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

Re: Network not working for newly created user

systemctl list-unit-files --state=enabled

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-08-23 22:00:48

punio
Member
Registered: 2019-08-23
Posts: 26

Re: Network not working for newly created user

What does that do? Just seems to list a bunch of enabled services. Do I have to look for anything?

Offline

#4 2019-08-23 22:01:32

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

Re: Network not working for newly created user

You have to paste the ouput here...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2019-08-23 22:02:21

pirateprentice
Member
Registered: 2019-08-16
Posts: 31

Re: Network not working for newly created user

Also, you need to run through the wifi configuration twice. Once during installation and once after installation.

Offline

#6 2019-08-23 22:05:58

sevendogs
Member
From: Texas
Registered: 2016-01-24
Posts: 220

Re: Network not working for newly created user

You are looking for your network device with syntax something like this, provided you are using DHCP:

dhcpcd@interface.service

Per the installation instructions, you need to enable your network device so it will start at boot.  The exact command depends on the name of your network device, and whether you are using DHCP. I can't speak to wireless or if it is the same because I don't use wireless.


"Give a man a truth and he will think for a day. Teach a man to reason and he will think for a lifetime"

Offline

#7 2019-08-23 22:06:27

punio
Member
Registered: 2019-08-23
Posts: 26

Re: Network not working for newly created user

jasonwryan wrote:

You have to paste the ouput here...

Oh, sorry about that. Here’s my output:

UNIT FILE          STATE
autovt@.service  enabled
getty@.service   enabled
remote-fs.target enabled

3 unit files listed.

Offline

#8 2019-08-23 22:07:10

sevendogs
Member
From: Texas
Registered: 2016-01-24
Posts: 220

Re: Network not working for newly created user

pirateprentice wrote:

Also, you need to run through the wifi configuration twice. Once during installation and once after installation.

No you don't - do it once during installation and you are done. Why would you do it twice? This box has a wired connection and I did the config once during install.


"Give a man a truth and he will think for a day. Teach a man to reason and he will think for a lifetime"

Offline

#9 2019-08-23 22:11:05

sevendogs
Member
From: Texas
Registered: 2016-01-24
Posts: 220

Re: Network not working for newly created user

jasonwryan wrote:
systemctl list-unit-files --state=enabled

Hmmm, I am confused - I ran this on my system and do not show "dhcpcd@enp4s0.service", which is my nic tied to DHCP. I do show that service as "loaded active running". Why is this?

Thanks.


"Give a man a truth and he will think for a day. Teach a man to reason and he will think for a lifetime"

Offline

#10 2019-08-23 22:16:20

pirateprentice
Member
Registered: 2019-08-16
Posts: 31

Re: Network not working for newly created user

sevendogs wrote:
jasonwryan wrote:
systemctl list-unit-files --state=enabled

Hmmm, I am confused - I ran this on my system and do not show "dhcpcd@enp4s0.service", which is my nic tied to DHCP. I do show that service as "loaded active running". Why is this?

Thanks.

You are punio? Okay. I misinterpreted the question and thought you were configuring wifi, which when following the install guide needs to be done twice.

Offline

#11 2019-08-23 22:17:27

sevendogs
Member
From: Texas
Registered: 2016-01-24
Posts: 220

Re: Network not working for newly created user

pirateprentice wrote:
sevendogs wrote:
jasonwryan wrote:
systemctl list-unit-files --state=enabled

Hmmm, I am confused - I ran this on my system and do not show "dhcpcd@enp4s0.service", which is my nic tied to DHCP. I do show that service as "loaded active running". Why is this?

Thanks.

You are punio? Okay. I misinterpreted the question and thought you were configuring wifi, which when following the install guide needs to be done twice.

Not punio, lol, understand - I have never used wireless with Arch, only wired. Thanks for the information though!


"Give a man a truth and he will think for a day. Teach a man to reason and he will think for a lifetime"

Offline

#12 2019-08-23 22:22:23

punio
Member
Registered: 2019-08-23
Posts: 26

Re: Network not working for newly created user

sevendogs wrote:
pirateprentice wrote:
sevendogs wrote:

Hmmm, I am confused - I ran this on my system and do not show "dhcpcd@enp4s0.service", which is my nic tied to DHCP. I do show that service as "loaded active running". Why is this?

Thanks.

You are punio? Okay. I misinterpreted the question and thought you were configuring wifi, which when following the install guide needs to be done twice.

Not punio, lol, understand - I have never used wireless with Arch, only wired. Thanks for the information though!

As for myself, I am also connected via wired, although I do also have a wireless dongle in case wired connection fails.

Also, I figured my problem out... I forgot to enable the dhcpcd service in the first place sad

systemctl list-unit-files --state=enabled

Offline

#13 2019-08-23 22:29:24

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

Re: Network not working for newly created user

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

@sevendogs don't hijack threads: https://wiki.archlinux.org/index.php/Co … _hijacking


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB