Last active
January 4, 2025 20:12
-
-
Save rsyuzyov/f8ea3e56b3ed74a0e9c21ef2438c9ed3 to your computer and use it in GitHub Desktop.
virtualhere.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://www.virtualhere.com/sites/default/files/usbclient/scripts/virtualhereclient.service | |
| wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64 | |
| chmod +x ./vhclientx86_64 | |
| mv ./vhclientx86_64 /usr/sbin | |
| mv virtualhereclient.service /etc/systemd/system/virtualhereclient.service | |
| systemctl daemon-reload | |
| systemctl enable virtualhereclient.service | |
| systemctl start virtualhereclient.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Смотрим список ключей: | |
| vhclientx86_64 -t "list" | |
| Выбираем свободный серверный ключ и подключаем: | |
| vhclientx86_64 -t "auto use device port,xxxxx.xx" | |
| vhclientx86_64 -t "auto use clear all" | |
| vhclientx86_64 -t "stop using all" | |
| Подготовка ключа для проброса в контейнеры: | |
| lsusb - смотрим номер шины и устройства (например 005 и 002) далее: | |
| mkdir /dev/aks /dev/aks/hasp | |
| ln -s /dev/bus/usb/005/002 /dev/aks/hasp/5-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment