View previous topic :: View next topic |
Author |
Message |
peku33 n00b

Joined: 03 May 2015 Posts: 7
|
Posted: Wed Jul 01, 2015 12:27 pm Post subject: Unable to get DHCP address on boot |
|
|
Hi. I installed gentoo on my PC.
My network card is called:
I created a symlink in
added
Code: | config_enp5s2="dhcp" |
to
I had some problems with ipv4ll address, so I added:
to /etc/dhcpcd.conf
While booting, the boot process stops on
Code: | enp5s2: (...) Soliciting DHCP lease |
and after some time it fails.
Immediately I log in as root, run
and network starts correctly.
What I am doing wrong? |
|
Back to top |
|
 |
Buffoon Veteran


Joined: 17 Jun 2015 Posts: 1224 Location: EU or US
|
Posted: Thu Jul 02, 2015 3:54 pm Post subject: |
|
|
I always build important modules into kernel so I have no experience with modules, but I think it is possible the module for your NIC is not loaded yet when dhcpcd runs. |
|
Back to top |
|
 |
lexflex Guru

Joined: 05 Mar 2006 Posts: 363 Location: the Netherlands
|
Posted: Thu Jul 02, 2015 5:58 pm Post subject: |
|
|
Hi peku,
Buffoon wrote: | I always build important modules into kernel so I have no experience with modules, but I think it is possible the module for your NIC is not loaded yet when dhcpcd runs. |
Indeed, it might be a timing issue.
What does ifconfig give after boot, before you run rc?
Also, does rc.log show anything ?
Alex |
|
Back to top |
|
 |
|