Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

trouble using dhcpcd

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
cmdic
n00b
n00b
Posts: 27
Joined: Fri Apr 06, 2012 8:19 pm

trouble using dhcpcd

  • Quote

Post by cmdic » Sat Apr 07, 2012 8:31 pm

When I try to start apache2 I get these errors:
* 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.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Apr 07, 2012 8:44 pm

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.
Top
cmdic
n00b
n00b
Posts: 27
Joined: Fri Apr 06, 2012 8:19 pm

  • Quote

Post by cmdic » Sat Apr 07, 2012 9:17 pm

Ah! That makes sense :)

And it works :)

Thanks a lot!
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic