J’obtiens ceci après correction:
[code]# sh APmode
rm : supprimer fichier « /root/hostap_temp.conf » ? yes
rm : supprimer fichier « /root/wpasupplicant_temp.conf » ? yes
APmode: 62: [: unexpected operator
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ctrl_iface exists and seems to be in use - cannot override it
Delete ‘/var/run/wpa_supplicant/wlan0’ manually if it is not used anymore
Failed to initialize control interface ‘/var/run/wpa_supplicant’.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.
err, wlan0: timed out
warn, wlan0: using IPV4LL address 169.254.253.96
dhcpcd.sh: interface wlan0 has been configured with new IP=169.254.253.96
Configuration file: /root/hostap_temp.conf
Using interface wlan1 with hwaddr 4c:80:93:18:ed:f5 and ssid 'test’
random: Cannot read from /dev/random: Resource temporarily unavailable
random: Only 0/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
dnsmasq: impossible de créer une socket d’écoute pour port 53 : Adresse déjà utilisée
net.ipv4.ip_forward = 1
iptables v1.4.16.3: unknown option "–state"
Try `iptables -h’ or ‘iptables --help’ for more information.
Wireless repeater access point “test” is up!
To kill it : APmode stop
[/code]
Il faut bien répondre “yes” lorsqu’il demande pour la suppression des 2 fichiers de conf?
Un autre truc un peu gênant j’ai l’impression qu’il attribut une nouvelle adresse ip à l’interface wlan0
Sinon comment est-ce que je peux voir si un serveur dhcp tourne déjà?