Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trouble using dhcpcd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cmdic
n00b
n00b


Joined: 06 Apr 2012
Posts: 27

PostPosted: Sat Apr 07, 2012 8:31 pm    Post subject: trouble using dhcpcd Reply with quote

When I try to start apache2 I get these errors:
Quote:

* Bringing up interface eth0
* dhcp ...
* Running dhcpcd ...
dhcpcd[18704]: dhcpcd already running on pid 30298 (/var/run/dhcpcd-eth0.pid) [ !! ]
* ERROR: net.eth0 failed to start
* Bringing up interface eth1
* dhcp ...
* Running dhcpcd ...
dhcpcd[18807]: version 5.5.6 starting
dhcpcd[18807]: eth1: waiting for carrier
dhcpcd[18807]: timed out
dhcpcd[18807]: allowing 8 seconds for IPv4LL timeout
dhcpcd[18807]: timed out [ !! ]
* ERROR: net.eth1 failed to start
* Bringing up interface eth0
* dhcp ...
* Running dhcpcd ...
dhcpcd[18927]: dhcpcd already running on pid 30298 (/var/run/dhcpcd-eth0.pid) [ !! ]
* ERROR: net.eth0 failed to start
* Bringing up interface eth1
* dhcp ...
* Running dhcpcd ...
dhcpcd[19026]: version 5.5.6 starting
dhcpcd[19026]: eth1: waiting for carrier
dhcpcd[19026]: timed out
dhcpcd[19026]: allowing 8 seconds for IPv4LL timeout
dhcpcd[19026]: timed out [ !! ]
* ERROR: net.eth1 failed to start
* ERROR: cannot start netmount as net.eth0 would not start
* ERROR: cannot start apache2 as net.eth0 would not start


I am getting a similar message while booting and it takes like 30 seconds. The only differences is that on boot dhcpcd find's the working interface (eth0)

I am also using the NetworkManager. I don't know whether that's important.

If you need more informations let me know.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sat Apr 07, 2012 8:44 pm    Post subject: Reply with quote

cmdic,

Welcome to Gentoo

If you want to use NetworkManager, remove the /etc/init.d/net.eth0 and eth1 files and remove the entries from the defualt runlevel.
Choose exactly one method for controlling your network interfaces.

If both interfaces get addresses in the same subet, you won't like the results.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
cmdic
n00b
n00b


Joined: 06 Apr 2012
Posts: 27

PostPosted: Sat Apr 07, 2012 9:17 pm    Post subject: Reply with quote

Ah! That makes sense :)

And it works :)

Thanks a lot!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum