mirror of
https://github.com/0x1d/pifi.git
synced 2025-12-14 10:26:50 +01:00
update readme
This commit is contained in:
2
Makefile
2
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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user