View previous topic :: View next topic |
Author |
Message |
floc_12 Apprentice

Joined: 28 Jun 2006 Posts: 191
|
Posted: Thu Dec 20, 2007 3:28 pm Post subject: [wifi] probleme de config (Résolu) |
|
|
bonjour,
je n'arrive pas a trouver la bonne syntaxe de /etc/conf.d/net pour mon wifi.
Ma carte est intallé, elle fonctionne nikel quand je tape cette ligne :
Quote: | iwconfig wlan0 essid Livebox-1111 channel 1 key [1] 11111111111111111111111111 && ifconfig wlan0 up && dhcpcd wlan0 |
Mon fichier :
Code: | modules_wlan0=( "iwconfig" )
essid_wlan0="Livebox-1111"
# key_Livebox-1111="[1] 11111111111111111111111111 [1] enc open"
# key_wlan0="11111111111111111111111111 "
key_Livebox-1111="[1] 11111111111111111111111111 [1]"
config_wlan0=( "192.168.1.67 netmask 255.255.255.0 brd 192.168.1.255" )
routes_wlan00=( "default via 192.168.1.1" ) |
J'ai essaye pleins de ligne, mais bon, il me dis :
Quote: | * Caching service dependencies ...
/etc/conf.d/net: line 10: key_Livebox-1111=[1] 11111111111111111111111111 [1] enc open: command not found
/etc/conf.d/net: line 10: key_Livebox-1111=[1] 11111111111111111111111111 [1] enc open: command not found
/etc/conf.d/net: line 10: key_Livebox-1111=[1] 11111111111111111111111111 [1] enc open: command not found
/etc/conf.d/net: line 10: key_Livebox-1111=[1] 11111111111111111111111111 [1] enc open: command not found [ ok ]
/etc/conf.d/net: line 10: key_Livebox-1111=[1] 11111111111111111111111111 [1] enc open: command not found
* Starting wlan0
* Configuring wireless network for wlan0
* Failed to configure wireless for wlan0 |
Merci.
Ced
Last edited by floc_12 on Thu Dec 20, 2007 6:28 pm; edited 1 time in total |
|
Back to top |
|
 |
darkangel92 Apprentice


Joined: 19 Nov 2006 Posts: 202
|
Posted: Thu Dec 20, 2007 3:51 pm Post subject: |
|
|
ca correspond à quoi cette partie à la fin en gras ?
Quote: |
key_Livebox-1111="[1] 11111111111111111111111111 [1] "
|
Dans ta commande manuel saisie en ligne, je ne vois pas à quel moment tu la saisies. |
|
Back to top |
|
 |
floc_12 Apprentice

Joined: 28 Jun 2006 Posts: 191
|
Posted: Thu Dec 20, 2007 5:05 pm Post subject: |
|
|
désole darkangel92, je ne voite pas ce que tu veux dire.
En fait, ceci :
Quote: |
modules_wlan0=( "iwconfig" )
essid_wlan0="Livebox-1111"
# key_Livebox-1111="[1] 11111111111111111111111111 [1] enc open"
# key_wlan0="11111111111111111111111111 "
key_Livebox-1111="[1] 11111111111111111111111111 [1]"
config_wlan0=( "192.168.1.67 netmask 255.255.255.0 brd 192.168.1.255" )
routes_wlan00=( "default via 192.168.1.1" ) |
correspond a la partie wlan0 de mon fichier /etc/conf.d/net.
les "11111111111111111111111111 "= ma clé wep
Livebox-1111 = le nom de mon reseau
J'ai testé plusieurs lignes (les 2 en commentaires + celle dont tu me parle), et ca ne marche pas (même si j'enleve la partie en gras)
Merci |
|
Back to top |
|
 |
floc_12 Apprentice

Joined: 28 Jun 2006 Posts: 191
|
Posted: Thu Dec 20, 2007 6:27 pm Post subject: |
|
|
J'ai résolu en créant un script et en l'intégrant à /etc/conf.d/local.start (je sais qu'il y a des outils pour ca, mais bons ....)
Mais si quelqu'un connait la syntaxe, je suis toujours preuneur :p
Merci |
|
Back to top |
|
 |
|