Colin Kuebler
7c0a2e1871
Merge pull request #1103 from sonny-chen/mosquitto-conf-fix
...
fix: mosquitto only listens on localhost when started without a conf file
2023-11-06 16:40:21 -05:00
Colin Kuebler
17e5021488
Merge pull request #890 from C0rn3j/master
...
Arch Linux support for install_prereq.sh
2023-11-06 16:32:17 -05:00
Sonny
77af648589
fix: mosquitto only listens on localhost when started without a conf file
...
Signed-off-by: Sonny
2023-09-20 10:22:34 +08:00
Colin Kuebler
b361927102
Merge pull request #1024 from agios/hotfix
...
Fix TypeError
2022-09-13 16:45:30 -04:00
Colin Kuebler
dc451e27e5
Merge pull request #1063 from lynxis/master
...
oui: add CC8CBF (Tuya Smart Inc.) to nonesp
2022-09-13 16:43:43 -04:00
Alexander Couzens
1f909de890
oui: add CC8CBF (Tuya Smart Inc.) to nonesp
...
Found on NOUS Smart Socket A1 (MFG 01/2022).
New versions of the A1 are using a BK7231N instead of an esp8266.
2022-09-09 03:39:47 +02:00
Martin Rys
253a525ee6
Fix stop/restart of NetworkManager by switching to systemctl
2022-08-01 13:15:44 +02:00
Alexandros Giouzenis
8f29f72b55
Fix TypeError
2022-01-13 08:53:06 +02:00
Colin Kuebler
c89bba280e
Merge pull request #988 from sarumpaet/development
...
fix detecting used ports in Docker
2021-11-17 11:53:34 -05:00
Colin Kuebler
cbdccb772a
Merge pull request #943 from NickVeld/old_screen_logging
...
screen<=4.5 generates smarthack-*.log now too
2021-11-13 15:06:21 -05:00
WereCatf
03e9da38df
Try alternate NetworkManager-naming
...
'service network-manager' may fail on newer Linux-distros
due to the service actually being called 'NetworkManager'
now. This patch tries both and warns the user, if it still
fails.
2021-10-10 12:41:13 +03:00
sarumpaet
f905ca8716
fix detecting used ports in Docker
...
Processes blocking ports that run on the host are not visible
within a Docker container. This was misdetected as the port being
available. Print an error and abort instead.
2021-09-23 14:53:59 +02:00
NickVeld
458faf3d55
screen<=4.5 generates smarthack-*.log now too
2021-04-26 03:03:15 -04:00
Colin Kuebler
1cc2bdc216
Attempt to automatically diagnose common issues
2021-01-26 17:08:18 -05:00
Anton Avramov
6781b42d05
Fix dnsmasq tries to listen on localhost by default
2020-11-19 12:14:51 -05:00
Colin Kuebler
083dc2d58f
Ensure wifi is not blocked by rfkill
2020-05-22 17:09:52 -04:00
Colin Kuebler
14b930ddca
Remove -H option from ss call, not available in older ss. Fixes #622
2020-05-21 23:21:46 -04:00
Colin Kuebler
7752f941b6
Follow links, closes #631
2020-05-21 13:08:21 -04:00
Colin Kuebler
d031030b74
Check that ufw exists before checking if it is running
2020-02-29 00:30:48 -05:00
Colin Kuebler
5227957197
Attempt to stop firewalls, fix #518
2020-01-29 11:59:33 -05:00
Colin Kuebler
b34909021b
Detect unsupported devices via discovery packet
2020-01-24 18:47:54 -05:00
Colin Kuebler
77f3d257f7
Track already discovered devices to cut down on log noise
2020-01-24 18:47:31 -05:00
Colin Kuebler
417a0fc8b9
Catch misc exceptions in psk-frontend gracefully
2020-01-24 18:44:57 -05:00
Colin Kuebler
ce709f56ba
Fix encoding issues
2020-01-24 18:44:16 -05:00
Colin Kuebler
b9d4cdc6a8
Revert #496 fixes #500
2020-01-13 13:53:51 -05:00
jjtParadox
de35e12fa7
Fix byte encoded string bug in psk-frontend
2020-01-10 15:25:08 -06:00
Colin Kuebler
9fc1eae071
Check that AP is supported by grepping under "Supported interface modes" only, fixes #476
2020-01-06 11:45:37 -05:00
Colin Kuebler
795e002ecb
Add hidden skip option when checking occupied ports
2020-01-06 11:43:36 -05:00
Colin Kuebler
87c8c2f7ba
Merge branch 'development' into py3
2020-01-02 16:31:18 -05:00
Colin Kuebler
f8662cd171
Merge branch 'cryptodome' into py3
2020-01-02 16:30:30 -05:00
Colin Kuebler
a9abd469ea
Update references to Crypto with Cryptodome in discovery and smartconfig components
2020-01-02 16:29:28 -05:00
Colin Kuebler
1a699601f5
Fix str <> bytes changes
2020-01-01 18:45:36 -05:00
Colin Kuebler
932d896447
Add python3 version check
2020-01-01 15:35:08 -05:00
Colin Kuebler
8010489268
Merge branch 'development' into py3
2020-01-01 15:18:11 -05:00
Colin Kuebler
9e16171dc5
Add version information to wifi log for debugging
2020-01-01 15:16:35 -05:00
Colin Kuebler
b716dd152c
Check SSLError to see if it's important or not
2020-01-01 15:15:35 -05:00
Colin Kuebler
c5f79c2524
Merge branch 'development' into py3
2020-01-01 12:58:04 -05:00
Colin Kuebler
5298a9c1c8
Revert identity prefix correction
2020-01-01 12:57:01 -05:00
Colin Kuebler
8ba6e5ebd0
Merge branch 'cryptodome' into py3
2019-12-31 20:26:25 -05:00
Colin Kuebler
26da111171
Update psk-frontend to use python3
2019-12-31 19:02:03 -05:00
Colin Kuebler
769acc617f
Replaced pycrypto with pycryptodomex
2019-12-31 18:55:10 -05:00
Marcel Martin
b30aece034
Print a warning if running over SSH
...
Close #426
2019-12-27 22:02:36 +01:00
Colin Kuebler
70448fec6c
Fix accidental file mode change
2019-11-24 15:34:32 -05:00
Colin Kuebler
46cb505bfc
Change spaces used for indentation into tabs
2019-11-23 17:45:50 -05:00
Colin Kuebler
b5cfc5e6e1
Only show first 9 options, those that are accessible with a single keypress
...
This way a user does not accidentally install option 1 when intending >= 10
2019-11-22 12:54:14 -05:00
Colin Kuebler
060240794e
Change return to exit since this is no longer a function
2019-11-22 12:42:04 -05:00
Colin Kuebler
15b043a325
Merge pull request #401 from kueblc/fix-hostapd-panic
...
Added check for blacklist file known to cause kernel panic in hostapd
2019-11-19 12:33:20 -05:00
Colin Kuebler
d4171a16a9
Add link back to original discussion on hostapd kernel panic
2019-11-19 12:32:16 -05:00
Colin Kuebler
ee88ae0fa3
Merge pull request #400 from kueblc/fix-identity-prefix
...
Always use the known PSK identity prefix to calculate the PSK
2019-11-19 12:30:19 -05:00
Colin Kuebler
09f20a3230
Print prefix if it does not match for debugging purposes
2019-11-19 12:28:55 -05:00