Commit Graph

534 Commits

Author SHA1 Message Date
Joan Bruguera Micó
075e8c0559 Fix freq. units in "interface already connected" text. 2023-12-23 22:01:30 +00:00
Joan Bruguera Micó
9c0be26f1a Update ieee80211_frequency_to_channel from iw
Make sure the definition of `ieee80211_frequency_to_channel` matches
with the latest changes from iw. Probably not very useful since all
changes seem related to 6GHz / 60GHz / 802.11ah support, which as far
as I can tell create_ap does not yet support.

See also: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=43789196906376cc108ed06b4a3175d767586cd3
          https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=b12fc8a84480d25ea791f0dff8cb92d69098c91c
          https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=f2d9f5b52677f5414dc194be94b5916d2b080eab
2023-12-23 21:57:33 +00:00
Joan Bruguera Micó
50cf12cbb5 Update frequency parsing for iw 6.7 compatibility
Since iw 6.7, which adds 802.11ah support, iw may print fractional
frequencies (e.g. 917.4 MHz). The change in the formatting code can
also affect frequencies in the 2.4 and 5 GHz bands, so a frequency
that used to be shown as "2412 MHz" may now be shown as "2412.0 MHz".

This breaks the parsing logic in `can_transmit_to_channel`,
`ieee80211_frequency_to_channel` and `is_5ghz_frequency`.
The problem in `can_transmit_to_channel` causes an error when creating
an AP, due the frequency not being detected as supported ("ERROR:
Your adapter can not transmit to channel 1, frequency band 2.4GHz.").

Fix this by changing the parsing logic to accept a trailing ".0"
(or even ".00", etc.) suffix for the existing 2.4 and 5 GHz bands.

See also: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=f2d9f5b52677f5414dc194be94b5916d2b080eab
          https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=e2224c729840cc33c6ea89ba5e91b69f79c88e85
          https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit/?id=1bc6ab0abbb6f26f35d826d166d06bc28ae47b6b
2023-12-23 21:54:49 +00:00
Lakindu Akash
805d157851
Merge pull request #342 from oddlama/master
[SECURITY] remove insecure TKIP from configurations
2023-11-12 02:26:42 +05:30
Lakindu Akash
59564a79ff
Merge pull request #320 from simonbru/fix-nm-cleanup
Fix clean-up of unmanaged devices in NetworkManager.conf
2023-11-12 02:25:36 +05:30
Lakindu Akash
0e3ff4df04
Merge pull request #318 from ryuuzaki42/update_version_year
Update version and year
2023-11-12 02:23:29 +05:30
Lakindu Akash
9ea348593f
Update README.md 2023-11-12 02:21:29 +05:30
oddlama
32fdb2bf2d
fix: remove insecure and deprecated TKIP 2023-08-25 16:59:03 +02:00
Lakindu Akash
6289739dd1
Merge pull request #339 from lakinduakash/lakinduakash-patch-2
Add note for ubuntu repo
2023-08-24 02:36:33 +05:30
Lakindu Akash
0c2a880b57
Add note for ubuntu repo 2023-08-24 02:35:26 +05:30
Simon Brulhart
697b796c58 Fix clean-up of unmanaged devices 2023-05-28 15:17:39 +02:00
João Batista
3f16dfb522 Update version and year 2023-05-23 19:45:24 -03:00
Lakindu Akash
4d64e83abe
Update README.md 2023-05-17 14:55:23 +05:30
Lakindu Akash
b6caffdd34
Merge pull request #291 from ShrirajHegde/master
Add VPN Hotspot in features and instructions
2023-05-17 14:45:05 +05:30
Lakindu Akash
92a051dee3
Update README.md 2023-05-17 14:44:22 +05:30
Lakindu Akash
6a236acaf5
Merge pull request #314 from TiPEX360/arch-opensuse-create_ap-fix
Use 'aa-complain' instead of 'complain' to remove dnsmasq restriction
2023-05-17 14:39:21 +05:30
Lakindu Akash
7b61d13ec9
Update create_ap 2023-05-15 23:36:58 +05:30
tipex360
35e8df0564 Check for complain as well al aa-complain 2023-05-15 05:57:49 +01:00
tipex360
89c5988e37 Use 'aa-complain' instead of 'complain' to remove dnsmasq restriction 2023-05-10 05:06:48 +01:00
Lakindu Akash
aabe18aa57
Merge pull request #292 from kevinhikaruevans/master
Use -g instead of --gateway
2023-02-05 19:16:03 +05:30
Kevin Evans
0c935c6d07
Use -g instead of --gateway 2023-01-31 13:24:55 -08:00
Shriraj Hegde
afa5466390
Add VPN screenshot to docs 2023-01-31 12:10:25 +05:30
Shriraj Hegde
44d8da5f17
Merge pull request #1 from ShrirajHegde/patch-1
Add instructions to create a tunnelled hotspot
2023-01-31 12:07:50 +05:30
Shriraj Hegde
45d27aaea1
Add screenshot for VPN 2023-01-31 12:07:01 +05:30
Shriraj Hegde
f8f9742948
Add instructions to create a tunnelled hotspot
Add instructions to create a tunnelled hotspot - which might be a great feature people look for.
2023-01-31 11:58:35 +05:30
Lakindu Akash
dd3c72ef4a
Update README.md 2022-09-27 12:53:08 +05:30
Lakindu Akash
f2a1d456ef
Merge pull request #265 from NHellFire/packaging/fix-config-path
Fix config file path in Debian packaging
2022-08-25 22:26:57 +05:30
Lakindu Akash
08305fb67a
Merge pull request #266 from sigmaSd/patch-2
Add 'ADDN_HOSTS' to config opts
2022-08-25 22:24:57 +05:30
sigmaSd
2897e228db
Add 'ADDN_HOSTS' to config opts 2022-08-25 08:44:21 +01:00
NHellFire
3c6e0e1b55 Fix config file path in Debian packaging
Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
2022-08-23 16:10:12 +01:00
Lakindu Akash
177c36c9e0
Merge pull request #248 from Maryll-castelino/master
Changed the text on The GUI to GHz from MHz
2022-04-30 12:10:58 +05:30
Maryll Castelino
b9602884d4 Changed the text on The GUI to GHz from MHz
The text "Custom frequency band set with ${FREQ_BAND}Mhz with channel ${CHANNEL}" is changed to "${FREQ_BAND}GHz"
2022-04-30 10:24:08 +05:30
Lakindu Akash
fa1e4a0ac3
Merge pull request #242 from Luciogi/readme-1
Improvements in README
2022-04-07 00:03:33 +05:30
Luciogi
caafc53eda
Update README.md 2022-04-06 20:05:10 +05:00
Luciogi
3853ca1bec
Add hyperlink in README 2022-04-06 19:50:20 +05:00
Lakindu Akash
e5484528c2
Update README.md 2022-03-29 09:17:08 +05:30
Lakindu Akash
b4423273b3
Merge pull request #238 from Zacktamondo/patch-1
Fixed typo.
2022-03-24 22:53:00 +05:30
Zacktamondo
7a46dfc18c
Fixed typo. 2022-03-24 19:15:33 +02:00
Lakindu Akash
6afde1771c
Merge pull request #237 from cnjhb/master
Fix FREQ_BAND for config files
2022-03-19 23:13:09 +05:30
cnjhb
f1d568dd3c Fix FREQ_BAND for config files 2022-03-19 09:15:50 +08:00
Lakindu Akash
04dae50833
Merge pull request #226 from kaovilai/master
Add RH source dependencies
2022-02-04 14:21:42 +05:30
Tiger Kaovilai
1eb3f7bb0c
Update README.md 2022-02-04 02:24:47 -05:00
Tiger Kaovilai
2b2eb79af5
Add RH source dependencies 2022-02-04 02:22:31 -05:00
Lakindu Akash
99d12126e3
Update README.md 2021-12-27 03:02:38 +05:30
Lakindu Akash
0b4960dee7
Merge pull request #221 from lakinduakash/dev
Able to customize gateway
Add tests
2021-12-27 02:57:38 +05:30
Lakindu Akash
3b163bc934
Fix test Make 2021-12-27 02:55:16 +05:30
Lakindu Akash
3f2379eedd
Merge branch 'dev' of https://github.com/lakinduakash/linux-wifi-hotspot into dev 2021-12-27 02:48:48 +05:30
Lakindu Akash
1fc80c4468
Add make test to github actions 2021-12-27 02:48:42 +05:30
Lakindu Akash
1ac53e4066
Merge branch 'master' into dev 2021-12-27 02:46:50 +05:30
Lakindu Akash
43eb2ac125
Change version 2021-12-27 02:41:10 +05:30