Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
f11:technik:raspberrypi:hotspotdm3kb:raspbcoovai [2014/12/05 08:33] dm3kb |
f11:technik:raspberrypi:hotspotdm3kb:raspbcoovai [2019/09/29 12:03] (aktuell) |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | Install Coova-Chilly from the [[RASPBCOOVAC|.deb file (Coova Chilli Debian pakage)]] | + | Install Coova-Chilly from the deb file (Coova Chilli Debian pakage) |
| + | [[f11: | ||
| \\ | \\ | ||
| Use dpkg -i to install the package, after choosing default (keep current installed version) the error message is O.K. as coova-chilli is not \\ properly configured yet.\\ | Use dpkg -i to install the package, after choosing default (keep current installed version) the error message is O.K. as coova-chilli is not \\ properly configured yet.\\ | ||
| Zeile 24: | Zeile 25: | ||
| </ | </ | ||
| + | **Note:** The error above is accepeted as the configuration is not valid at this time, you can ignore the message\\ | ||
| - | Configure Coova-Chilli:\\ | + | ==Configure Coova-Chilli== |
| + | CoovaChilly needs some configuration in the file: / | ||
| < | < | ||
| root@raspberrypi:/ | root@raspberrypi:/ | ||
| Zeile 37: | Zeile 39: | ||
| </ | </ | ||
| - | Delete automatic generated main configuration file:\\ | + | ==Delete automatic generated main configuration file== |
| < | < | ||
| Zeile 43: | Zeile 45: | ||
| </ | </ | ||
| - | Edit Coova-Chilli main configuration file:\\ | + | ==Edit Coova-Chilli main configuration file== |
| < | < | ||
| Zeile 76: | Zeile 78: | ||
| HS_RADIUS2=localhost | HS_RADIUS2=localhost | ||
| HS_UAMALLOW=10.1.1.0/ | HS_UAMALLOW=10.1.1.0/ | ||
| - | HS_RADSECRET=RaspiRadi1234 | + | HS_RADSECRET=Raspi |
| HS_UAMSECRET=change-me123 | HS_UAMSECRET=change-me123 | ||
| HS_UAMALIASNAME=chilli | HS_UAMALIASNAME=chilli | ||
| - | HS_LOC_NAME=" | + | HS_LOC_NAME=" |
| </ | </ | ||
| - | Firewall Set-Up\\ | + | ==Firewall Set-Up== |
| \\ | \\ | ||
| CoovaChilli is preconfigured but needs adaption in file: / | CoovaChilli is preconfigured but needs adaption in file: / | ||
| Zeile 91: | Zeile 93: | ||
| </ | </ | ||
| - | Modify the End of the file to match the output below: | + | Modify the End of the file to match the output below:\\ |
| < | < | ||
| < | < | ||
| Zeile 110: | Zeile 112: | ||
| iptables -A INPUT -i $HS_WANIF -p tcp -s 192.168.6.0/ | iptables -A INPUT -i $HS_WANIF -p tcp -s 192.168.6.0/ | ||
| iptables -A OUTPUT -o $HS_WANIF -p tcp --sport 443 -m state ESTABLISHED -j ACCEPT | iptables -A OUTPUT -o $HS_WANIF -p tcp --sport 443 -m state ESTABLISHED -j ACCEPT | ||
| - | # Accept SSH only from loacl IP4 Network | + | # Accept SSH only from local IP4 Network |
| iptables -A INPUT -i $HS_WANIF -p tcp -s 192.168.6.0/ | iptables -A INPUT -i $HS_WANIF -p tcp -s 192.168.6.0/ | ||
| iptables -A OUTPUT -o $HS_WANIF -p tcp --sport 22 -m state ESTABLISHED -j ACCEPT | iptables -A OUTPUT -o $HS_WANIF -p tcp --sport 22 -m state ESTABLISHED -j ACCEPT | ||
| </ | </ | ||
| - | Note: Ensure that "**LOG --log-prefix=' | + | Note: Ensure that "**LOG --log-prefix=' |
| + | [[f11: | ||
| Haserl Set-Up\\ | Haserl Set-Up\\ | ||
