Voila
j'ai un rpi2 avec un dongle wifi tl-w822n
j'ai pris le hostapd à partir de ce lien
http://www.jenssegers.be/blog/43/Realte ... spberry-Pi
et j'ai reussi à demarrer le service ce qui est dejà une bonne progression
j'ai suivi ces instructions la
http://hardware-libre.fr/2014/02/raspbe ... cces-wifi/
resultat du iwconfig
wlan0 IEEE 802.11bgn ESSID:"monreso" Nickname:"<WIFI@REALTEK>"
Mode:Master Frequency:2.437 GHz Access Point: 14:CC:20:10:2C:3C
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=2/100 Signal level=2/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
j'ai fait une config via dnsmasq en suivant les instrutions sur ce lien
http://hardware-libre.fr/2014/02/raspbe ... cces-wifi/
resultat du ifconfig
wlan0 Link encap:Ethernet HWaddr 14:cc:20:10:2c:3c
inet adr:10.10.10.10 Bcast:10.255.255.255 Masque:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:312 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:11520 (11.2 KiB) TX bytes:9558 (9.3 KiB)
interfaces
auto lo
iface lo inet loopback
#auto eth0
#allow-hotplug eth0
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
adress 10.10.10.10
netmask 255.255.255.0
auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
dnsmasq.conf
# Interface r�seau � utiliser (wlan0 par d�faut)
interface=wlan0
# Adresses minimum et maximum du r�seau et temps du bail
dhcp-range=10.10.10.30,10.10.10.60,72h
# DNS � envoyer aux clients. Ne changez pas ceci.
server=8.8.8.8
server=8.8.4.4
# Instruction qui emp�chera le r�seau de fonctionner si elle est absente (endhcp-authoritative
hostapd
# Basic configuration
interface=wlan0
ssid=monreso
channel=6
#bridge=br0
hw_mode=g
# WPA and WPA2 configuration
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=monpsw
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
# Hardware configuration
driver=rtl871xdrv
ieee80211n=1
hw_mode=g
device_name=RTL8192CU
manufacturer=Realtek
voila