Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howtos:hardware:arm:raspberrypi3_wap [2018/08/26 21:43 (UTC)] bifferos [Hostapd Install] |
howtos:hardware:arm:raspberrypi3_wap [2018/08/28 20:02 (UTC)] bifferos [Hostapd Install] |
||
---|---|---|---|
Line 8: | Line 8: | ||
* A Raspberry Pi 3 running Slackware 14.2 | * A Raspberry Pi 3 running Slackware 14.2 | ||
- | * A powered USB hub with 2A Power supply (to ensure the Wifi Dongle | + | * A powered USB hub with 2A Power supply (to ensure the Wifi adapter |
* Alfa Network AWUS036NHA - USB WiFi Adapter with chipset ar9271l | * Alfa Network AWUS036NHA - USB WiFi Adapter with chipset ar9271l | ||
* Ethernet cable | * Ethernet cable | ||
Line 44: | Line 44: | ||
===== Adapter detection ===== | ===== Adapter detection ===== | ||
+ | |||
+ | < | ||
+ | I advise to not connect and disconnect the hub from the Pi while it's running. | ||
+ | </ | ||
Ensure that iwconfig shows two adapters wlan0 and wlan1. | Ensure that iwconfig shows two adapters wlan0 and wlan1. | ||
Line 127: | Line 131: | ||
< | < | ||
+ | ===== QR Codes ===== | ||
+ | |||
+ | No home WiFi network setup is complete without a QR code that you can wave at all your mates when they are round your house wanting to connect. | ||
+ | |||
+ | Type the following to create a PNG file with the code, which you can print, copy to your mobile, put on a local webpage or whatever. | ||
+ | |||
+ | < | ||
+ | |||
+ | The above assumes WPA2, MYSSID should be replaced with your SSID, MYPASSWD replaced with your password. | ||
+ | |||
+ | At a pinch, the following bash script should pull your SSID and passphrase out of the hostapd.conf file, and automatically use them to create a new QR code, so you can quickly keep it up to date after any changes. | ||
+ | |||
+ | < | ||
+ | |||
+ | SSID=$(cat / | ||
+ | PASS=$(cat / | ||
+ | |||
+ | qrencode -t PNG -o hostapd.png " | ||
+ | |||
+ | |||
===== Conclusion ===== | ===== Conclusion ===== | ||