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
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
Colin Kuebler
889c16c5e0
Merge pull request #396 from kueblc/flash-menu
...
Replace manual `curl` calls with a menu driven UI
2019-11-19 12:27:26 -05:00
Colin Kuebler
3de90a8664
Merge pull request #405 from R0Wi/master
...
Add backward compatibility for hostapd v2.5 and older (fix #398 )
2019-11-19 01:43:51 -05:00
R0Wi
b5837490ed
Improvements discussed in #404
2019-11-19 07:06:52 +01:00
Colin Kuebler
3cef06065f
Merge remote-tracking branch 'upstream/master' into development
2019-11-18 21:57:18 -05:00
R0Wi
9cfa0f467e
Add backward compatibility for hostapd v2.5 and older
2019-11-18 21:42:33 +01:00
Colin Kuebler
ecaada06da
Implement recommendations from shellcheck thanks to @pfeerick
2019-11-18 13:07:18 -05:00
Christian Clauss
8d679574b3
Use ==/!= to compare str, bytes, and int literals
...
Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. In Python >= 3.8, these instances will raise SyntaxWarnings so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8
2019-11-18 14:41:07 +01:00
Colin Kuebler
b74a708dad
Added check for blacklist file known to cause kernel panic in hostapd, fixes #373
2019-11-17 13:07:55 -05:00
Colin Kuebler
c96ad7229f
Always use the known PSK identity prefix to calculate the PSK
2019-11-17 12:55:53 -05:00
Colin Kuebler
f2499d24f4
Encode all str keys passed to Crypto #332
2019-11-15 10:13:13 -05:00