WiFi avec UBUNTU

Philippe OLIVIER philippe.olivier at evolution-info.com
Lun 4 Juin 05:45:54 UTC 2007


Bonjour,

J'ai rencontré des difficultés à obtenir une connexion wifi entre un 
portable et un routeur netgear. Cela venait du cryptage wpa. J'ai résolu le 
soucis avec network-manager et son applet gnome. Le seul soucis de cette 
méthode est que je ne peux pas lancer la connexion avant l'ouverture d'une 
session gnome ce qui est assez pénible pour l'authentification sur un 
serveur LDAP et le montage d'un système de fichier NFS.

A+
----- Original Message ----- 
From: "Guillaume" <bou.gui at wanadoo.fr>
To: "Liste Ubuntu" <ubuntu-fr at lists.ubuntu.com>
Sent: Monday, June 04, 2007 7:27 AM
Subject: Re: WiFi avec UBUNTU


Patrick Habran a écrit :
> Bonsoir,
> Voici le résultat des deux commandes suivis du "gedit"
>
> ______________________________________________________________
>
> pat at ubuntu:~$ sudo iwconfig eth1 ap 00:C0:49:55:32:7D
>
> Password:
>
> pat at ubuntu:~$ sudo /etc/init.d/networking restart
>
> * Reconfiguring network interfaces... 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:08:a1:35:2f:5a
>
> Sending on LPF/eth0/00:08:a1:35:2f:5a
>
> Sending on Socket/fallback
>
> 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/eth1/00:c0:49:55:32:7d
>
> Sending on LPF/eth1/00:c0:49:55:32:7d
>
> Sending on Socket/fallback
>
> 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:08:a1:35:2f:5a
>
> Sending on LPF/eth0/00:08:a1:35:2f:5a
>
> Sending on Socket/fallback
>
> DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 6
>
> DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 16
>
> DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 7
>
> DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 12
>
> DHCPDISCOVER on eth0 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 20
>
> 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
>
>
> Listening on LPF/eth1/00:c0:49:55:32:7d
>
> Sending on LPF/eth1/00:c0:49:55:32:7d
>
> Sending on Socket/fallback
>
> DHCPDISCOVER on eth1 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 7
>
> DHCPDISCOVER on eth1 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 13
>
> DHCPDISCOVER on eth1 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 11
>
> DHCPDISCOVER on eth1 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 14
>
> DHCPDISCOVER on eth1 to 255.255.255.255 <http://255.255.255.255> port 67
> interval 16
>
> No DHCPOFFERS received.
>
> No working leases in persistent database - sleeping.
>
> [ ok ]
>
> __________________________________________________________________
>
>
>
> # 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
>
>
> iface eth0 inet dhcp
>
>
> auto eth0
>
>
> iface eth1 inet dhcp
>
> wireless-essid USR5462
>
>
> auto eth1
>

Au moins, l'attribution de ton routeur a l'air d'être prise en compte,
c'est déjà ça de gagné ! Sauf que, j'ai indiqué une bêtise la deuxième
fois, c'est sudo iwconfig eth0 ap adresse_mac, pas eth1 puisque chez
toi, iwconfig disait que le wifi était sur eth0 !

Pour NetworkManager, c'est Système/Administration/Réseau, ça simplifie
généralement les problèmes !

Autre question : es-tu certain que ta connexion est en DHCP, et pas en
statique ?

Guillaume

-- 
Mail garanti 0% Microsoft, envoyé sous Ubuntu Feisty

Marre de payer des logiciels inutiles ?
http://www.racketiciel.info
http://www.detaxe.org


-- 
ubuntu-fr mailing list
ubuntu-fr at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr 





Plus d'informations sur la liste de diffusion ubuntu-fr