You are not logged in.

#1 2007-04-03 23:42:54

pjeremy
Member
Registered: 2007-04-03
Posts: 66

Network daemon fails [SOLVED]

Hi,
I've installed arch 0.8 two days ago and so far pretty much everything works except the network daemon fails to start at bootup.
I used to get

Starting Network  [Fail]
SIOCADDRT: network is unreachable

as well as its counterpart SIOCDELRT during shutdown.
I use an adsl-connection via dhcp which works fine and after checking route -n and comparing it with the default gateway
in /etc/rc.conf I disabled the gateway in rc.conf since some threads suggested that.
However, I still get Starting Network [Fail] minus the SIOCADDRT message, which is somewhat annoying,
since it takes some time until it eventually fails.
Could you enlighten me on what to do and what information I should provide if necessary?
Thanks.

Last edited by pjeremy (2007-04-05 03:06:00)

Offline

#2 2007-04-03 23:55:24

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Network daemon fails [SOLVED]

post your rc.conf
perhaps there is a minor error in it.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2007-04-04 00:11:19

pjeremy
Member
Registered: 2007-04-03
Posts: 66

Re: Network daemon fails [SOLVED]

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Berlin"
KEYMAP=de-latin1-nodeadkeys
CONSOLEFONT=default8x9
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(sk98lin !skge !tulip agpgart intel-agp  fglrx usblp) 
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="archer1"
#
# 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
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="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-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond alsa adsl cups !cpufreq kdm)


# End of file

cpufreq is disabled because I haven't had time to configure it yet.
skge and tulip, because tulip was used by eth1 (a LinkSys ethernet card, wrongly identified as ADMTek Comet).
Instead of fixing that eth1 error - which shouldn't occur, since there was a patch for exactly that error in 2.6.6 - I simply unplugged it, as I don't use it anymore anyway.
eth0 is a 3com 3c940 on my ASUS P4P800-D.

Last edited by pjeremy (2007-04-04 00:13:52)

Offline

#4 2007-04-05 03:05:29

pjeremy
Member
Registered: 2007-04-03
Posts: 66

Re: Network daemon fails [SOLVED]

I fixed it by changing INTERFACES to

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo !eth0)

Now the network daemon starts okay and the adsl connection isn't affected by it :)

Offline

Board footer

Powered by FluxBB