Devuan / Debian cache with varnish

How to add a high performance devuan / debian / ubuntu / cpan repository cache (merged) with the security repo. Clean access paths: /devuan (merged devuan) /debian (debian) /debian-security (debian security) /ubuntu (ubuntu) /ubuntu-security (ubuntu security) /cpan (bonus) If none of these paths matches, varnish falls back to the local backend on port 8080. You

Read More

Huawei usb 3g modem reset – linux

A small memo to manage usb reset for Huawei usb 3g modem: Get a persistant udev device: Edit: /etc/udev/rules.d/99-usb-modem.rules SUBSYSTEM==”tty”, ATTRS{idVendor}==”12d1″, ATTRS{idProduct}==”1003″, SYMLINK+=”usbmodem” Reset the usb bus (quite rude but it is the only way i found to refresh the stack succesfully each time) and issue a ‘AT’ reset. #!/bin/sh # Reset USB bus for

Read More

UD-503 mpd alsa config bit perfect

First of all, kill pulseaudio, burn it, it is useless for pure audio playback. Everything else, like kodi, with a hdmi audio output for example, will still work. In debian: # apt-get remove –purge pulseaudio # apt-get install mpd alsa-utils alsa-tools Now you have a clean straight mpd -> alsa. You should have recompile the

Read More