You are not logged in.
Hello.
Today after boot there was no network on PC. I've tried to switch from kde network manager daemon to network daemon, but this didn't help me.
Then I noticed, that in rc.conf in MODULES array were lot of different modules and they were listed twice! Besides one from each pair was blacklisted!
Info
MB: ASUS P5k
Ethernet card: Atheros Attansic L1 (AFAIK module "atl1")
I am connected through router with IP 192.168.1.1. It's IP is used as gateway and DNS server.
IP of my eth0 is 192.168.1.2.
Here is my rc.conf after fixing an issue with MODULES (I don't know if I fix it correctly)
#
# /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", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# 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="localtime"
TIMEZONE="Europe/Kiev"
KEYMAP="us"
CONSOLEFONT=ter-v16b
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(!usblp atl1)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="booster"
# 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
#
# eth0="dhcp"
# Wireless: See network profiles below
#
#Static IP example
eth0="192.168.1.2"
INTERFACES=(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.1.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)
# -----------------------------------------------------------------------
# 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 hal network !networkmanager avahi-daemon avahi-dnsconfd alsa cdemud cups kdm)
Network daemon fails to start because of
192.168.1.2: error fetching interface information: Device not found
And there is no /dev/eth0 or something similar.
I need help with fixing this.
TNX in advance.
edit:
Maybe, I need to add, that yesterday I've done a lot or pacman -Rsn. I have removed some gome and kde3 stuff, but maybe pacman removed as dependency some package, that is essential for networking...
Just tried ifconfig -a
It returned a lot of stuff for eth0 but also there was smthng like "There is no IPv6 router"...
I really have no idea, what have happened
Last edited by eDio (2009-12-13 17:48:40)
Offline
I think your static IP should be configured something like this in /etc/rc.conf:
eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
Refer to:
http://wiki.archlinux.org/index.php/Beg … NG_Section
Offline
I used kde network manager too long, so even forgot how rc.conf should looks .
I have fixed my rc.conf as you suggest.
Also, as was suggested on some Debian-related forum, I removed avahi (with breaking all dependencies) to solve IPv6 issue.
Also, I have removed kde network manager.
Don't know, what caused this problem at the beginning (yesterday there were no any problems, and today networking suddenly disappeared), but now I use standard network daemon, I have reinstalled avahi and all works fine.
Thanks.
Offline
Off topic, but cool Arch logo.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Thanks. It was created from svg in GIMP under Arch
Now it looks a bit trivial to me, but I have no time to change it.
Offline