Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inverse-inc/packetfence-windows-agent
Windows application for WiFi and wired autoconfiguration with PacketFence.
https://github.com/inverse-inc/packetfence-windows-agent
Last synced: about 2 months ago
JSON representation
Windows application for WiFi and wired autoconfiguration with PacketFence.
- Host: GitHub
- URL: https://github.com/inverse-inc/packetfence-windows-agent
- Owner: inverse-inc
- Created: 2014-11-18T16:57:31.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-21T21:41:17.000Z (about 1 year ago)
- Last Synced: 2024-06-21T14:27:58.675Z (7 months ago)
- Language: Go
- Homepage:
- Size: 961 KB
- Stars: 9
- Watchers: 14
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PacketFence Windows Agent in Golang
Windows app for the auto-configuration of wired and wireless networks with PacketFence
## Getting Started
Follow the following instructions to get your PacketFence agent running.
### Set up
Compiled with Go Programming Language amd64 version 1.17
To set up your Go environment, see [Getting Started](http://golang.org/doc/install.html).Then set up your environment variables :
* Search "env" in Windows and click Enter
* Click on 'Environment Variables'
* In System Variables, select Path and click 'Edit'
* Click on 'New', and add `C:\\Go\\src`, `C:\\Go\\bin`, and the directory of the PacketFence Windows agent (usually `C:\Users\[UserName]\Go\bin`)===========
Files used :
parse.go, rsrc.syso===========
#### Create the manifest `packetfence-windows-agent.exe.manifest`
```xml
true
PacketFence Provisioner
```
Then compile the manifest using the [rsrc tool] (https://github.com/akavel/rsrc) :
```
go install github.com/akavel/rsrc@latest
rsrc -manifest packetfence-windows-agent.exe.manifest -o rsrc.syso
```##### Build app
In the directory containing `parse.go`, run :
go build
NOTE: To have the cmd window, you need to comment the `hideConsole()` line in parse.go, and then build normally
##### Cross compiling for 32-bit
First, set the following environment variable
GOARCH=386
Then, compile the application like you would normally do.##### Run app
To run the application, type :
packetfence-windows-agent.exe