Skip to content

Commit

Permalink
[2024-01-16 15:53:06] Ionut Bostan: EAP config
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymccaigue committed Jan 16, 2024
1 parent f021d43 commit 4d05164
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions packages/docusaurus/docs/build5-docs/70-eap-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ EAP-TLS Network Configuration on RaspberryPi 4B using the RT5370 Wireless Adapte


1. Install tools:
```sudo apt install dnsmasq```
```sudo apt install hostapd```
```sh
sudo apt install dnsmasq
```
```sh
sudo apt install hostapd
```

2. Edit or add /etc/dnsmasq.conf:
```sh
sudo nano /etc/dnsmasq.conf
```
```
# Set the Wireless interface
interface=wlan1
Expand All @@ -25,9 +32,24 @@ EAP-TLS Network Configuration on RaspberryPi 4B using the RT5370 Wireless Adapte
port=0
```
3. Save the new configuration:
```sudo dnsmasq -C /etc/dnsmasq.conf```
```sh
sudo dnsmasq -C /etc/dnsmasq.conf
```

4. Configure the wlan interface which will be used to interact with the wifi clients:
```sh
sudo nano /usr/local/bin/wlan0staticip.sh
```
add
```ifconfig wlan1 10.0.0.1 netmask 255.255.255.0
```
Make the file executable:
```sh
sudo chmod +x wlan0staticip.sh
```
5. Create the task to run this script at every reboot
```sh
sudo crontab -e
```

Implementation based in part on methods as discussed in [Transforming Your Raspberry Pi into a Secure Enterprise Wi-Fi Controller with 802.1x Authentication](https://myitrambles.com/transforming-your-raspberry-pi-into-a-secure-enterprise-wi-fi-controller-with-802-1x-authentication/)

0 comments on commit 4d05164

Please sign in to comment.