Hallo,
mein dhcpcd macht ein bi�chen Probleme.
Wenn ich meinen Laptop in den Standby-Modus bringe, wird das
Netzwerkinterface runtergefahren und beim Wiederaufwecken wieder
hochgefahren. Leider h�ngt sich bei diesem Prozess ab und zu der dhcpcd auf
und mu� dann neu gestartet werden.
Hier ein paar Fehlermeldungen beim dhcpcd-neustarten, die vielleicht
n�tzlich sind:
-------------------
compaq:/home/georg# /etc/rc2.d/S12laptop-net restart
Unmounting remote filesystems.
Dhcpcd is already running.
compaq:/home/georg# ping heise.de
ping: unknown host heise.de
compaq:/home/georg# ps xa | grep dhc
�5835�?��������S������0:00�/sbin/dhcpcd-bin�-Y�-N�eth0
�6015�pts/0����S������0:00�grep�dhc
compaq:/home/georg# kill 5835
compaq:/home/georg# /etc/rc2.d/S12laptop-net restart
Unmounting remote filesystems.
****��/sbin/dhcpcd-bin:�not�running
compaq:/home/georg# ping heise.de
PING heise.de (193.99.144.80): 56 data bytes
64 bytes from 193.99.144.80: icmp_seq=0 ttl=246 time=65.0 ms
64 bytes from 193.99.144.80: icmp_seq=1 ttl=246 time=67.8 ms
--- heise.de ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 65.0/66.4/67.8 ms
compaq:/home/georg#
------------------
Ich habe so insgesamt das Gef�hl, da� der dhcpcd zweimal gestartet wird, auf
alle F�lle l�uft da insgesamt etwas schief.
Danke,
Georg Klein
Hier meine config:
---- /etc/laptop-net/schemes----
# $Id: schemes.conf,v 1.1 2002/02/21 06:27:10 cph Exp $
#
# Copyright (c) 2000-2002 Massachusetts Institute of Technology
#
# This program 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.
#
# This program 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 this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# This script is sourced with the following shell variables:
# SCHEME is the name of the selected scheme.
# INTERFACE is the name of the interface.
case "${SCHEME}" in
offline)
����#�Setting�nothing�means�to�leave�the�network�interface�disabled.
����;;
*)
����#�Set�to�"yes"�to�use�DHCP
����DHCP="yes"
����#�These�bindings�specify�a�static�address�and�are�ignored�if�DHCP�is
used:
����#�IP�address�(required)
����ADDRESS="192.168.100.103"
����#�Netmask�(required)
����NETMASK="255.0.0.0"
����#�Broadcast�address�(optional)
����BROADCAST=
����#�Network�address�(optional)
����NETWORK=
����#�Gateway�address�(optional)
����GATEWAY=""
����#�These�bindings�are�used�both�for�DHCP�and�static�addresses:
����#�Local�domain�name�(optional)
����DOMAIN="localdomain"
����#�Search�list�for�host�lookup�(optional)
����SEARCH=
����#�Nameservers,�separated�by�spaces�(optional)
����NAMESERVERS=
����;;
esac
------------- /etc/network/interfaces ---------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
# automatically added when upgrading
auto eth0
iface eth0 inet dhcp
#�������address�192.168.100.103
#�������netmask�255.0.0.0
#�������network�192.168.100.0
#�������broadcast�192.168.100.255
---------- /etc/dhcpc/config -------
# Config file for dhcpcd.
case ${INTERFACE} in
eth0)
# Uncomment this to allow dhcpcd to set the DNS servers in /etc/resolv.conf
SET_DNS='yes'
# Uncomment this to allow dhcpcd to set domainname of the host to the
# domainname option supplied by DHCP server.
#SET_DOMAIN='yes'
# Uncomment this to allow dhcpcd to set hostname of the host to the
# hostname option supplied by DHCP server.
#SET_HOSTNAME='yes'
# Uncomment this to allow dhcpcd to set the NTP servers in /etc/ntp.conf
#SET_NTP='yes'
# Uncomment this to allow dhcpcd to set the YP servers in /etc/yp.conf
#SET_YP='yes'
# Add other options here, see man 8 dhcpcd-bin for details.
OPTIONS=''
;;
# Add other interfaces here
*)
;;
esac
--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)