Bonjour,

Le mercredi 17 octobre 2007, Bulot Grégory a écrit...


> echo "iwconfig : "
> iwconfig $Interface essid dlink
> iwconfig $Interface channel 1
> ifconfig $Interface up

> iwlist $Interface


> echo "ifconfig : "
> /sbin/ifconfig $Interface $IP netmask 255.255.255.0 up
> echo "route :"
> /sbin/route add defauft gw $PASSERELLE
> ========================


> - après execution, j'ai ceci 
> ./wlan0up.sh
> iwconfig :
> iwlist: unknown command `wlan0'
> ifconfig :
> route :
> defauft: Hôte inconnu

> j'ai raté/déconné sur quoi ?

man iwlist
man route

... te diront que :

- iwlist demande une interface  _et_ une commande
  (ex : iwlist wlan0 scan)
- que « defauft » s'écrit en réalité « default »


-- 
jm

A.E.L. Sarl (R.C.S CASTRES 490843240)
http://www.affaires-en-ligne.com



-- 
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]

Répondre à