--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: laptop-net does not work (always down)
- From: Vincent Lefevre <vincent@vinc17.org>
- Date: Wed, 17 Jun 2009 01:38:16 +0200
- Message-id: <20090616233816.GA13044@xvii>
Package: laptop-net
Version: 2.26-8.1
Severity: important
I can't make laptop-net work. Whatever I do, I get:
$ /etc/init.d/laptop-net scheme
down
Also, if I stop or start laptop-net, it always starts the DHCP client:
xvii:/home/vinc17# /etc/init.d/laptop-net stop
There is already a pid file /var/run/dhclient.eth0.pid with pid 6336
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:24:e8:97:5f:73
Sending on LPF/eth0/00:24:e8:97:5f:73
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.0.1 port 67
and eth0 is still up.
xvii:/home/vinc17# /etc/init.d/laptop-net start
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:24:e8:97:5f:73
Sending on LPF/eth0/00:24:e8:97:5f:73
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.0.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.104 -- renewal in 1566 seconds.
The documentation does not tell what should be in
/etc/network/interfaces. I commented out what concerned eth0:
#allow-hotplug eth0
#iface eth0 inet dhcp
but this didn't dolve the problem. Anyway since I get no error
messages, I assume that this is a bug.
I've attached the contents of:
/etc/default/laptop-net
/etc/laptop-net/ip-map
/etc/laptop-net/schemes
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages laptop-net depends on:
ii debconf [debconf-2.0] 1.5.26 Debian configuration management sy
ii ifupdown 0.6.8+nmu1 high level tools to configure netw
ii libc6 2.9-13 GNU C Library: Shared libraries
ii libnet1 1.1.2.1-5 library for the construction and h
ii libpcap0.8 1.0.0-1 system interface for user-level pa
ii lockfile-progs 0.1.11-0.1 Programs for locking and unlocking
ii module-init-tools 3.7-pre9-1 tools for managing Linux kernel mo
ii net-tools 1.60-23 The NET-3 networking toolkit
laptop-net recommends no packages.
Versions of packages laptop-net suggests:
ii dhcp3-client 3.1.2-1 DHCP client
ii laptop-net-doc 2.26-8.1 Automatically adapt laptop Etherne
pn pcmcia-cs <none> (no description available)
ii psmisc 22.7-1 utilities that use the proc file s
pn resolvconf <none> (no description available)
-- debconf information:
laptop-net/domain-name:
laptop-net/split-config-files:
laptop-net/default-nameserver:
* laptop-net/overwrite-config-files: false
laptop-net/ip-address:
* laptop-net/mii-supported: true
laptop-net/netmask:
* laptop-net/use-dhcp: true
laptop-net/domain-search:
laptop-net/default-gateway:
* laptop-net/module-name:
# Do not edit this file; it was generated by a program. Any changes
# you make will be lost when the laptop-net package is reconfigured.
# If you want to manually maintain this file, run
# dpkg-reconfigure laptop-net
# and answer "no" to the question
# Manage laptop-net configuration files with debconf?
#
# $Id: laptop-net.conf,v 1.10 2003/01/20 21:02:21 cph Exp $
#
# Copyright 2000,2001,2002 Massachusetts Institute of Technology
#
# This file is part of laptop-net.
#
# Laptop-net 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.
#
# Laptop-net 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 laptop-net; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# Set this to the name of the network-driver module you are using.
# If your network driver is compiled in, comment this out.
MODULE_NAME=""
# Set this to "no" if your network driver doesn't support MII.
# The following drivers support MII as of Linux 2.4.5: 3c59x, 8139too,
# eepro100, epic100, fealnx, hamachi, ioc3-eth, natsemi, pcnet32,
# pegasus, sis900, starfire, sundance, tlan, tulip, via-rhine,
# winbond-840, and yellowfin.
MII_SUPPORTED="no"
# $Id: ip-map.conf,v 1.2 2003/01/20 21:02:17 cph Exp $
#
# Copyright 2002 Massachusetts Institute of Technology
#
# This file is part of laptop-net.
#
# Laptop-net 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.
#
# Laptop-net 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 laptop-net; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# This is an example IP map. The purpose of this map is to associate
# scheme names with IP addresses. The ARP discovery mechanism reads
# the map and sends out ARP requests for all of the IP addresses in
# the map. When an ARP reply is received, the map is searched for the
# IP address contained in the reply, and if a match is found, the
# scheme associated with that address is chosen.
# Each line consists of a scheme name followed by one or more IP
# addresses, separated by spaces or tabs. Comments are allowed
# anywhere, start with the '#' character, and continue to the end of
# the line. Blank lines, consisting of any number of space or tab
# characters, are also allowed.
# Here are two example entry lines:
#home 192.168.1.1 192.168.1.2
#office 192.168.2.1 192.168.2.2 192.168.2.3
home 192.168.0.1
# Do not edit this file; it was generated by a program. Any changes
# you make will be lost when the laptop-net package is reconfigured.
# If you want to manually maintain this file, run
# dpkg-reconfigure laptop-net
# and answer "no" to the question
# Manage laptop-net configuration files with debconf?
#
# $Id: schemes.conf,v 1.3 2003/01/20 21:06:25 cph Exp $
#
# Copyright 2000,2001,2002 Massachusetts Institute of Technology
#
# This file is part of laptop-net.
#
# Laptop-net 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.
#
# Laptop-net 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 laptop-net; 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.
;;
home)
DHCP="no"
ADDRESS="192.168.0.8"
NETMASK="255.255.255.0"
GATEWAY="192.168.0.1"
NAMESERVERS="192.168.0.1 62.4.16.70 62.4.17.69"
;;
*)
# 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
--- End Message ---