From 44091bc5703b8ef1e997b35b2504415e1c575cc9 Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Sat, 3 May 2025 12:18:35 +0200 Subject: [PATCH] update readme --- Makefile | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index edb1b77..836e12f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ build: - env GOOS=linux GOARCH=arm64 go build -o pifi main.go + env GOOS=linux GOARCH=${ARCH} go build -o pifi main.go upload: scp pifi pi@rpi-40ac:/home/pi/pifi diff --git a/README.md b/README.md index 55d069d..004f7f9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PiFi -This is a simple tool to create and manage a hotspot on a Raspberry Pi (ARM64). +This is a simple tool to create and manage a hotspot with NetworkManager through DBUS. The code is based on https://github.com/NetworkManager/NetworkManager/blob/main/examples/python/dbus/wifi-hotspot.py, rewritten in Go and adds following features: - Environment variables or intput parameters for SSID and password @@ -9,7 +9,7 @@ The code is based on https://github.com/NetworkManager/NetworkManager/blob/main/ ## Build ```bash -make build +make build ARCH=arm64 ``` ## Usage