Enter username and password for cups-host
Category Archives: Unsortiert
Add Cups-printer Windows 7
14-Nov-21How to disable Framebuffer
02-Nov-21Modifying the Grub menu: Open the Grub menu file (IE. /boot/grub/menu.lst) in a text editor. One of the following options should disable frame buffering: vga=normal nofb nomodeset video=vesafb:off i915.modeset=0 You would specify one (or more) of the above on the ‚kernel‘ line of the Grub menu file. You can specify them all instead of trying each individual one. Disabling […]
Flatten Directories
27-Feb-21mp3blaster mit ubuntu
22-Okt-19$> padsp mp3blaster redirect OSS audio devices to PulseAudio
resize root partition in DietPi
10-Mrz-19disable Ubuntu/Linux DNS cache
08-Jan-19systemctl disable systemd-resolvedsystemctl stop systemd-resolved /etc/resolv.conf nameserver 192.168.0.x nameserver 192.168.0.ysearch mydomain.com /etc/NetworkManager/NetworkManager.conf dns=none
cygwin with Windows XP
23-Sep-1832-bit: ftp://www.fruitbat.org/pub/cygwin/setup/snapshots/setup-x86-2.874.exe 64-bit: ftp://www.fruitbat.org/pub/cygwin/setup/snapshots/setup-x86_64-2.874.exe Run setup*.exe with the -X option, using the following mirror: 32-bit: ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 64-bit: ftp://www.fruitbat.org/pub/cygwin/circa/64bit/2016/08/30/104235
EPSON L355 Network scanning
13-Sep-18# /etc/sane.d/dll.conf – Configuration file for the SANE dynamic backend loader net epkowa # epkowa.conf — sample configuration for the EPKOWA SANE backend usb scsi net X.X.X.10 # net autodiscovery
Prevent cUrl from overwriting
23-Aug-18If size does match and server is capable of resume: curl -C – …
pastebin shell
19-Mrz-18paste() { a=$(cat); curl -X POST -s -d „$a“ https://pastebin.****.de/documents | awk -F ‚“‚ ‚{print „https://pastebin.****.de/“$4}‘; }
Celectronic Thermoprinter Ubuntu
20-Dez-17Charset: CP437 Device: /dev/usb/lpX printer config: parallel:/dev/usb/lpX, Generic text-only printer (if not in /dev: modify /etc/modprobe.d/blacklist.conf) blacklist usblp might work in cups: echo „Hallo Welt“! | iconv -f UTF-8 -t 437 | lp -d thermo – else (todos from tofrodos package for converting linefeeds) cat t.txt | todos | iconv -f UTF-8 -t 437 > […]
start screen if not in screen
22-Mai-17.bashrc: if [ -z „$STY“ ]; then exec screen -dR fi
Realtek 8723be Ubuntu
13-Nov-16/etc/modprobe.d/rtl8723be.conf options rtl8723be fwlps=0 ips=0 msi=0
Xserver screenshot everywhere
09-Mai-16import -window root filename.jpg
Linux und RTL8723BE Wireless Adapter
09-Apr-16Verbesserte Stabilität der Verbindung /etc/modprobe.d/rtl8723be.conf options rtl8723be fwlps=N ips=N swenc=1
Raid 0 mit 2 USB-Sticks
14-Okt-15Die USB-Sticks sind sdb und sdc und nicht gemounted: parted /dev/sdb „rm 1“ parted /dev/sdc „rm 1“ parted /dev/sdb „mklabel msdos“ parted /dev/sdc „mklabel msdos“ parted /dev/sdb „mkpart primary ext4 1M -1“ parted /dev/sdc „mkpart primary ext4 1M -1“ parted /dev/sdb „set 1 raid on“ parted /dev/sdc „set 1 raid on“ (apt-get install mdadm) mdadm […]
Zum Beispiel: dd if=/dev/urandom | pv | dd of=/dev/sda Syntax: pv [OPTION] [DATEI]… Verbindet DATEI(en) oder den Standard-Eingabe-Kanal mit dem Standard-Ausgabe-Kanal und misst den Datenstrom. -p, –progress Fortschritts-Anzeige -t, –timer zeige die verstrichene Zeit an -e, –eta zeige die erwartete Zeit bis zum Ende an -r, –rate zeige die Datentransferrate an -a, –average-rate show data […]
Ubuntu und der IP2200
13-Jul-14$ sudo add-apt-repository ppa:michael-gruz/canon-trunk $ sudo apt-get update How to install the libtiff4 library on 32 bit Ubuntu 14.04 and Linux Mint 17 systems: $ wget http://cz.archive.ubuntu.com/ubuntu/pool/universe/t/tiff3/libtiff4_3.9.7-2ubuntu1_i386.deb $ sudo dpkg -i libtiff4_3.9.7-2ubuntu1_i386.deb $ sudo apt-get install -f How to install the libtiff4 library on 64 bit Ubuntu 14.04 and Linux Mint 17 systems: $ wget […]
cronfiles in cron.d
30-Okt-13Alle Dateien in /etc/cron.d benötigen ein newline /n am Zeilenende.
Edit: /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.0.7 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.5 dns-search leitzahl.de metric 1 auto wlan0 iface wlan0 inet static address 192.168.0.9 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.5 dns-search leitzahl.de wpa-psk …….. wpa-driver wext wpa-key-mgmt WPA-PSK wpa-proto WPA2 wpa-ssid radithor.de metric 2 /etc/resolv.conf ist ein link, rm! Edit: /etc/resolv.conf […]