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