mirror of
https://github.com/0x1d/pifi.git
synced 2025-12-14 18:35:21 +01:00
update readme
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
|||||||
build:
|
build:
|
||||||
env GOOS=linux GOARCH=arm64 go build -o pifi main.go
|
env GOOS=linux GOARCH=${ARCH} go build -o pifi main.go
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
scp pifi pi@rpi-40ac:/home/pi/pifi
|
scp pifi pi@rpi-40ac:/home/pi/pifi
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# PiFi
|
# 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:
|
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
|
- 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
|
## Build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make build
|
make build ARCH=arm64
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
Reference in New Issue
Block a user