Usb autosuspend disable:
echo -1 > /sys/module/usbcore/parameters/autosuspend
Fix USB cable is bad or device descriptor issue
echo Y | tee /sys/module/usbcore/parameters/old_scheme_first
Wifi power save mode disable
Usb autosuspend disable:
echo -1 > /sys/module/usbcore/parameters/autosuspend
Fix USB cable is bad or device descriptor issue
echo Y | tee /sys/module/usbcore/parameters/old_scheme_first
Wifi power save mode disable
| #!/bin/bash | |
| # | |
| # This program is free software; you can redistribute it and/or modify it under | |
| # the terms of the GNU General Public License as published by the Free | |
| # Software Foundation; either version 3 of the License, or (at your option) | |
| # any later version. | |
| # | |
| # Simple init script written bash | |
| # You can edit this file | |
| # |
| #!/bin/bash | |
| #Simple ssh based vpn written pure bash (tested on devuan server and sulin client) | |
| #Usage: sshvpn ip-addres [--init] | |
| #If you dont wanna enable root login, You can run manually way init fuction. | |
| set -ex | |
| ip="$1" | |
| # Remote tunnel device config | |
| if echo "$@" | grep -- "--init" ; then | |
| #You must enable this settings in /etc/ssh/sshd_config file: | |
| #PermitTunnel yes |
| #!/usr/bin/python3 | |
| from pyrogram import Client, filters | |
| import subprocess | |
| import time | |
| import os | |
| bindir=os.getcwd() | |
| # Get hash from here https://my.telegram.org/apps | |
| app = Client("shellbot",api_id=123456, | |
| api_hash="your telegram app hash") | |
| admin_id="1234234" |
| #!/usr/bin/make -f | |
| # | |
| # This program is free software; you can redistribute it and/or modify it under | |
| # the terms of the GNU General Public License as published by the Free | |
| # Software Foundation; either version 3 of the License, or (at your option) | |
| # any later version. | |
| # | |
| KERNEL_VERSION=5.11.6 | |
| BUSYBOX_VERSION=1.33.0 |
| #!/bin/bash | |
| curl https://www.gentoo.org/downloads/ | sed "s/.*href=\"//g" | sed "s/\".*//g" | grep "tar\." | grep -v "systemd" | grep -v "nomultilib" | grep -v "musl" | grep "amd64-" | grep -v "hardened" | sort -V | head -n 1 |
| #!/bin/bash | |
| # This script revoke usrmerge. | |
| # You must save your unsaved files before run. | |
| # System or applications may crash during process. | |
| # You must reboot after script finished. | |
| # This script is experimental. | |
| set +e | |
| apt-get install busybox-static -yq || exit 1 | |
| cp /bin/busybox /busybox | |
| [[ -d /var/lib/dpkg/info/ ]] || exit 1 |
| #!/bin/bash | |
| # Aşağıdaki betiği indirin ve root ile çalıştırın | |
| cd /tmp | |
| dpkg --add-architecture i386 | |
| wget -nc https://dl.winehq.org/wine-builds/winehq.key | |
| apt-key add winehq.key | |
| echo "deb https://dl.winehq.org/wine-builds/debian/ buster main" > /etc/apt/sources.list.d/wine.list | |
| apt update | |
| apt install --install-recommends winehq-stable |
| #!/bin/bash | |
| bios="/sys/devices/virtual/dmi/id/" | |
| UUID=$(cat $bios/product_uuid 2>/dev/null) | |
| SERIAL=$(cat $bios/product_serial 2>/dev/null) | |
| DP="none" | |
| if qemu-system-$(uname -m) -display help | grep sdl &>/dev/null ; then | |
| DP="sdl" | |
| elif qemu-system-$(uname -m) -display help | grep gtk &>/dev/null ; then | |
| DP="gtk" | |
| fi |
| #!/bin/bash | |
| set -ex | |
| apt update | |
| apt install qemu-kvm debootstrap grub-pc-bin -yq | |
| mkdir -p work/ | |
| [[ ! -f work/rootfs/etc/os-release ]] && debootstrap --variant=minbase --arch amd64 --no-merged-usr --no-check-gpg stable work/rootfs https://pkgmaster.devuan.org/merged | |
| chroot work/rootfs apt install devuan-keyring -yq | |
| ### Anti bloat | |
| cat > work/rootfs/etc/apt/apt.conf.d/01norecommend << EOF | |
| APT::Install-Recommends "0"; |