Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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