mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-10 01:55:38 +00:00
FRITZBOX: GuestWlan will only be set if guest password is already set
git-svn-id: https://svn.fhem.de/fhem/trunk@7490 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7c22a7bea7
commit
82a3dadd56
@ -1102,7 +1102,11 @@ sub FRITZBOX_GuestWlan_Run($)
|
||||
if $result;
|
||||
|
||||
my $returnStr = "$name|2|";
|
||||
|
||||
|
||||
$result = FRITZBOX_Exec $hash, "[ -n `ctlmgr_ctl r wlan settings/guest_pskvalue` ] && echo 1 || echo 0";
|
||||
return "$name|0|Error: No password defined for guest WLAN."
|
||||
unless $result;
|
||||
|
||||
# Set WLAN on if guestWLAN on
|
||||
push @readoutCmdArray, [ "", "ctlmgr_ctl w wlan settings/wlan_enable 1"]
|
||||
if $state == 1;
|
||||
@ -2210,7 +2214,7 @@ sub FRITZBOX_fritztris($)
|
||||
|
||||
<li><code>set <name> guestWLAN <on|off></code>
|
||||
<br>
|
||||
Switches the guest WLAN on or off. If necessary, the normal WLAN is also switched on.
|
||||
Switches the guest WLAN on or off. The guest password must be set. If necessary, the normal WLAN is also switched on.
|
||||
</li><br>
|
||||
|
||||
<li><code>set <name> moh <default|sound|customer> [<MP3FileIncludingPath|say:Text>]</code>
|
||||
@ -2467,7 +2471,7 @@ sub FRITZBOX_fritztris($)
|
||||
|
||||
<li><code>set <name> guestWLAN <on|off></code>
|
||||
<br>
|
||||
Schaltet das Gäste-WLAN an oder aus. Wenn notwendig wird auch das normale WLAN angeschaltet.
|
||||
Schaltet das Gäste-WLAN an oder aus. Das Gäste-Passwort muss gesetzt sein. Wenn notwendig wird auch das normale WLAN angeschaltet.
|
||||
</li><br>
|
||||
|
||||
<li><code>set <name> moh <default|sound|customer> [<MP3DateiInklusivePfad|say:Text>]</code>
|
||||
@ -2568,6 +2572,7 @@ sub FRITZBOX_fritztris($)
|
||||
<br>
|
||||
IP Adresse oder ULR der Fritz!Box für Fernzugriff per Telnet. Standard ist "fritz.box".
|
||||
</li><br>
|
||||
|
||||
<li><code>pwdFile <fileName></code>
|
||||
<br>
|
||||
Damit kann die Datei geündert werden, welche das Passwort für den Telnetzugang enthält. Der Standard ist 'fb_pwd.txt' im Wurzelverzeichnis von FHEM.
|
||||
|
Loading…
x
Reference in New Issue
Block a user