Skip to content

Commit

Permalink
WiFi Hotspot: Added IP address comments to dhcpd.conf examples (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanStS authored Sep 8, 2023
1 parent 4abd5ee commit 65dce4e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/software/advanced_networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The WiFi HotSpot package turns your device into a wireless hotspot/access point.

The requirements are:

- 1x Ethernet connection
- 1x Ethernet connection (LAN)
- 1x Supported USB WiFi adapter or onboard WiFi. This may vary depending on device and available WiFi drivers/modules. However, common adapters (e.g.: Atheros) should be fine.

=== "Initial connection credentials"
Expand Down Expand Up @@ -166,34 +166,37 @@ The WiFi HotSpot package turns your device into a wireless hotspot/access point.
}
```

1. AdGuard Home runs on the same system as the WiFi HotSpot runs. Then the "subnet" section contents has to be changed to
1. AdGuard Home runs on the same DietPi system as the WiFi HotSpot runs. Then the "subnet" section contents has to be changed to
```
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.250;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
option domain-name "local";
# AdGuard Home runs on the localhost (with IP address 192.168.42.1)
option domain-name-servers 192.168.42.1;
}
```

1. Pi-hole runs in the subnet the LAN connection belongs to. Depending on the LAN subnet (e.g. 192.168.178.0/24) the "subnet" section contents might be changed to
1. Pi-hole runs in the subnet the (superimposed) LAN connection belongs to. Depending on the LAN subnet (e.g. 192.168.178.0/24) the "subnet" section contents might be changed to
```
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.250;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
option domain-name "local";
# Pi-hole runs on the LAN (with IP address 192.168.178.2)
option domain-name-servers 192.168.178.2;
}
```

1. Pi-hole runs in the subnet the WiFi connection belongs to. Depending on the LAN subnet (e.g. 192.168.42.0/24) the "subnet" section contents might be changed to
1. Pi-hole runs in the subnet the WiFi connection belongs to. Depending on the WiFi HotSpot subnet (e.g. 192.168.42.0/24) the "subnet" section contents might be changed to
```
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.250;
option broadcast-address 192.168.42.255;
option routers 192.168.42.1;
# Pi-hole runs on the WiFi subnet (with IP address 192.168.42.250)
option domoption domain-name-servers 192.168.42.250;
}
```
Expand Down

0 comments on commit 65dce4e

Please sign in to comment.