https://github.com/bakerface/pifi
Wireless daemon for the Raspberry Pi
https://github.com/bakerface/pifi
Last synced: 8 months ago
JSON representation
Wireless daemon for the Raspberry Pi
- Host: GitHub
- URL: https://github.com/bakerface/pifi
- Owner: bakerface
- License: mit
- Created: 2014-12-13T21:43:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-30T18:25:59.000Z (over 11 years ago)
- Last Synced: 2025-06-18T03:09:44.032Z (11 months ago)
- Language: Shell
- Size: 1.38 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pi-Fi
**Wireless daemon for the Raspberry Pi**
#### Installation
Add the following to crontab to start the daemon at reboot.
``` bash
$ crontab -e
@reboot pifi wlan0 -d /usr/sbin &
```
#### Print the state of the wireless interface
``` bash
$ pifi wlan0 -s
Idle
# Idle
# AccessPoint
# AccessPoint_Hosting
# WiFi
# WiFi_Connecting
# WiFi_Reconnecting
# WiFi_Connected
```
#### List the wireless networks
``` bash
$ pifi wlan0 -l
Network 1,Network 2,Network 3
# Network names are stored as comma-separated values
```
#### Disable the wireless interface
``` bash
$ pifi wlan0 -i
```
#### Host an access point
``` bash
$ pifi wlan0 -a "SSID" "passphrase"
```
#### Join a wireless access point
``` bash
$ pifi wlan0 -w "SSID" "passphrase"
```