You are not logged in.

#1 2012-10-21 17:59:43

justforgetme
Member
From: Germany
Registered: 2012-04-01
Posts: 42
Website

[SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

So this is my first install of archLinux without the installation framework and it happened to be on a Macbook.
After having to wade through 10 or 20 mutually conflicting wiki articles (here, gentoo and the rest of the Internet) on how to produce a correct UEFI install and install medium I run packstrap as explained in the install wiki article and now I have a bootable system that does NOT HAVE A DHCP DAEMON????? 
 
Why? 
>  `systemctl list-unit-files`   
returns "dhcpcd@.service disabled"
which apparently is a thing that isn't what I need....

Last edited by justforgetme (2012-10-27 12:17:45)


$> man life
No manual entry for `life'

$> nvm...

Offline

#2 2012-10-21 18:10:58

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

You can try dhclient instead.


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#3 2012-10-21 18:13:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: [SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

Have you tried starting that service? What output did you get?

Offline

#4 2012-10-21 18:16:13

justforgetme
Member
From: Germany
Registered: 2012-04-01
Posts: 42
Website

Re: [SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

@karol 'file does not exist'
@hadrons I'll give it a try...


$> man life
No manual entry for `life'

$> nvm...

Offline

#5 2012-10-21 19:19:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

I believe you have to do

# systemctl start dhcpcd@eth0.service 

Services with the @ symbol in them mean that they require an argument.  If you look in the service file itself, there are %I vairables that are replaced with whatever is after the @.  So there are services that are intended to be started as the user that are like this so that you can specify what user to run it as without having the edit the service file itself.

Offline

#6 2012-10-27 10:46:22

justforgetme
Member
From: Germany
Registered: 2012-04-01
Posts: 42
Website

Re: [SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

Hey, hi.

No, that didn't do it either. The service is enabled now but the machine still won't request an ip automatically when you plug a cable in...


$> man life
No manual entry for `life'

$> nvm...

Offline

#7 2012-10-27 11:06:16

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

justforgetme wrote:

The service is enabled now but the machine still won't request an ip automatically when you plug a cable in...

For that to work you would need something like NetworkManager or netcfg's net-auto-wired.service.

Offline

#8 2012-10-27 11:06:48

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 5,338

Re: [SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

Of course not! dhcpcd is nothing more than it says, a client daemon for dhcp. It's not going to watch your network interface for you and automatically do things. For that, you need a network management daemon, netcfg, wicd, networkmanager, etc.

Offline

#9 2012-10-27 12:16:13

justforgetme
Member
From: Germany
Registered: 2012-04-01
Posts: 42
Website

Re: [SOLVED] Where did dhcpcd go? (Celebrating the utter fail)

https://bbs.archlinux.org/viewtopic.php … 7#p1161027
solved my problem...
I had everything.
The only thing I hadn't was that damned symlink....
Apparently when I enabled all my services networkmanager wasn't on my list.

Thanks everybody for helping.

Last edited by justforgetme (2012-10-27 12:16:46)


$> man life
No manual entry for `life'

$> nvm...

Offline

Board footer

Powered by FluxBB