The Web UI of the Ziggo ConnectBox router doesn't accept unicode character as a SSID but it check it with javascript/client side. So here is a python script to change the SSID and use unicode/emoji in your wireless SSID.
pip install requests
| #!/bin/bash | |
| # Let you assign a floating IP to this server. | |
| # Useful for Keepalived | |
| # | |
| # Require curl & jq | |
| API_TOKEN="" | |
| FLOATING_IP_ID="" | |
| SERVER_ID="" |
| from flask import Flask, redirect, url_for, session | |
| from flask import request, jsonify | |
| from flask_oauthlib.client import OAuth | |
| APP = Flask(__name__) | |
| APP.debug = True | |
| APP.secret_key = 'development' | |
| types { include "/usr/share/misc/mime.types" } | |
| server "webmail.exemple.com" { | |
| listen on egress port 80 | |
| listen on egress tls port 443 | |
| tls certificate "/etc/ssl/webmail.exemple.com.crt" | |
| tls key "/etc/ssl/private/webmail.exemple.com.key" | |
| location "/data*" { block } |
| #include <ESP8266WiFi.h> | |
| #include <Wire.h> | |
| #include <PubSubClient.h> | |
| #include <Adafruit_HDC1000.h> | |
| #define wifi_ssid "" | |
| #define wifi_password "" | |
| #define mqtt_server "" | |
| #define mqtt_user "" |
| #!/bin/sh | |
| # $FreeBSD$ | |
| # | |
| # PROVIDE: hass | |
| # REQUIRE: LOGIN | |
| # KEYWORD: shutdown | |
| # | |
| # Add these lines to /etc/rc.conf.local or /etc/rc.conf | |
| # to enable this service: |
I hereby claim:
To claim this, I am signing this object:
| {% from "opensmtpd/map.jinja" import opensmtpd with context %} | |
| opensmtpd: | |
| pkg: | |
| - installed | |
| - pkgs: {{ opensmtpd.pkgs|json }} | |
| service: | |
| - running | |
| - name: {{ opensmtpd.service }} | |
| - require: |
| # Ubuntu 12.04 | |
| # http://bogoflop.com/debian_install_opensmtpd.html | |
| # | |
| # /usr/local/etc/smtpd.conf | |
| listen on all hostname mx2.exemple.com | |
| table exemple { exemple.com, name.me } | |
| accept for local deliver to mbox |