You are not logged in.

#1 2007-05-17 14:02:11

cujo
Member
Registered: 2007-03-28
Posts: 45

Network won't start up

When I boot up my machine it fails to start up the network.  After it is booted, I can do a 'dhcpcd eth0' as root and it comes up fine.  Why doesn't this work for me on boot?

My rc.conf...

#
# /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/unimaps
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="America/New_York"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP="iso10.uni"
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=(pcspkr)
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(fuse)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="mymachine"
#
# 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 !hotplug !pcmcia network netfs crond cups alsa hal autofs slim powersaved) 


# End of file

Offline

#2 2007-05-19 04:53:17

d2_racing
Member
From: Québec,Canada
Registered: 2007-05-11
Posts: 27

Re: Network won't start up

Can you comment theses 2 lines and retry plz smile

# gateway="default gw 192.168.0.1"
# ROUTES=(!gateway)

Offline

#3 2007-05-19 05:33:46

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Network won't start up

He already has the gateway disabled, why would commenting those lines help?

I don't see any obvious problems with the rc.conf. What happens if you do a "/etc/rc.d/network start" instead of running "dhcpcd eth0"? You could also try moving network to later in your DAEMONS list, although I don't have any good reason for suggesting that.


I am a gated community.

Offline

Board footer

Powered by FluxBB