Skip to content

Commit

Permalink
Update Bridged_Wireless_Access_Point.md
Browse files Browse the repository at this point in the history
  • Loading branch information
morrownr committed Apr 6, 2024
1 parent 1d64c1f commit cb708d6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions home/AP_Mode/Bridged_Wireless_Access_Point.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,15 @@ Note: If the interface names are not eth0, wlan0 and wlan1, then the interface n

-----

#### Install hostapd package. Website - hostapd
#### Install hostapd package.

```
sudo apt install hostapd
```

-----

#### Enable systemd-networkd service. Website - systemd-network.
#### Enable systemd-networkd service. Website - [SystemdNetworkd](https://wiki.debian.org/SystemdNetworkd)

Note: Right tools for the job. Network Manager will be disabled and systemd-networkd, systemd-resolved and hostapd will be enabled and configured in order to allow maximum performance.
```
Expand Down Expand Up @@ -625,11 +625,21 @@ Add the Environment=DAEMON_OPTS= line as shown below (remember to change <your_h
Environment=DAEMON_OPTS="-d -K -f /home/<your_home>/hostapd.log"


Change RestartSec=0 line as shown below

RestartSec=2


Comment the EnvironmentFile= line as shown below

#EnvironmentFile=-/etc/default/hostapd


Add the below line before the the ExecStart= line

ExecStartPre=/bin/sleep 6


Change the ExecStart= line as shown below

ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_OPTS $DAEMON_CONF
Expand Down

0 comments on commit cb708d6

Please sign in to comment.