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

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

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"
```