Skip to content

Commit 7efc0fd

Browse files
committed
don't rotate mac on h
1 parent 9b9e31b commit 7efc0fd

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
Provision a fresh Ubuntu install as a Hub, Spoke, or hybrid of both!
1414

15-
You can run WireGuard with Docker or on the host. If you run it with Docker (available for armv7+ and amd64), you'll also get Unbound and Pi-hole v5, which will come with [pihole-speedtest](https://github.com/arevindh/pihole-speedtest) and [pihole-updatelists](https://github.com/jacklul/pihole-updatelists). In either case, Kodi will be installed with the Jellyfin add-on source, for your convenience. You can also choose between Netplan and hostapd for your access point needs.
15+
You can run WireGuard with Docker or on the host. If you run it with Docker (beta, available for armv7+ and amd64), you'll also get Unbound and Pi-hole v5, which will come with [pihole-speedtest](https://github.com/arevindh/pihole-speedtest) and [pihole-updatelists](https://github.com/jacklul/pihole-updatelists). In either case, Kodi will be installed with the Jellyfin add-on source, for your convenience. You can also choose between Netplan and hostapd for your access point needs.
1616

1717
## Getting Started
1818

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Homepage: https://github.com/ipitio/closure
44
Standards-Version: 3.9.2
55

66
Package: closure
7-
Version: 1.6.15
7+
Version: 1.6.16
88
Maintainer: ipitio <[email protected]>
99
Depends: curl, flatpak, gpg, hostapd, isc-dhcp-server, iw, macchanger, netplan.io, network-manager, net-tools, qrencode, rfkill, wireguard, wireless-tools, wget
1010
Recommends: containerd.io, docker-ce, docker-ce-cli, docker-buildx-plugin, docker-compose-plugin

start.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ if ! ${CLS_WG_ONLY:-false}; then
6161
stop_hostapd
6262
sudo sed -i '/# subnets for hostapd/q' dhcp/dhcpd.conf
6363
grep -q "subnets for hostapd" dhcp/dhcpd.conf || echo -e "# subnets for hostapd are generated automatically" | sudo tee -a dhcp/dhcpd.conf >/dev/null
64-
ifconfig | grep -oP '^\S+(?=:)' | while read -r iface; do sudo ifconfig "$iface" down; sudo macchanger -r "$iface"; sudo ifconfig "$iface" up; done &>/dev/null
64+
ifconfig | grep -oP '^\S+(?=:)' | while read -r iface; do
65+
sudo ifconfig "$iface" down
66+
[[ "$CLS_TYPE_NODE" =~ (spoke|saah) ]] && sudo macchanger -r "$iface" || sudo macchanger -p "$iface"
67+
sudo ifconfig "$iface" up
68+
done &>/dev/null
6569
sudo netplan apply
6670
eval "start_hostapd ${*@Q}" &
6771
fi

0 commit comments

Comments
 (0)