You are not logged in.

#1 2015-04-16 06:29:20

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

[Solved] No automatic DHCP when installing in VMWare Workstation

I installed Arch using the beginners guide today and was unable to get DHCP to work after login.

I followed the beginners guide to the letter.

Here is the ip link:

ip link

If there are any other logs that are needed let me know.

Thanks.

Last edited by MarcoRosso (2015-04-16 20:45:46)

Offline

#2 2015-04-16 06:33:16

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

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-04-16 15:01:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

Perchance, did you forget to enable and start the dhcpcd service using systemctl?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2015-04-16 16:04:26

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

I ran systemctl enable dhcpcd@eno16777736.service command while installing and chrooted into the install. If the command needs to be something else please let me know.

Offline

#5 2015-04-16 17:31:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

That should do it.  Check that the name of the interface has not changed -- that name is unusual.  Also, check its status with systemctl - did it start?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2015-04-16 20:03:02

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

Interface has not changed. How do I check status with systemctl? Sorry used to the old rc.d system.

Offline

#7 2015-04-16 20:32:12

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

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

Read the wiki page on systemd.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2015-04-16 20:45:23

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

Had to enable dhcpcd.service using systemctl enable dhcpcd.service. This was NOT in the beginners guide. Perhaps it should be added?

Thanks for your help guys. Now it works at boot.

Offline

#9 2015-04-16 20:52:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

ewaller wrote:

Perchance, did you forget to enable and start the dhcpcd service using systemctl?

https://wiki.archlinux.org/index.php/Be … uide#Wired


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2015-04-16 21:52:26

MarcoRosso
Member
Registered: 2009-02-08
Posts: 49

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

I followed that and it didn't work until I ran systemctl enable dhcpcd.service after logging in. The interface was enabled with dhcpcd but the service itself was not.

Offline

#11 2015-04-16 22:23:54

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [Solved] No automatic DHCP when installing in VMWare Workstation

You can't just say "I followed that" or "I followed the beginners guide to the letter." The guide covers multiple use cases/presents different options. You have to describe the (relevant) choices you made.

It sounds like you have now enabled both of the services that use dhcpcd (both "the method used by default with the install medium" and the one for "Users requiring only single wired network connection" as the guide puts it). You can leave it like that as long as it works, but I would disable the one that didn't work and/or figure out why it failed/fails.

Offline

Board footer

Powered by FluxBB