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 authored Jul 24, 2024
1 parent 3105100 commit f90ee64
Showing 1 changed file with 32 additions and 18 deletions.
50 changes: 32 additions & 18 deletions home/AP_Mode/Bridged_Wireless_Access_Point.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ add
unmanaged-devices=interface-name:wlan0
```

Save the file.

#### Determine name and state of the network interfaces.

```
Expand Down Expand Up @@ -337,14 +339,6 @@ DHCP=yes

-----

#### Disable Network Manager service.

```
sudo systemctl disable NetworkManager
```

-----

#### Enable the wireless access point service and set it to start when your Raspberry Pi boots.

```
Expand Down Expand Up @@ -605,55 +599,67 @@ Only change the lines shown.

If ConditionFileNotEmpty=/etc/hostapd/hostapd.conf line is present, comment it as shown below

```
#ConditionFileNotEmpty=/etc/hostapd/hostapd.conf

```

Add the Environment=DAEMON_OPTS= line as shown below (remember to change <your_home>)

```
Environment=DAEMON_OPTS="-d -K -f /home/<your_home>/hostapd.log"

```

Change RestartSec=0 line as shown below

RestartSec=2

```
RestartSec=3
```

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

```

Select one of the following options.

Dual band option:

Change the Environment=DAEMON_CONF= line as shown below

```
Environment=DAEMON_CONF="/etc/hostapd/hostapd-WiFi5.conf /etc/hostapd/hostapd-WiFi4.conf"

```

Single band option for WiFi5:

Change the Environment=DAEMON_CONF= line as shown below

```
Environment=DAEMON_CONF="/etc/hostapd/hostapd-WiFi5.conf"

```

Single band option for WiFi4:

Change the Environment=DAEMON_CONF= line as shown below

```
Environment=DAEMON_CONF="/etc/hostapd/hostapd-WiFi4.conf"
```

Save the file.

-----

Expand Down Expand Up @@ -771,7 +777,7 @@ Note: Remember to replace wlan0 with your interface name.

Option 2:

Disable NetworkManager.
Uninstall NetworkManager.

Note: For systems not running the Gnome desktop, purging Network Manager is the easiest solution.

Expand Down Expand Up @@ -817,6 +823,14 @@ sudo systemctl disable network-manager.service
sudo reboot
```

Option 3:

Disable Network Manager service.

```
sudo systemctl disable NetworkManager
```

-----

Disable MAC address randomization.
Expand Down

0 comments on commit f90ee64

Please sign in to comment.