1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

Merge branch 'master' into update-scripts-to-the-new-standard

This commit is contained in:
Alexandre Aubin 2019-03-14 03:11:49 +01:00 committed by GitHub
commit fcfe018a74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 12 deletions

View file

@ -1,16 +1,16 @@
# Wifi Hotspot [![Build Status](https://travis-ci.org/labriqueinternet/hotspot_ynh.svg?branch=master)](https://travis-ci.org/labriqueinternet/hotspot_ynh)
# Wi-Fi Hotspot [![Build Status](https://travis-ci.org/labriqueinternet/hotspot_ynh.svg?branch=master)](https://travis-ci.org/labriqueinternet/hotspot_ynh) [![Integration level](https://dash.yunohost.org/integration/hotspot.svg)](https://dash.yunohost.org/appci/app/hotspot)
[![Install LaBriqueInterNet Hotspot with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=hotspot)
This YunoHost app is a part of the "[La Brique Internet](http://labriqueinter.net)" project but can be used independently.
## Overview
Hotspot wifi app for [YunoHost](http://yunohost.org/).
Hotspot Wi-Fi app for [YunoHost](http://yunohost.org/).
* Broadcast your own Wifi internet access in addition to your self-hosted web services.
* Broadcast your own Wi-Fi internet access in addition to your self-hosted web services.
* Without internet access, it's a [PirateBox](https://en.wikipedia.org/wiki/PirateBox).
* With the [VPN Client app for YunoHost](https://github.com/labriqueinternet/vpnclient_ynh), it's an encrypted Wifi internet access (eventually with [neutral access](https://en.wikipedia.org/wiki/Net_neutrality), without filters, and with IPv6, depending on your VPN provider).
This YunoHost app is a part of the "[La Brique Internet](http://labriqueinter.net)" project but can be used independently.
* With the [VPN Client app for YunoHost](https://github.com/labriqueinternet/vpnclient_ynh), it's an encrypted Wi-Fi internet access (eventually with [neutral access](https://en.wikipedia.org/wiki/Net_neutrality), without filters, and with IPv6, depending on your VPN provider).
## Features
@ -20,11 +20,14 @@ This YunoHost app is a part of the "[La Brique Internet](http://labriqueinter.ne
* Announce DNS resolvers (IPv6 with RDNSS/DHCPv6 and IPv4 with DHCPv4)
* Automatic clients configuration (IPv6 with SLAAC/DHCPv6 and IPv4 with DHCPv4)
* Set an IPv6 from your delegated prefix (*prefix::42*) on the server, to use for the AAAA records
* Web interface ([screenshot](https://raw.githubusercontent.com/labriqueinternet/hotspot_ynh/master/screenshot.png))
## Screenshot
![Screenshot of the web interface](https://raw.githubusercontent.com/labriqueinternet/hotspot_ynh/master/screenshot.png)
## Friendly apps
Some other YunoHost apps have this Hotspot wifi app as prerequisite, in order to offer a service through a wifi access point.
Some other YunoHost apps have this Hotspot Wi-Fi app as prerequisite, in order to offer a service through a Wi-Fi access point.
With a multissid wireless card (most can do that), you can create multiple access points.
@ -44,7 +47,6 @@ In this manner, with this example, you can provide 3 access points at the same t
## Prerequisites
* Debian Jessie
* YunoHost >= 2.2.0
* Debian Stretch
* YunoHost >= 3.2.0
**[BUG REPORTS SHOULD BE OPEN HERE](https://dev.yunohost.org)**

View file

@ -7,7 +7,7 @@
"fr": "Hotspot Wifi"
},
"url": "https://github.com/labriqueinternet/hotspot_ynh",
"version": "1.1.0",
"version": "1.2.0",
"license": "AGPL-3.0",
"maintainer": {
"name": "Julien Vaubourg",

View file

@ -64,6 +64,18 @@ path_url=$(ynh_normalize_url_path $path_url)
# Register (book) web path
ynh_webpath_register $app $domain $path_url
# If we're on armbian, force $firmware_nonfree
# because armbian-firmware conflicts with the non-free packages ...
if dpkg --list | grep -q armbian-firmware; then
echo "You are running Armbian and non-free firmware are known to conflict with armbian-firwmare. " >&2
firmware_nonfree="no"
echo "Variable firmware_non_free has been forced to 'no'" >&2
fi
#=================================================
# STORE SETTINGS FROM MANIFEST
#=================================================
# Check arguments
if [[ -z $wifi_ssid || -z $wifi_passphrase ]]; then
ynh_die "Your Wifi Hotspot needs a name and a password"