[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: configuration wifi cli



Le Dimanche, 5 Mars 2006 12.00, nono a écrit :
> Bonjour à tous

salut,

>
> J'ai installé une carte wifi sur un portable. j'aimerai savoir la
> configurer en commande en ligne.
>
> je sais qu'il y a "iwconfig" mais entre les modes managed et ad-hoc, les
> essid, les canaux, les fragmentations, la puissance émission etc...

Le point d'accès (AP pour access point) est en mode master et les clients en 
mode managed. Deux machines peuvent se causer directement en mode ad-hoc.


> si quelqu'un a déjà fait cette manip ou si quelqu'un connait un bon tuto en
> français, je suis preneur.

pour une interface nommée wlan0, machine cliente d'un AP  :

# iwconfig wlan0 essid mon_réseau_wifi
# iwconfig wlan0 channel 6
# iwconfig wlan0 mode managed (remplacer managed par master pour un AP)
# iwconfig wlan0 rate 11M
# iwconfig wlan0 key laskdammada9sd8asjd77 (à changer bien sûr)
# iwconfig wlan0 enc on


tout ça est dans man iwconfig

ensuite donner une IP :

# ifconfig wlan0 192.168.1.10 netmask 255.255.255.0 up


et ça dans man ifconfig

ping www.debian.org pour voir si ça marche.


wavemon est pas mal aussi
#aptitude install wavemon

> merci

pas de quoi

>
> nono
>
>
> --
> Pour le 2 Avril 2006 :
> http://gulliver.eu.org/wiki/SaintSenoux2006
> http://zenith.noel.free.fr/index.html

-- 
steve
jabber : sdl@jabber.org



Reply to: