First, install nvidia drivers
sudo pacman -S nvidia
Edit the following line of /etc/mkinitcpio.conf
MODULES=(i915? nouveau? vboxvideo? vmwgfx?)
# Обновление системы и пакетов | |
apt-get update | |
apt-get upgrade -y | |
# Установка пакетов для сборки softether | |
apt-get install build-essential libreadline-dev libssl-dev libncurses-dev zlib1g-dev git | |
# Скачивание репозитория Stable версии | |
git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git |
[Unit] | |
Description=pppoe | |
[Service] | |
Type=simple | |
WorkingDirectory=/usr/bin/ | |
ExecStart=/usr/bin/pon dsl-provider | |
Restart=always | |
[Install] |
import magic | |
import r2pipe | |
import hashlib | |
import argparse | |
import subprocess | |
from unicorn import * | |
from unicorn.x86_const import * | |
# from udbserver import * # uncomment this line if you want to debug | |
def pad_size(size): |
from fortigate_api import Fortigate | |
import base64 | |
from datetime import datetime | |
import inotify.adapters | |
import inotify.constants | |
import requests | |
#Wildcard cert file location | |
CERT_FILE = "" | |
#Key file location |
[Unit] | |
Description=SoftEther VPN Server | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/local/vpnserver/vpnserver start | |
ExecStop=/usr/local/vpnserver/vpnserver stop | |
ExecStartPost=/bin/sleep 5 | |
ExecStartPost=/bin/bash -c "/bin/systemctl set-environment dev=$(ip addr | grep tap_ | sed 's/^.*: \(tap_.*\):.*$/\1/g')" |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
source /etc/network/interfaces.d/* | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface |