--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: laptop-net: Does not detect when the interface is down
- From: Christian Perrier <bubulle@debian.org>
- Date: Mon, 10 Mar 2003 08:02:34 +0100
- Message-id: <20030310070234.DDE41D068@mykerinos.kheops.frmug.org>
Package: laptop-net
Version: 2.15-1
Severity: normal
Well, this is a strange bug.....
Since a few days (how many? Don't know) laptop-net does not detect anything
when I unplug my network cable.
I basically have two possible network schemes (see schemes file below) and 3
profiles (home, offline and work....offline is the profile that was
previously automatically selected when I unplugged the network cable).
My network card is 3c59x (driver compiled into the kernel...which is either
2.4.20 or 2.4.21-pre4).
More stran,ge : if I unplug the network cable very soon after rebooting, I
get the correct behaviour : laptop-net detect the change or properly
switches to the "offline" profile.
But, after a while, this is not detected anymore.
I suspect a side-effect of something else, but what could cause this?
I run sid, updated nearly daily. I also run my own kernel, as previously
written.
My schemes file :
======================================================================
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=""
# Netmask (required)
NETMASK=""
# 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=""
# Search list for host lookup (optional)
SEARCH=
# Nameservers, separated by spaces (optional)
NAMESERVERS=""
;;
esac
======================================================================
My /etc/laptop-net/profiles/home/patterns :
192.168.1.*
My /etc/laptop-net/profiles/offline/patterns :
down
unknown
I'll try to make further investigation, especially with information from the
log files.....
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mykerinos 2.4.20 #1 mer jan 29 09:30:35 CET 2003 i686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (ignored: LC_ALL set)
Versions of packages laptop-net depends on:
ii debconf 1.2.32 Debian configuration management sy
ii libc6 2.3.1-14 GNU C Library: Shared libraries an
ii libnet1 1.1.0-3 Library for the construction and h
ii libpcap0.7 0.7.1-1 System interface for user-level pa
ii lockfile-progs 0.1.9 Programs for locking and unlocking
ii modutils 2.4.21-2 Linux module utilities.
ii net-tools 1.60-4 The NET-3 networking toolkit
ii netbase 4.09 Basic TCP/IP networking system
ii psmisc 21.2-1 Utilities that use the proc filesy
-- debconf information:
laptop-net/domain-name:
laptop-net/split-config-files:
* laptop-net/overwrite-config-files: false
laptop-net/ip-address:
laptop-net/module-name: 3c59x
laptop-net/do-config-next:
laptop-net/default-nameserver:
laptop-net/mii-supported: true
laptop-net/netmask:
laptop-net/use-dhcp: true
laptop-net/domain-search:
laptop-net/default-gateway:
--- End Message ---