From 4f02716575cf804b3888937ff132a7ef238e4f4c Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Fri, 25 May 2018 17:35:11 +0200 Subject: [PATCH] changed wlan access --- install-files/etc/hostapd/hostapd.conf | 15 ++++++++++++--- install-files/etc/ppp/peers/rnet | 4 ++-- web-root/index.tpl | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/install-files/etc/hostapd/hostapd.conf b/install-files/etc/hostapd/hostapd.conf index ae8c544..98d0a17 100644 --- a/install-files/etc/hostapd/hostapd.conf +++ b/install-files/etc/hostapd/hostapd.conf @@ -11,7 +11,7 @@ ssid=beielipi # First up, the SSID or Network name. This is what other devices will see when they try to connect. hw_mode=g # I'm setting this to Wireless G mode. A, B, and G are available here. -channel=1 +channel=7 # This is setting the channel that the WiFi is on, valid channels are from 1-11, or 1-14 depending on location. # Wifi Security Settings @@ -20,6 +20,10 @@ channel=1 # The line above sets the wpa passphrase to "raspiwlan", this is obtained via the wpa_passphrase command. # However, you can also set a passphrase like the line below. #wpa_passphrase=raspiwlan +wpa=2 +wpa_key_mgmt=WPA-PSK +wpa_pairwise=CCMP +wpa_passphrase=beielipi #wpa_key_mgmt=WPA-PSK #wpa_pairwise=CCMP @@ -30,5 +34,10 @@ channel=1 # Other settings beacon_int=100 # This sets how often the WiFi will send a beacon out. -auth_algs=3 -wmm_enabled=1 +auth_algs=1 +wmm_enabled=0 + +# see https://raspberrypi.stackexchange.com/questions/11713/rtl8188cus-extremely-slow +#wme_enabled=1 +#ieee80211n=1 +#ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40] diff --git a/install-files/etc/ppp/peers/rnet b/install-files/etc/ppp/peers/rnet index 3699477..a99224c 100644 --- a/install-files/etc/ppp/peers/rnet +++ b/install-files/etc/ppp/peers/rnet @@ -1,6 +1,6 @@ #imis/internet is the apn for idea connection -#connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs -T gprs.swisscom.ch" -connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs -T internet" +connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs -T gprs.swisscom.ch" +#connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs -T internet" # For Raspberry Pi3 use /dev/ttyS0 as the communication port: /dev/ttyUSB0 diff --git a/web-root/index.tpl b/web-root/index.tpl index beef990..6432c1e 100644 --- a/web-root/index.tpl +++ b/web-root/index.tpl @@ -24,7 +24,7 @@

BeieliPi Zugang via WLAN-Hotspot

-

Zugang zu dieser Seite: Verbinden (WLAN) mit SSID beielipi (kein Passwort), dann Aufruf von http://beielipi.local

+

Zugang zu dieser Seite: Verbinden (WLAN) mit SSID beielipi (Passwort: beielipi), dann Aufruf von http://beielipi.local

Hotspot aktivieren per SMS an {{ beielipi_mobile_number }}, Text: "hotspot on" (zum Deaktivieren: "hotspot off")