You are not logged in.

#1 2008-11-11 19:26:32

longhornxtreme
Member
Registered: 2004-07-10
Posts: 131

Network Daemon no longer works

Anyways, since the update about a month ago, I've had to manually bring up my network at each boot with

ifconfig lo up
ifconfig eth0 up
dhcpcd eth0

Those above commands works just fine to bring up my network. My rc.conf never changed and I don't quite understand why the network daemon can't take care of this by itself...

Any ideas?

Offline

#2 2008-11-11 21:49:33

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Network Daemon no longer works

A bit more info about your configuration?  (eg, post the relevent parts of rc.conf please) wink

Offline

#3 2008-11-11 23:05:37

longhornxtreme
Member
Registered: 2004-07-10
Posts: 131

Re: Network Daemon no longer works

# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="ArchOld"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
#br0="dhcp"
INTERFACES=(lo eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

Offline

#4 2008-11-12 00:06:55

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Network Daemon no longer works

Interesting - Any errors in /var/log/messages during boot? or dmesg?

What about the daemons line of rc.conf?

Offline

#5 2008-11-12 00:31:43

longhornxtreme
Member
Registered: 2004-07-10
Posts: 131

Re: Network Daemon no longer works

eth0: timed out  is really all I get - i have network set up to background... That's about it. I haven't seen anything odd in the logs.

What really perplexes me is that I can bring lo and eth0 up manually...

Offline

#6 2008-11-12 00:43:54

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Network Daemon no longer works

Try not backgrounding it... If that works, then there must be a timing issue somewhere which could be resolved by reording your DAEMONS line.

Offline

#7 2008-11-12 01:32:09

longhornxtreme
Member
Registered: 2004-07-10
Posts: 131

Re: Network Daemon no longer works

I tried unbackgrounding it - didn't change anything

It brough up lo and then timed out on eth0.

After boot, I logged in as root, and saw that ifconfig had both interfaces up, but dhcpcd hadn't pulled the right IP.

I killed dhcpcd - and then tried to run it again on eth0 -- which didn't work.

So I did a /etc/rc.d/network stop - and then successfully brought up the interfaces manually.

My DAEMONS line:

DAEMONS=(syslog-ng network !netfs crond alsa hal fam sshd dbus cups)

Offline

#8 2008-11-12 02:09:03

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Network Daemon no longer works

Strange. You said you stopped network and then ifconfig'ed manually. What happens if you restart network and let it try again? I'm going to presume it will work (but maybe not!)

I still think it's a timing issue... Perhaps move network further down the DAEMONS array?

Is there a reason your disabled netfs (rather than just removed it from the array completely)?

Offline

#9 2008-11-12 02:58:03

longhornxtreme
Member
Registered: 2004-07-10
Posts: 131

Re: Network Daemon no longer works

I had already tried the '/etc/rc.d/network restart' as well as stop then start. But it didn't do anything. Same behavior as on boot.

I !'ed netfs just to remind me that I had disabled it. smile

I really appreciate your help, I've been annoyed by this for quite some time. If I was a coder, I'd just write my own daemon to run the manual commands.

Offline

#10 2008-11-12 09:55:10

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Network Daemon no longer works

Some people seem to have problems with dhcpcd (I am one of them) and switching to dhclient did the trick.

Recompiling dhcpcd has also worked for at least 1 person on the bugtracker.

Also, I would recommend using netcfg and setting up a profile in /etc/network.d/ for your connection. Much better than networkmanager...

Zl.

Last edited by zenlord (2008-11-12 09:56:41)

Offline

Board footer

Powered by FluxBB