You are not logged in.

#1 2012-06-15 09:21:16

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

dhcpcd not running, network not available

Jun 15 12:10:05 localhost dhcpcd[457]: dhcpcd not running
Jun 15 12:10:05 localhost dhcpcd[463]: dhcpcd not running
Jun 15 12:10:05 localhost dhcpcd[471]: dhcpcd not running
Jun 15 12:10:37 localhost dhcpcd[476]: timed out
Jun 15 12:10:41 localhost dhcpcd[599]: dhcpcd not running
Jun 15 12:10:41 localhost dhcpcd[605]: dhcpcd not running

Why does it do so and how do I fix it ?

I mean, I can of course start it manually, but doing that on every reboot is ackward.

Offline

#2 2012-06-15 09:27:59

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: dhcpcd not running, network not available

What's your /etc/rc.conf?

Offline

#3 2012-06-15 09:35:48

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

Re: dhcpcd not running, network not available

#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'man 5 rc.conf' for more details
#

# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Riga"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
LOCALE=
DAEMON_LOCALE="yes"
USECOLOR="yes"

# HARDWARE
# --------
MODULES=()
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"

# NETWORKING
# ----------
HOSTNAME="arch"

interface=eth0
address=
netmask=
broadcast=
gateway=

NETWORK_PERSIST="no"

# DAEMONS
# -------
#
DAEMONS=(syslog-ng dbus gamin !network wicd crond)

Offline

#4 2012-06-15 09:42:55

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: dhcpcd not running, network not available

Have you tried dhclient? Sometimes it works better with wicd.

Offline

#5 2012-06-15 09:55:40

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

Re: dhcpcd not running, network not available

JackH79 wrote:

Have you tried dhclient? Sometimes it works better with wicd.

No, because I need wireless/GUI functionality.

Offline

#6 2012-06-15 10:33:43

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: dhcpcd not running, network not available

What's that got to do with it?
dhclient does exactly the same as dhcpcd.
Nothing to do with wireless or GUI(?).

Offline

#7 2012-06-15 10:38:47

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

Re: dhcpcd not running, network not available

JackH79 wrote:

What's that got to do with it?
dhclient does exactly the same as dhcpcd.
Nothing to do with wireless or GUI(?).

Sorry, didn't get what it is.
Do I have to install it and everything should work ?

Offline

#8 2012-06-15 11:41:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: dhcpcd not running, network not available

No, you need to read the wireless page on the wiki and follow the guidelines there, then everything should work.

Dhcpcd is one step in the process ... the last step ... in getting conencted.  Have you done the previous steps?

You need to provide much more information on what you have done to connect before running dhcpcd.

Edit: also, did these errors come from an attempt to run dhcpcd?  You didn't even specify where these came from.

Last edited by Trilby (2012-06-15 11:43:00)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2012-06-15 11:50:58

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

Re: dhcpcd not running, network not available

Trilby wrote:

No, you need to read the wireless page on the wiki and follow the guidelines there, then everything should work.

Dhcpcd is one step in the process ... the last step ... in getting conencted.  Have you done the previous steps?

Installed Wicd.

Trilby wrote:

You need to provide much more information on what you have done to connect before running dhcpcd.

Added wicd to rc.conf daemon list.

Trilby wrote:

Edit: also, did these errors come from an attempt to run dhcpcd?  You didn't even specify where these came from.

No, those errors are from /var/log/error.log.

Offline

#10 2012-06-15 11:57:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: dhcpcd not running, network not available

MinimalBoot wrote:
Trilby wrote:

No, you need to read the wireless page on the wiki and follow the guidelines there, then everything should work.

Dhcpcd is one step in the process ... the last step ... in getting conencted.  Have you done the previous steps?

Installed Wicd.

So, "no" to having done the previous steps, and I can't help but conclude "no" to having read (and followed) the wiki page.

Please turn both of those into yes before asking for help.  All the information you need to solve, or at the very least pinpoint, your problem is on the wiki.  All we could do here is take random guesses or walk you through all the steps that are already in the wiki.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2012-06-15 12:05:14

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

Re: dhcpcd not running, network not available

Trilby wrote:
MinimalBoot wrote:
Trilby wrote:

No, you need to read the wireless page on the wiki and follow the guidelines there, then everything should work.

Dhcpcd is one step in the process ... the last step ... in getting conencted.  Have you done the previous steps?

Installed Wicd.

So, "no" to having done the previous steps, and I can't help but conclude "no" to having read (and followed) the wiki page.

Please turn both of those into yes before asking for help.  All the information you need to solve, or at the very least pinpoint, your problem is on the wiki.  All we could do here is take random guesses or walk you through all the steps that are already in the wiki.

Ok, yes, I have read the Wiki page(-s), but the question isn't about having network problems, but explicitly dhcpdc not running when needed.

I am using a wired connection and having any kind of network manager ( network, networkmanager, wicd, .. ) running should be enough, so the question is, why on earth should I read a 10 page Wiki about Network setup if it is just one step that brings everything else down ?

P.S. Sorry if I sound insulting or anything like that - I'm just a little bit tired of switching from one network manager to another and there's always something that does not work. I thought nowadays one shouldn't battle against his computer 24/7 to get things working.

Last edited by MinimalBoot (2012-06-15 12:06:43)

Offline

#12 2012-06-15 12:11:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: dhcpcd not running, network not available

MinimalBoot wrote:

No, because I need wireless/GUI functionality.

MinimalBoot wrote:

I am using a wired connection

WTF?!

MinimalBoot wrote:

having any kind of network manager ( network, networkmanager, wicd, .. ) running should be enough

Not for wireless it shouldn't.  But in either case, if you took my above advise, followed the wiki, tried reading the wiki, and followed the simple step by step instructions on connecting manually you would have easily pinpointed your problem and other users here could then help.

The wiki page on wireless and/or network management is not 10 pages.  The wireless page may seem a little long, but a quick glance will tell you that it has various subsections that can be skipped depending on your wireless card.

In the end, though.  If you aren't willing to spend a little of your own time reading the answers that are already availble, why on earth would I waste my time rewriting all those answers here?  So you could just ignore them again?

Best of luck, I can't imagine you finding much help here with that approach.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2012-06-15 12:20:28

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

Re: dhcpcd not running, network not available

Trilby wrote:
MinimalBoot wrote:

No, because I need wireless/GUI functionality.

MinimalBoot wrote:

I am using a wired connection

WTF?!

The fact that I need it doesn't explicitly mean that I am currently using it.

Trilby wrote:
MinimalBoot wrote:

having any kind of network manager ( network, networkmanager, wicd, .. ) running should be enough

Not for wireless it shouldn't.  But in either case, if you took my above advise, followed the wiki, tried reading the wiki, and followed the simple step by step instructions on connecting manually you would have easily pinpointed your problem and other users here could then help.

I did pinpoint my problem - dhcpcd is not being started on boot, though rc.conf contains everything needed for this.

Trilby wrote:

The wiki page on wireless and/or network management is not 10 pages.  The wireless page may seem a little long, but a quick glance will tell you that it has various subsections that can be skipped depending on your wireless card.

In the end, though.  If you aren't willing to spend a little of your own time reading the answers that are already availble, why on earth would I waste my time rewriting all those answers here?  So you could just ignore them again?

Best of luck, I can't imagine you finding much help here with that approach.

Excuse me ? If you are here just to brag about having an awesome Wiki page, please, don't waste your time.

Offline

#14 2012-06-15 12:30:17

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: dhcpcd not running, network not available

Rather than arguing about Trilby's point regarding the wiki (in which he has a valid point), have you actually tried configuring wicd to use dhclient instead of dhcpcd (as indicated by JackH79 in the very beginning of this thread) and see if that makes a difference?

EDIT: typo

Last edited by Gcool (2012-06-15 12:34:10)


Burninate!

Offline

#15 2012-06-15 12:50:25

MinimalBoot
Member
Registered: 2012-05-01
Posts: 38

Re: dhcpcd not running, network not available

Gcool wrote:

Rather than arguing about Trilby's point regarding the wiki (in which he has a valid point), have you actually tried configuring wicd to use dhclient instead of dhcpcd (as indicated by JackH79 in the very beginning of this thread) and see if that makes a difference?

EDIT: typo

Wired connection seems to be working now, but again .. wireless just broke.

Jun 15 15:47:15 localhost dhclient: send_packet: Network is unreachable
Jun 15 15:47:15 localhost dhclient: send_packet: please consult README file regarding broadcast address.

P.S. Router itself is not a problem, because all the other devices I have can connect to it without any problems.

Offline

#16 2012-06-16 00:28:59

altbdoor
Member
From: KL, Malaysia
Registered: 2012-04-25
Posts: 128

Re: dhcpcd not running, network not available

MinimalBoot wrote:

I thought nowadays one shouldn't battle against his computer 24/7 to get things working.

arch is a battle to setup lol. i myself took days to get my wireless up. i understand that you're stressed and all, but don't let it out against the people here who are trying to help smile

back to topic, considering how you mentioned how router is not a problem, have you used the right wireless module?
are you able to see wireless connections (your access point and others)?

Offline

#17 2012-06-16 01:03:10

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: dhcpcd not running, network not available

Again: Have you gone through this?

What's your wireless card?
Have you installed the correct drivers?
What does

# ip addr

return?

Last edited by JackH79 (2012-06-16 01:03:27)

Offline

Board footer

Powered by FluxBB