Пакет позволяющий использовать бесполезную кнопку на Redmibook pro 15, для подключения к VPN
Project description
Установка
pip3 install redmibook_vpn
Создание сервиса
cd /etc/systemd/system
создаем redmivpn.service
[Unit]
Description=vpn button
[Service]
User=root
WorkingDirectory=/
ExecStart=python3 -m redmibook_vpn --vpn_name <NAME>
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
инициализируем
sudo systemctl daemon-reload
sudo systemctl start redmivpn.service
sudo systemctl enable redmivpn.service
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
redmibook_vpn-0.1.0.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file redmibook_vpn-0.1.0.tar.gz
.
File metadata
- Download URL: redmibook_vpn-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/7.0.2 keyring/24.3.1 pkginfo/1.10.0 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/2.2.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72db90216b43a131f6156ef5bf3b746a1c9ab8fb01d1c3fd0f5bd3501ae1c418 |
|
MD5 | 26cf159133a11e90674ce5dfcdfad52d |
|
BLAKE2b-256 | 3f41bcd70d9f5cd9aabf4e6e30d56e58b012c41ccac3777dbc336ccbdfee5638 |
File details
Details for the file redmibook_vpn-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: redmibook_vpn-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/7.0.2 keyring/24.3.1 pkginfo/1.10.0 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/2.2.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 234288c8a3aa04350f3b7f2d94c989f954b8e1b17ba99cc2edeef5db7891dbfd |
|
MD5 | 9e966883f61c56a3dc52f299278ea24a |
|
BLAKE2b-256 | cf0ec2e7469b5e1560c85865da3a3971be250b82e35bc89c238171d1c15acf99 |