Commit Graph

629 Commits

Author SHA1 Message Date
zbchristian 3aa564cdec only lower case hex sequences in non-ASCII SSID 2021-09-02 09:37:34 +02:00
zbchristian 077a9cd675 Convert non ASCII ssid for display to utf8
Convert hex bytes to binary. Assumes utf8 encoding
2021-09-02 09:37:33 +02:00
zbchristian d478bf5362 Handle non-ASCII SSID
Non-ASCII SSID has to be stored in wpa_supplicant.conf identical to the string given by wpa_cli scan. This includes the escaped special chars (e.g. ö = \xc3\xb9 ), with a prescript "P".
To obtain a valid psk from wpa_passphrase, the UTF8 string is passed (ssid2utf8 replaces the \x bytes by their binary value) to the exec(). For this to work the shell locale has to be UTF8 (via putenv()). Otherwise the string is converted to the shell encoding.
2021-09-02 09:37:33 +02:00
zbchristian 5630258d9a Fix SSID name of wifi client 2021-09-01 18:37:36 +02:00
zbchristian 433434f4b7 Correct non-ASCII SSID read from wpa_supplicant 2021-09-01 18:37:36 +02:00
billz fa849e55de Merge with upstream master 2021-08-03 17:42:56 +01:00
Bill Zimmerman 9b72d7f3db
Merge pull request #969 from fareg/master
DHCP static leases w/ optional comment
2021-08-03 16:43:20 +02:00
billz 4e62413e11 Instantiate system class w/ namespace 2021-08-03 15:18:36 +01:00
Fabrice Colas 17597cd2cc DHCP static leases w/ optional comment
* Ability to add an optional Comment to DHCP  static Leases
    * Sort DHCP static leases by IP (more human readable)
2021-07-27 18:33:00 +02:00
billz 98533c3ee8 Update release version 2021-07-15 08:49:35 +01:00
Bill Zimmerman 78c4dff40b
Merge pull request #45 from RaspAP/feature/wg-extended
Extend WG functionality
2021-07-13 14:03:35 +02:00
billz 2ccce60189 Simplify template, update save actions 2021-07-08 11:22:17 +01:00
billz 8374d032b3 Update w/ common public_ip function 2021-07-07 23:25:23 +01:00
billz 84fcedc203 Added get_public_ip() 2021-07-07 23:24:49 +01:00
billz 225bff59b6 Upload wg config, set postup/down rules, move to destination 2021-07-07 23:01:47 +01:00
billz 8c3531e6d2 Work in progress: SaveWireGuardUpload() 2021-07-06 23:13:32 +01:00
billz 84d5584150 Move file upload validation class to functions 2021-07-06 23:10:10 +01:00
Bill Zimmerman 4d4fac2a8f
Merge pull request #43 from RaspAP/feature/zbchristian-clients-mods
Feature/zbchristian clients mods
2021-07-05 10:07:51 +02:00
billz 87352b8b42 Update w/ namespace, fix configauth for client.conf 2021-07-04 11:15:50 +01:00
billz 699f9ff397 Bugfix + remove debug output 2021-07-04 10:47:45 +01:00
billz b7a9c6254e Refactor w/ file upload class 2021-07-03 23:03:14 +01:00
billz 815e4639a1 Update release version 2021-06-15 16:03:45 +01:00
zbchristian 4c79f1f362
Insert determination of the default config 2021-06-12 16:21:20 +02:00
billz 5f7df3accb Update release version 2021-06-08 20:16:34 +01:00
billz 1647aa3c73 Refactor config handling w/ symbolic links 2021-06-06 20:50:20 +01:00
billz 234f22117f Remove file_move_config (deprecated) 2021-06-06 20:49:09 +01:00
billz 43e9a093c4 Add RASPI_OPENVPN_CLIENT_PATH 2021-06-06 20:47:30 +01:00
billz 06476b9a61 Merge with upstream master 2021-06-05 12:02:26 +01:00
billz 04fc73326b Update release version 2021-06-05 08:10:43 +01:00
glaszig 807a591504 remove unnecessary function calls 2021-06-01 03:02:04 +01:00
glaszig 9dc1f14ccb separate connected from known from nearby wifi stations in ui 2021-06-01 03:02:04 +01:00
billz a4d5cc1af6 Remove extended ASCII ISO Latin-1 printable chars from filter 2021-05-31 10:49:02 +01:00
glaszig fe3b8a108e properly exclude raspap station from found wifi stations 2021-05-30 21:58:38 +01:00
glaszig 92e154fa64 interpret hex sequences in ssid station names
resolves #917
2021-05-30 21:49:48 +01:00
Christian Zeitnitz 26a50993b9 Fix hilink login 2021-05-21 22:07:04 +02:00
Christian Zeitnitz b99752c4cd Implement login for Hilink devices 2021-05-21 14:57:14 +02:00
Bill Zimmerman fabc48c7da
Merge pull request #884 from RaspAP/feature/reinitialize-wpa
Feature: reinitialize wpa_supplicant
2021-05-10 11:13:04 +02:00
glaszig 45a50edc41 use special multibyte shell escaping to support unicode ssid names with qr code 2021-05-08 14:24:36 -03:00
billz 3969db61b0 Validate wpa_passphrase w/ ctype_print 2021-05-07 11:33:17 +01:00
billz 90aea4ca93 Set locale for utf-8 support, remove mb_escapeshellarg (deprecated) 2021-05-02 07:02:30 +01:00
billz 6bfb3a3c9d Add escapeshellarg() for iwgetid interface 2021-05-01 17:46:53 +01:00
billz e5024c4c19 Minor: fix labels + update en_US locale 2021-04-30 17:24:45 +01:00
billz 8873735d7f Add status msg, update shell cmds 2021-04-30 08:37:41 +01:00
Bill Zimmerman 3451efe132
Create reinitializeWPA() 2021-04-29 23:58:46 +02:00
Bill Zimmerman c8a9c05d3e
Add handler for wpa_reinit 2021-04-29 23:56:40 +02:00
zbchristian 422ce9dd3b
Fix unknown device type for mobile modems (ppp) 2021-04-23 18:04:11 +02:00
billz 6ac7642c33 Update release version 2021-04-23 12:45:28 +01:00
billz 6d3966dd8a Update release version 2021-04-22 08:28:07 +01:00
billz 643afe09e8 Set txpower w/ iw, persist value in UI 2021-04-20 17:53:09 +01:00
billz 6c674537bb WIP: txpower feature 2021-04-20 15:19:00 +01:00