Spaces:
Build error
Build error
Commit
·
7862e13
1
Parent(s):
680fe62
minor updates to instructions
Browse files- PortiloopV2.md +4 -1
PortiloopV2.md
CHANGED
|
@@ -30,7 +30,8 @@ To install all dependencies, run the installation.sh script. This script takes c
|
|
| 30 |
To set up an access point, you will need to install a few dependencies. To install them, you can use the following command:
|
| 31 |
|
| 32 |
```bash
|
| 33 |
-
sudo apt-get update
|
|
|
|
| 34 |
```
|
| 35 |
|
| 36 |
This will update your system's package list and install the `hostapd` and `dnsmasq` packages.
|
|
@@ -124,6 +125,8 @@ macaddr_acl=0
|
|
| 124 |
This configuration file specifies the `ap0` interface, the SSID and password for the access point, and the encryption type to use. Make sure to replace `YOUR-SSID-HERE` and `YOUR-PASSWORD-HERE` with your own values. You now need to specify to hostapd which configuration file to do. Open the hostapd configuration file using `sudo nano /etc/default/hostapd`. Uncomment the DAEMON_CONF line and set it to the path of the configuration file you just created:
|
| 125 |
`DAEMON_CONF="/etc/hostapd/hostapd.conf"`.
|
| 126 |
|
|
|
|
|
|
|
| 127 |
### 4. Configure dnsmasq
|
| 128 |
|
| 129 |
Dnsmasq is the software that will provide DHCP and DNS services for the access point. Start by opening the dnsmasq configuration file with `sudo nano /etc/dnsmasq.conf`. Add the following content at the top of the file:
|
|
|
|
| 30 |
To set up an access point, you will need to install a few dependencies. To install them, you can use the following command:
|
| 31 |
|
| 32 |
```bash
|
| 33 |
+
sudo apt-get update
|
| 34 |
+
sudo apt-get install hostapd dnsmasq
|
| 35 |
```
|
| 36 |
|
| 37 |
This will update your system's package list and install the `hostapd` and `dnsmasq` packages.
|
|
|
|
| 125 |
This configuration file specifies the `ap0` interface, the SSID and password for the access point, and the encryption type to use. Make sure to replace `YOUR-SSID-HERE` and `YOUR-PASSWORD-HERE` with your own values. You now need to specify to hostapd which configuration file to do. Open the hostapd configuration file using `sudo nano /etc/default/hostapd`. Uncomment the DAEMON_CONF line and set it to the path of the configuration file you just created:
|
| 126 |
`DAEMON_CONF="/etc/hostapd/hostapd.conf"`.
|
| 127 |
|
| 128 |
+
Lastly, run `sudo systemctl unmask hostapd`.
|
| 129 |
+
|
| 130 |
### 4. Configure dnsmasq
|
| 131 |
|
| 132 |
Dnsmasq is the software that will provide DHCP and DNS services for the access point. Start by opening the dnsmasq configuration file with `sudo nano /etc/dnsmasq.conf`. Add the following content at the top of the file:
|