[PATCH v3 0/2] Das neue WebUI

Tom Green koe_fue at gmx.de
Do Mär 3 20:35:26 CET 2016


Hi,

sehr schick das ganze.

ein paar nice to have formalia von meiner seite:
-> Evtl. oben rechts das Logo, Gziped auf dem Router
-> Farbwahl ggf: ... https://wiki.freifunk.net/Freifunk-Styles
-> Switch Belegung (Batman / Client / WAN) als direktes Feedback anzeigen

Was technisches, von dem ich nicht überzeugt bin, da zum Konfigurieren
Zugang zum Router gebraucht wird, der ohne DHCP vom GW nicht zur
Verfügung steht (obwohl es auch ohne geht):
https://wiki.freifunk-franken.de/w/FF-Router_%C3%BCber_bestehendes_WLAN_kabellos_anbinden#Option_2:_Direktes_Einbinden_des_Freifunk-Routers_in_das_Funknetz_der_Internetanbindung

Sprich:

-> Scannen aller Router auf Kanal 1 inkl. Signalstärke
-> Auswahl eines Routers auf Kanal 1
-> Eingabe des WLAN Passworts

-> Konfigurieren des Zugangs als cgi-bin:

# Set Wireless Config
uci add wireless wifi-iface
uci set wireless. at wifi-iface[2].ssid=<Wifi SSID>
uci set wireless. at wifi-iface[2].encryption=psk2 # Set wep, psk or psk2
for WEP, WPA or WPA2
uci set wireless. at wifi-iface[2].device=radio0
uci set wireless. at wifi-iface[2].mode=sta
uci set wireless. at wifi-iface[2].network=wwan
uci set wireless. at wifi-iface[2].ifname=wwan
uci set wireless. at wifi-iface[2].key=<Wifi Key>

uci set network.wwan=interface
uci set network.wwan.proto=dhcp

# Set Network Config
uci add firewall zone
uci set firewall. at zone[2].name=wwan
uci set firewall. at zone[2].input=REJECT

#Set Firewall Config
uci set firewall. at zone[1].network='wan wwan'

# Set Nodewatcher Config
uci set nodewatcher. at network[0].iface_blacklist='lo ifb0 wwan'


# write config files
uci commit

-> zusätzlich uci delete Löschfunktion von o.a. Konfig.

Gruß
green

On 03.03.2016 13:46, Dominik Heidler wrote:
> Einstellmöglichkeit für den network.mode (z.B. für Nanostation) hinzugefügt (ports.html)
> und mit der Switch config Seite zusammengeführt.
> Der Switch status wird nur dann angezeigt, wenn ein switch vorhanden ist.
> Selbes gilt für network.mode: Nur wenn die board spezifische network config network.mode sourced,
> wird die Einstellmöglichkeit angezeigt.
> Screenshot: http://i.imgur.com/Grl7aS5.png
>
> Dominik Heidler (2):
>   Remove the old WebUI
>   Add new WebUI
>
>  .../fff/fff-web/files/www/ssl/cgi-bin/footer       |  12 +
>  .../fff/fff-web/files/www/ssl/cgi-bin/header       |  44 +++
>  .../fff/fff-web/files/www/ssl/cgi-bin/helpers      |  22 ++
>  .../fff/fff-web/files/www/ssl/cgi-bin/home         |  71 ----
>  .../fff/fff-web/files/www/ssl/cgi-bin/home.html    |  88 +++++
>  .../fff/fff-web/files/www/ssl/cgi-bin/logout.html  |  19 +
>  .../fff/fff-web/files/www/ssl/cgi-bin/misc         |  33 --
>  .../fff/fff-web/files/www/ssl/cgi-bin/password     |  16 -
>  .../fff-web/files/www/ssl/cgi-bin/password.html    |  48 +++
>  .../fff/fff-web/files/www/ssl/cgi-bin/ports.html   |  97 +++++
>  .../fff/fff-web/files/www/ssl/cgi-bin/reboot.html  |  35 ++
>  .../fff/fff-web/files/www/ssl/cgi-bin/settings     |  16 -
>  .../fff-web/files/www/ssl/cgi-bin/settings.html    |  83 ++++
>  .../fff/fff-web/files/www/ssl/cgi-bin/upgrade      |  36 --
>  .../fff/fff-web/files/www/ssl/cgi-bin/upgrade.html |  77 ++++
>  .../fff-web/files/www/ssl/cgi-bin/wifiscan.html    |  52 +++
>  src/packages/fff/fff-web/files/www/ssl/home.html   |  54 ---
>  src/packages/fff/fff-web/files/www/ssl/home.js     |  46 ---
>  src/packages/fff/fff-web/files/www/ssl/index.html  | 127 +-----
>  src/packages/fff/fff-web/files/www/ssl/map.html    |   6 +-
>  .../fff/fff-web/files/www/ssl/password.html        |  28 --
>  src/packages/fff/fff-web/files/www/ssl/password.js |  24 --
>  .../fff/fff-web/files/www/ssl/port_down.png        | Bin 0 -> 982 bytes
>  src/packages/fff/fff-web/files/www/ssl/port_up.png | Bin 0 -> 1401 bytes
>  .../fff/fff-web/files/www/ssl/settings.html        |  26 --
>  src/packages/fff/fff-web/files/www/ssl/settings.js | 170 --------
>  src/packages/fff/fff-web/files/www/ssl/shared.js   | 432 ---------------------
>  src/packages/fff/fff-web/files/www/ssl/style.css   | 294 +++++++-------
>  .../fff/fff-web/files/www/ssl/upgrade.html         |  42 --
>  src/packages/fff/fff-web/files/www/ssl/upgrade.js  |  12 -
>  .../fff/fff-web/files/www/ssl/wifiscan.html        |  26 --
>  src/packages/fff/fff-web/files/www/ssl/wifiscan.js |  77 ----
>  32 files changed, 728 insertions(+), 1385 deletions(-)
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/footer
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/header
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/helpers
>  delete mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/home
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/home.html
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/logout.html
>  delete mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/misc
>  delete mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/password
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/password.html
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/ports.html
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/reboot.html
>  delete mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/settings
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/settings.html
>  delete mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/upgrade
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/upgrade.html
>  create mode 100755 src/packages/fff/fff-web/files/www/ssl/cgi-bin/wifiscan.html
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/home.html
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/home.js
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/password.html
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/password.js
>  create mode 100644 src/packages/fff/fff-web/files/www/ssl/port_down.png
>  create mode 100644 src/packages/fff/fff-web/files/www/ssl/port_up.png
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/settings.html
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/settings.js
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/shared.js
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/upgrade.html
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/upgrade.js
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/wifiscan.html
>  delete mode 100644 src/packages/fff/fff-web/files/www/ssl/wifiscan.js
>

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.freifunk.net/pipermail/franken-dev-freifunk.net/attachments/20160303/ab573c08/attachment-0002.html>


Mehr Informationen über die Mailingliste franken-dev