[EMAIL PROTECTED] a écrit :
Bonjour,
======================================================================
J'ai installé le wifi avec la seule commande
"module-assistant"
en sélectionnant "madwifi"
et puis c'est tout.
Pas iwconfig, ni rien.
Puis j'ai édité le fichier d'interface, cf. plus-bas.
======================================================================
Au démarrage, l'ordinateur dispose d'une connection :
je peux faire
"google". Par la suite, il est possible (non
systématique) que je
perde la connection.
"dhclient" résout le problème (un seul appel à
"dhclient",
une seule fois pour toute la session).
Deux questions :
1/ Pourquoi mon premier ifconfig (cf plus bas), me
donne une interface
eth0 qui fonctionne, alors que mon fichier
/etc/network/interface ne
parle pas du tout de cette interface. (le cable rj45
n'est même pas
branché).
2/ Si il y a des problèmes de route (je n'ai pas
touché à "route"),
pourquoi est-ce qu'un simple dhclient les résout.
Enfin, je ne voudrait pas alourdir ma configuration :
mon fichier
d'interface. Il marche très bien comme ça.
À mon avis, il y a plutôt quelque chose à enlever : Je
pense qu'il y a
conflit entre les deux interface, ath0 et eth0.
Mais ce n'est pas moi qui ai déclaré eth0. ==> La
retirer d'un
fichier : il doit y avoir un fichier qui la déclare.
Dans le journal "syslog", elle est fréquemment
"référencée", par
"NetworkManager" (je crois).
======================================================================
Si la question vous inspire, merci de me faire part de
vos remarques.
La question n'est pas cruciale, mais il serait bon que
mon ordi
fonctionne de manière déterministe ; et que je n'ai
pas besoin de
rajouter des corrections outre mesure.
Fa.
======================================================================
[EMAIL PROTECTED]:~$ cat /etc/network/interface
# This file describes the network interfaces available
on your system
# and how to activate them. For more information, see
interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp
#allow-hotplug ath0
auto ath0
iface ath0 inet dhcp
#netmask 255.255.255.0
#gateway 192.168.1.1
wireless_essid Wanadoo_XXXX
wireless-key XXXXXXXXXXXXXXXXXXXXXXXXXX
======================================================================
[EMAIL PROTECTED]:~$ sudo ifconfig
ath0 Lien encap:Ethernet HWaddr
00:0F:B5:EC:88:A9
inet adr:192.168.1.12 Bcast:192.168.1.255
Masque:255.255.255.0
adr inet6: fe80::20f:b5ff:feec:88a9/64
Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:260 errors:0 dropped:0 overruns:0
frame:0
TX packets:290 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 lg file transmission:0
RX bytes:69391 (67.7 KiB) TX bytes:29930
(29.2 KiB)
eth0 Lien encap:Ethernet HWaddr
00:09:6B:E3:09:1E
inet adr:169.254.241.159
Bcast:169.254.255.255 Masque:255.255.0.0
adr inet6: fe80::209:6bff:fee3:91e/64
Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:59 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:6055 (5.9 KiB)
lo Lien encap:Boucle locale
inet adr:127.0.0.1ff Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:76 errors:0 dropped:0 overruns:0
frame:0
TX packets:76 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 lg file transmission:0
RX bytes:6024 (5.8 KiB) TX bytes:6024 (5.8
KiB)
wifi0 Lien encap:UNSPEC HWaddr
00-0F-B5-EC-88-A9-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:8841 errors:0 dropped:0
overruns:0 frame:394
TX packets:322 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 lg file transmission:199
RX bytes:1020056 (996.1 KiB) TX bytes:40242
(39.2 KiB)
Interruption:11 Mémoire:d0a60000-d0a70000
[EMAIL PROTECTED]:~$ sudo dhclient
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/wifi0/
Sending on LPF/wifi0/
Listening on LPF/ath0/00:0f:b5:ec:88:a9
Sending on LPF/ath0/00:0f:b5:ec:88:a9
Listening on LPF/eth0/00:09:6b:e3:09:1e
Sending on LPF/eth0/00:09:6b:e3:09:1e
Sending on Socket/fallback
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67
interval 4
DHCPREQUEST on ath0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.12 -- renewal in 288467 seconds.
[EMAIL PROTECTED]:~$ sudo ifconfig
ath0 Lien encap:Ethernet HWaddr
00:0F:B5:EC:88:A9
inet adr:192.168.1.12 Bcast:192.168.1.255
Masque:255.255.255.0
adr inet6: fe80::20f:b5ff:feec:88a9/64
Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:261 errors:0 dropped:0 overruns:0
frame:0
TX packets:302 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 lg file transmission:0
RX bytes:69733 (68.0 KiB) TX bytes:32647
(31.8 KiB)
eth0 Lien encap:Ethernet HWaddr
00:09:6B:E3:09:1E
adr inet6: fe80::209:6bff:fee3:91e/64
Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:62 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:6793 (6.6 KiB)
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:76 errors:0 dropped:0 overruns:0
frame:0
TX packets:76 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 lg file transmission:0
RX bytes:6024 (5.8 KiB) TX bytes:6024 (5.8
KiB)
wifi0 Lien encap:UNSPEC HWaddr
00-0F-B5-EC-88-A9-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:10067 errors:0 dropped:0
overruns:0 frame:406
TX packets:334 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 lg file transmission:199
RX bytes:1157182 (1.1 MiB) TX bytes:43319
(42.3 KiB)
Interruption:11 Mémoire:d0a60000-d0a70000
======================================================================
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
Salut,
Peut être que le package zeroconf est installé?
Si oui supprime le et retente...
Raphaël
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]