J'ai une machine sous sarge qui tourne avec un serveur DHCP, j'ai un
portbale Ubuntu/Windows qui utilise ce serveur pour initialiser une
connexion. Le portable utilise une carte ethernet PCMCIA.
Quand j'allume le portable j'ai des petits problèmes pour obtenir une
adresse IP.
Sous Windows je n'obtiens pas d'adresse diectement au boot, si j'attends
quelques secondes ça vient tout seul, la connexion est OK, je pense que
IE commande lui-même la réparation de la connexion.
Sous Ubtuntu je n'ai pas non plus d'adresse pour eth0, il faut que je
fasse un "ifdown eth0" puis "ifup eth0" et la connexion est alors
opérationnelle.
Quelqun a-t-il une idée de la source de ce problème ?
Je me suis apperçu de ce problème en bidouillant mon firewall que j'ai
désactivé depuis, normalement je suis revenu à la configuration de base
de sarge.
J'ai mis quelques infos à la fin de ce mail.
/var/log/messages
/etc/network/interfaces
debian-concorde:/home/mickael# iptables -L
/var/lib/dhcp3/dhcpd.leases
à 19:52:16 je fais la manip ifdown puis ifup sous ubuntu
Jan 12 19:47:53 localhost kernel: 0000:02:0a.0: 3Com PCI 3c905C Tornado
at 0xdc00. Vers LK1.1.19
Jan 12 19:47:53 localhost kernel: eth0: network connection up using port A
Jan 12 19:47:53 localhost kernel: speed: 100
Jan 12 19:47:53 localhost kernel: autonegotiation: yes
Jan 12 19:47:53 localhost kernel: duplex mode: full
Jan 12 19:47:53 localhost kernel: flowctrl: symmetric
Jan 12 19:47:53 localhost kernel: irq moderation: disabled
Jan 12 19:47:53 localhost kernel: scatter-gather: enabled
Jan 12 19:47:53 localhost kernel: ip_tables: (C) 2000-2002 Netfilter
core team
Jan 12 19:47:53 localhost kernel: ip_conntrack version 2.1 (4089
buckets, 32712 max) - 220 bytes per conntrack
Jan 12 19:47:56 localhost dhcpd: Internet Systems Consortium DHCP Server
V3.0.1
Jan 12 19:47:56 localhost dhcpd: Copyright 2004 Internet Systems Consortium.
Jan 12 19:47:56 localhost dhcpd: All rights reserved.
Jan 12 19:47:56 localhost dhcpd: For info, please visit
http://www.isc.org/sw/dhcp/
Jan 12 19:47:56 localhost dhcpd: Wrote 0 leases to leases file.
Jan 12 19:47:56 localhost kernel: parport0: PC-style at 0x378 (0x778)
[PCSPP(,...)]
Jan 12 19:47:56 localhost kernel: parport0: irq 7 detected
Jan 12 19:47:56 localhost kernel: lp0: using parport0 (polling).
Jan 12 19:48:47 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 19:48:48 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 19:48:53 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 19:48:53 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 19:49:05 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 19:49:05 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 19:49:20 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 19:49:20 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 19:49:27 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 19:49:27 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 19:49:41 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 19:49:41 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 19:49:47 localhost kernel: eth1: Setting full-duplex based on MII
#24 link partner capability of 05e1.
Jan 12 19:52:16 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 19:52:17 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 19:52:17 localhost dhcpd: DHCPREQUEST for 192.168.0.220
(192.168.0.50) from 00:0f:b5:47:30:ae via eth1
Jan 12 19:52:17 localhost dhcpd: DHCPACK on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
un reboot sous ubuntu :
Jan 12 20:17:48 localhost dhcpd: DHCPRELEASE of 192.168.0.220 from
00:0f:b5:47:30:ae via eth1 (found)
Jan 12 20:18:58 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 20:18:59 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 20:19:05 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 20:19:05 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 20:19:18 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 20:19:18 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 20:19:32 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 20:19:32 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 20:19:42 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 20:19:42 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 20:19:53 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 20:19:53 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 20:21:23 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 20:21:24 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
Jan 12 20:21:24 localhost dhcpd: DHCPREQUEST for 192.168.0.220
(192.168.0.50) from 00:0f:b5:47:30:ae via eth1
Jan 12 20:21:24 localhost dhcpd: DHCPACK on 192.168.0.220 to
00:0f:b5:47:30:ae via eth1
un reboot sous windows :
Jan 12 20:23:14 localhost dhcpd: DHCPRELEASE of 192.168.0.220 from
00:0f:b5:47:30:ae via eth1 (found)
Jan 12 20:23:48 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae via
eth1
Jan 12 20:23:49 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae (portable-mimi) via eth1
Jan 12 20:23:52 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae
(portable-mimi) via eth1
Jan 12 20:23:52 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae (portable-mimi) via eth1
Jan 12 20:24:00 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae
(portable-mimi) via eth1
Jan 12 20:24:00 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae (portable-mimi) via eth1
Jan 12 20:24:15 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae
(portable-mimi) via eth1
Jan 12 20:24:15 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae (portable-mimi) via eth1
Jan 12 20:24:51 localhost dhcpd: DHCPDISCOVER from 00:0f:b5:47:30:ae
(portable-mimi) via eth1
Jan 12 20:24:51 localhost dhcpd: DHCPOFFER on 192.168.0.220 to
00:0f:b5:47:30:ae (portable-mimi) via eth1
Jan 12 20:24:51 localhost dhcpd: DHCPREQUEST for 192.168.0.220
(192.168.0.50) from 00:0f:b5:47:30:ae (portable-mimi) via eth1
Jan 12 20:24:51 localhost dhcpd: DHCPACK on 192.168.0.220 to
00:0f:b5:47:30:ae (portable-mimi) via eth1
# All times in this file are in UTC (GMT), not your local timezone.
This is
# not a bug, so please don't ask about it. There is no portable way to
# store leases in the local timezone, so please don't request this as a
# feature. If this is inconvenient or confusing to you, we sincerely
# apologize. Seriously, though - don't ask.
# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-V3.0.1
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Jean-Michel OLTRA
bonjour,
Le jeudi 12 janvier 2006, mickael a écrit...
Quand j'allume le portable j'ai des petits problèmes pour obtenir une adresse IP.
# The loopback network interface auto lo iface lo inet loopback
up echo "1" > /proc/sys/net/ipv4/ip_forward
Ce ne serait pas mieux dans /etc/sysctl.conf ?
auto eth0 iface eth0 inet dhcp #pre-up iptables-restore < /etc/network/iptables-rules
C'est celle-ci, l'interface pcmcia ? Il me semble qu'il y a un problème dans la séquence de chargement au boot et qu'il est préférable d'avoir une ligne :
allow-hotplug interface (voir : man interface)
Si l'interface n'est pas détectée lors du paramétrage des interfaces via le fichier /etc/network/interfaces, alors tu n'obtiens pas d'adresse par le dhcp (ou un truc commak...)
-- jm
-- Pensez
bonjour,
Le jeudi 12 janvier 2006, mickael a écrit...
Quand j'allume le portable j'ai des petits problèmes pour obtenir une
adresse IP.
# The loopback network interface
auto lo
iface lo inet loopback
up echo "1" > /proc/sys/net/ipv4/ip_forward
Ce ne serait pas mieux dans /etc/sysctl.conf ?
auto eth0
iface eth0 inet dhcp
#pre-up iptables-restore < /etc/network/iptables-rules
C'est celle-ci, l'interface pcmcia ? Il me semble qu'il y a un problème
dans la séquence de chargement au boot et qu'il est préférable d'avoir
une ligne :
allow-hotplug interface
(voir : man interface)
Si l'interface n'est pas détectée lors du paramétrage des interfaces via
le fichier /etc/network/interfaces, alors tu n'obtiens pas d'adresse par
le dhcp (ou un truc commak...)
Quand j'allume le portable j'ai des petits problèmes pour obtenir une adresse IP.
# The loopback network interface auto lo iface lo inet loopback
up echo "1" > /proc/sys/net/ipv4/ip_forward
Ce ne serait pas mieux dans /etc/sysctl.conf ?
auto eth0 iface eth0 inet dhcp #pre-up iptables-restore < /etc/network/iptables-rules
C'est celle-ci, l'interface pcmcia ? Il me semble qu'il y a un problème dans la séquence de chargement au boot et qu'il est préférable d'avoir une ligne :
allow-hotplug interface (voir : man interface)
Si l'interface n'est pas détectée lors du paramétrage des interfaces via le fichier /etc/network/interfaces, alors tu n'obtiens pas d'adresse par le dhcp (ou un truc commak...)
-- jm
-- Pensez
Guillaume Estival
On Fri, Jan 13, 2006 at 09:16:58AM +0100, Jean-Michel OLTRA wrote:
bonjour,
Le jeudi 12 janvier 2006, mickael a écrit...
> Quand j'allume le portable j'ai des petits problèmes pour obtenir une > adresse IP.
> # The loopback network interface > auto lo > iface lo inet loopback
> up echo "1" > /proc/sys/net/ipv4/ip_forward
Ce ne serait pas mieux dans /etc/sysctl.conf ?
Sur la debian, c'est mieux dans /etc/network/options ... -- Guillaume Estival http://www.dawan.fr 0810.001.917
-- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench
Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
On Fri, Jan 13, 2006 at 09:16:58AM +0100, Jean-Michel OLTRA wrote:
bonjour,
Le jeudi 12 janvier 2006, mickael a écrit...
> Quand j'allume le portable j'ai des petits problèmes pour obtenir une
> adresse IP.
> # The loopback network interface
> auto lo
> iface lo inet loopback
> up echo "1" > /proc/sys/net/ipv4/ip_forward
Ce ne serait pas mieux dans /etc/sysctl.conf ?
Sur la debian, c'est mieux dans /etc/network/options ...
--
Guillaume Estival
http://www.dawan.fr
0810.001.917
--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org