Connexion wifi
Philbur
philbur at worldcom.ch
Ven 29 Sep 14:10:25 UTC 2006
Pardon correctif de l'adresse
http://doc.ubuntu-fr.org/materiel/wifi
Le vendredi 29 septembre 2006 à 16:05 +0200, Philbur a écrit :
>
>
> salut
> La configuration d'une carte wi-fi est une chose difficile il faut
> être très methodique
>
> jette un oeil
>
>
> http://doc.ubuntu.fr.org/materiel/wifi
>
>
> Philbur
>
> Le vendredi 29 septembre 2006 à 17:25 +0200, joel a écrit :
> > Le Jeudi 28 Septembre 2006 23:44, Nicolas Roudninski a écrit :
> >
> > > Vu les adresses, c'est le routeur qui donnent les adresses réseau à ces
> > > deux machines. Le portable wifi tient son adresse de la neufbox.
> > > Peut-être une config à faire au niveau de la neufbox.
> > > Es-tu en dhcp ou en static ?
> >
> > Je n'ai trouvé aucune indication à ce sujet dans l'interface de la neufbox.
> >
> > Par contre, j'ai essayé un mode bridgé (je ne sais pas ce que cela veut
> > dire) : plus rien ne passe, sur aucune machine.
> > Et un mode routé : j'ai essayé en monoposte (ma config actuelle) et en
> > multiposte : ça ne change rien.
> >
> > > Et pourquoi pas essayer en adresse fixe (192.168.0.183 par exemple ?)
> > > Dans /etc/network/interfaces tu dois avoir :
> > > auto eth1
> > > iface eth1 inet dhcp
> > >
> > > Essaie de commenter cette ligne et met ensuite :
> > >
> > > auto eth1
> > > iface eth1 inet static
> > > address 192.168.0.183
> > > netmask 255.255.255.0
> > > gateway 192.168.0.1
> > >
> > > Relance le réseau : sudo /etc/init.d/networking restart
> > > et essaie un ping vers le routeur, la neufbox et internet
> >
> > Résultat, après avoir suivi ces manips :
> >
> > root at neila-laptop:~# /etc/init.d/networking restart
> > * Reconfiguring network interfaces...
> > SIOCDELRT: No such process
> > Internet Systems Consortium DHCP Client V3.0.3
> > Copyright 2004-2005 Internet Systems Consortium.
> > All rights reserved.
> > For info, please visit http://www.isc.org/products/DHCP
> >
> > Listening on LPF/eth0/00:16:d4:37:40:ff
> > Sending on LPF/eth0/00:16:d4:37:40:ff
> > Sending on Socket/fallback
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
> > DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
> > No DHCPOFFERS received.
> > No working leases in persistent database - sleeping.
> > Internet Systems Consortium DHCP Client V3.0.3
> > Copyright 2004-2005 Internet Systems Consortium.
> > All rights reserved.
> > For info, please visit http://www.isc.org/products/DHCP
> >
> > SIOCSIFADDR: No such device
> > eth2: ERROR while getting interface flags: No such device
> > eth2: ERROR while getting interface flags: No such device
> > Bind socket to interface: No such device
> > Failed to bring up eth2.
> > Internet Systems Consortium DHCP Client V3.0.3
> > Copyright 2004-2005 Internet Systems Consortium.
> > All rights reserved.
> > For info, please visit http://www.isc.org/products/DHCP
> >
> > SIOCSIFADDR: No such device
> > ath0: ERROR while getting interface flags: No such device
> > ath0: ERROR while getting interface flags: No such device
> > Bind socket to interface: No such device
> > Failed to bring up ath0.
> > Internet Systems Consortium DHCP Client V3.0.3
> > Copyright 2004-2005 Internet Systems Consortium.
> > All rights reserved.
> > For info, please visit http://www.isc.org/products/DHCP
> >
> > SIOCSIFADDR: No such device
> > wlan0: ERROR while getting interface flags: No such device
> > wlan0: ERROR while getting interface flags: No such device
> > Bind socket to interface: No such device
> > Failed to bring up wlan0.
> >
> > PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> > >From 192.168.0.183 icmp_seq=1 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=2 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=3 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=5 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=6 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=7 Destination Host Unreachable
> >
> > --- 192.168.1.1 ping statistics ---
> > 8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7022ms
> > , pipe 3
> > neila at neila-laptop:~$ ping 192.168.0.1
> > PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
> > >From 192.168.0.183 icmp_seq=2 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=3 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=4 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=6 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=7 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=8 Destination Host Unreachable
> >
> > --- 192.168.0.1 ping statistics ---
> > 10 packets transmitted, 0 received, +6 errors, 100% packet loss, time 9007ms
> > , pipe 3
> > neila at neila-laptop:~$ ping 66.102.9.104
> > PING 66.102.9.104 (66.102.9.104) 56(84) bytes of data.
> > >From 192.168.0.183 icmp_seq=1 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=2 Destination Host Unreachable
> > >From 192.168.0.183 icmp_seq=3 Destination Host Unreachable
> >
> > --- 66.102.9.104 ping statistics ---
> > 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5018ms
> > , pipe 3
> >
> > Plus rien ne marche, mais les messages d'erreur donnent-ils des pistes ?
> >
> > J'ai vu qu'il cherche eth2, ath0 et wlan0...
> >
> > > Avec : sudo iptables -L on dois pouvoir vérifier si quelquechose est
> > > bloqué.
> > > Chez moi :
> > > [nicolas at hal:~$] sudo iptables -L
> > > Chain INPUT (policy ACCEPT)
> > > target prot opt source destination
> > >
> > > Chain FORWARD (policy ACCEPT)
> > > target prot opt source destination
> > >
> > > Chain OUTPUT (policy ACCEPT)
> > > target prot opt source destination
> > > Cela signifie qu'aucun parefeu ne bloque quoi que ce soit.
> >
> > Idem. Donc, pas de parefeu.
> >
> > --
> > Joël
> >
Plus d'informations sur la liste de diffusion ubuntu-fr