Fix hostapd config
This commit is contained in:
parent
c9f9dd73e9
commit
6add54fdc4
2 changed files with 10 additions and 11 deletions
|
@ -51,7 +51,8 @@
|
|||
|
||||
\begin{console}[gobble=12]
|
||||
root@client:~# apt install hostapd
|
||||
root@client:~# cat hostapd_wpa.conf
|
||||
root@client:~# ln -s /etc/hostapd/hostapd_wpa-personnel.conf /etc/hostapd/hostapd.conf
|
||||
root@client:~# cat /etc/hostapd/hostapd.conf
|
||||
interface=wlan0
|
||||
driver=nl80211
|
||||
|
||||
|
@ -63,7 +64,7 @@
|
|||
wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=CCMP
|
||||
wpa_passphrase=123456789
|
||||
root@client:~# hostapd hostapd_wpa.conf &
|
||||
root@client:~# systemctl start hostapd.service
|
||||
\end{console}
|
||||
|
||||
\item Configurer la VM afin de capturer tous les échanges sur votre réseau dans un fichier de capture.
|
||||
|
@ -444,28 +445,26 @@
|
|||
Configurer les paramètres FreeRadius dans hostapd.
|
||||
|
||||
\begin{console}[gobble=20]
|
||||
root@client:~# cat hostapd_wpa-entreprise.conf
|
||||
root@client:~# ln -s /etc/hostapd/hostapd_wpa-entreprise.conf /etc/hostapd/hostapd.conf
|
||||
root@client:~# cat /etc/hostapd/hostapd.conf
|
||||
interface=wlan0
|
||||
driver=nl80211
|
||||
|
||||
hw_mode=g
|
||||
channel=1
|
||||
ssid=efrei-entreprise
|
||||
|
||||
wpa=2
|
||||
wpa_psk_radius=1
|
||||
wpa_key_mgmt=WPA-EAP
|
||||
wpa_pairwise=CCMP
|
||||
rsn_pairwise=CCMP
|
||||
|
||||
own_ip_addr=127.0.0.1
|
||||
ieee8021x=1
|
||||
|
||||
auth_algs=3
|
||||
auth_algs=1
|
||||
wpa=2
|
||||
wpa_key_mgmt=WPA-EAP
|
||||
|
||||
auth_server_addr=172.16.0.2
|
||||
auth_server_port=1812
|
||||
auth_server_shared_secret=testing123
|
||||
root@client:~# systemctl start hostapd.service
|
||||
\end{console}
|
||||
|
||||
\item Dans quel fichier configure-t-on l'addresse IP de l'AP dans FreeRadius~?
|
||||
|
@ -502,7 +501,7 @@
|
|||
|
||||
\end{itemize}
|
||||
|
||||
\item FreeRadius est un serveur AAA.
|
||||
\item FreeRadius est un serveur AAA\@.
|
||||
|
||||
\begin{itemize}
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue