AustrianCoder Apprentice
Joined: 11 Oct 2003 Posts: 258 Location: �sterreich
|
Posted: Thu Oct 13, 2005 7:19 pm Post subject: ifplugd und /etc/init.d/net.eth0 |
|
|
Hallo zusammen.
Ich bin eigentlich recht zufrieden mit ifplugd auf meinem Laptop, doch habe folgendes festgestellt:
Wenn /etc/init.d/net.eth0 start beim booten fehlschlägt funktioniert ifplugd nicht. Hier ein paar Configs:
Code: |
neptun ~ # cat /etc/conf.d/net
config_eth0=( "dhcp" )
dhcpcd_eth0="-t 4"
config_ath0=( "dhcp" )
#dhcpcd_ath0="-t 10"
preferred_aps=( "xxxx" )
#key_xfactor="CBB87263BD7144825AB1AD44AF enc open"
key_xxxx="xxxxxxxxxxxxxxxxxxxxx enc open"
modules=( "iwconfig" )
|
Code: |
neptun ~ # cat /etc/conf.d/ifplugd
# -*-sh-*-
# $Id: gentoo-ifplugd-conf-v3,v 1.2 2005/03/22 13:05:53 ka0ttic Exp $
# This file is part of ifplugd.
#
# ifplugd is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# ifplugd is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with ifplugd; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
# ifplugd configuration file
# Please note that this is a bourne shell fragment sourced by the
# init script of ifplugd.
# Specify the interfaces to control here, separated by spaces.
# Ifplugd processes will be started for each of these interfaces when
# the ifplugd init script is called with the "start" argument. You may
# use the magic string "auto" to make the init script start or stop
# ifplugd processes for ALL eth and wlan interfaces that are available
# according to /proc/net/dev. Note that the list of interfaces
# appearing in /proc/net/dev may depend on which kernel modules you
# have loaded.
INTERFACES="eth0"
# Additional parameters for ifplugd.
# See manual page ifplugd.8 for details.
# If you set AUTO to yes, you have to read http://bugs.gentoo.org/show_bug.cgi?id=28362
# I recommend a delay of 0, both ways, since then, you can swap ethernet
# cables on different networks and get a new ip address.
# None of the programs I tested had a problem with the interface being
# gone in the mean time.
AUTO="yes"
BEEP="yes"
IGNORE_FAIL="yes"
IGNORE_FAIL_POSITIVE="no"
IGNORE_RETVAL="yes"
POLL_TIME="1"
DELAY_UP="0"
DELAY_DOWN="0"
API_MODE="auto"
SHUTDOWN="no"
WAIT_ON_FORK="no"
MONITOR="no"
ARGS="
|
Evt kann mir jemand helfen.
Danke, AC |
|