Ichabod
Ichabod cf Headless Horseman is a headless Wifi configuration tool designed for Raspberry Pi or any linux distribution that usewpa_supplicant.
It aims to be easy to integrated inside an embedded Linux via Yocto, Buildroot or inside a Docker container.
Configuration sample
{
"dnsmasqCfg": {
"address": "/#/192.168.27.1",
"dhcpRange": "192.168.27.100,192.168.27.150,1h",
"vendorClass": "set:device,IoT"
},
"hostApdCfg": {
"ip": "192.168.27.1",
"ssid": "iot-wifi-cfg-3",
"wpaPassphrase": "iotwifipass",
"channel": "6"
},
"wpaSupplicantCfg": {
"cfgFile": "/etc/wpa_supplicant/wpa_supplicant.conf"
},
"bluetooth": {
"name": "Ichabod"
}
}
Development workflow
contributing
If you want to contribute, please use create an issue before anything else. Aslo use, semantic commit to easily keep track of code modifications.
on your dev machine
export PI_IP=192.168.1.75 # your raspberry IP
GOARCH=arm GOARM=5 GOOS=linux go build
scp -r $(pwd)/ichabod pi@$PI_IP:/home/pi/
on a Raspberry
sudo mv ichabod-linux-arm /usr/bin/ichabod && chmod +x /usr/bin/ichabod
sudo ichabod
Acknowledgement
The Wifi configuration part relies on the iot-wifi project. Thanks to Craig Johnston.
Commentaires
Enregistrer un commentaire