Skip to content

Commit

Permalink
Change AP mode dhcp range to match Network manager
Browse files Browse the repository at this point in the history
When configuring an access point with Network Manager, it uses a dhcp
range of x.x.x.10-254, with no apparent way to change that. Prior to
this change, TeslaUSB would use a dhcp range of 100-150, but this
change changes that to 10-254, so that both methods of configuring an
access point use the same range.
  • Loading branch information
marcone committed Dec 11, 2024
1 parent 2bcfb9f commit a694eac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export WIFIPASS='your_pass'
# Also note that the wifi password must be at least 8 characters.
#export AP_PASS='password'
# IP address is optional. The AP will give its clients IP addresses in the
# x.x.x.100-150 range so make sure you don't put the AP's IP address in
# x.x.x.10-254 range so make sure you don't put the AP's IP address in
# that range.
#export AP_IP='192.168.66.1'

Expand Down
2 changes: 1 addition & 1 deletion setup/pi/configure-ap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ then
no-dhcp-interface=lo,wlan0
bind-interfaces
bogus-priv
dhcp-range=${NET}.100,${NET}.150,12h
dhcp-range=${NET}.10,${NET}.254,12h
# don't configure a default route, we're not a router
dhcp-option=3
EOF
Expand Down

0 comments on commit a694eac

Please sign in to comment.