bonjour
j’utilise mon pda htc diamond comme point d’acces avec wmwifirouteur et mon abo sfr illymitic.
apres quelque recherche j’ai trouvé comment basculer ma carte wifi en mode adhoc par les commandes suivantes :
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode adhoc
jusque la pas de soucis, j’ai meme fais un script pour le faire et c’est ok.
Le probleme vient ensuite pour revenir en mode managed j’ai fait le script inverse :
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode managed
/etc/init.d/networking restart
si quelqu’un a une idée.
Merci d’avance.
Bonne fêtes de fin d’années a tous et toutes.
mais la impossible de reconnecter un point d’acces seule solution reboot de la machine.
pour info voici le resultat apres le script
[code]x51r:/home/nico/script# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:“Livebox-ebc0” Nickname:""
Mode:Managed Frequency:2.447 GHz Access Point: 00:1A:6B:C3:6D:64
Bit Rate:1 Mb/s Tx-Power:17 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=48/70 Signal level=-48 dBm Noise level=-96 dBm
Rx invalid nwid:16 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
x51r:/home/nico/script# ifdown ath0
ifdown: interface ath0 not configured
x51r:/home/nico/script# /etc/init.d/networking restart
Reconfiguring network interfaces…done.
x51r:/home/nico/script# ifup ath0
Ignoring unknown interface ath0=ath0.
x51r:/home/nico/script#
[/code]