Install driver for Intel 9560 wireless on Ubuntu 18.04

ThinkPad X1 carbon 7th Gen notebook uses an Intel 9560 wireless card, which not work in Ubuntu 18.04 by default. I made a simple tutorial to show you how to fix it. Install the driver We need to compile a kernel module and firmware for it: sudo apt update sudo apt install git build-essential git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git cd backport-iwlwifi/ make defconfig-iwlwifi-public sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config make -j$(nproc) sudo make install sudo modprobe iwlwifi If you DISABLED…
Read More

Compile Nginx 64bit on Windows

Nginx is a well known webservice software, people usually use lnmp/lamp(linux nginx/apache mysql php) as Web server environment. This time I will try to make a simply index service for windows to provide download service. The Nginx has it’s basic index service named autoindex, but the layout is so bad, it didn’t provide any search service. I found a alternative index service fancyindex, it can elegant finish such work. Prepare: compile environment: MSYS environment (or MSYS2) Microsoft Visual Studio, usually…
Read More

Compile rtorrent-0.9.4 on ubuntu 18.04

Some people still use rtorrent 0.9.4 due to some reasons, but It’s impossible to compile rtorrent-0.9.4 in ubuntu 18.04 directly: You will see warning: macro ‘AM_PATH_CPPUNIT’ not found in library and libtoolize: Consider adding ‘-I m4’ to ACLOCAL_AMFLAGS in Makefile.am while running config. You may also receive a message about openssl version error. We can simply add support for ubuntu 18.04 with following patches. patch for libtorrent-0.13.4 diff -Nur libtorrent-0.13.4/configure.ac libtorrent-0.13.4-patched/configure.ac --- libtorrent-0.13.4/configure.ac 2019-01-12 14:09:46.769154822 -0500 +++ libtorrent-0.13.4-patched/configure.ac 2014-05-14 10:18:48.000000000…
Read More

Disable Deluge-Web Authorization

The Deluge-web has a build-in Authorization, you need to input your password to manage your client. If we already have a reverse proxy for it(I usually add ssl and htpasswd via proxy), Deluge-Web will be useless, we can disable this build-in auth by folloing steps. Stop Deluge-Web service: killall deluged killall deluge-web modify following files: [deluge.egg]/ui/web/js/deluge-all.js, usually the [deluge.egg] is /usr/lib/python2.7/dist-packages/deluge/ or /usr/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge. find section “deluge.LoginWindow” and replace the function (it is located near the end of the minified line)…
Read More

Transmission Multiple daemon instances

Transmission is a lightweight and stable BT client, it can keep thousands of torrents without crash, so I use it to keep seeding. About Multiple-User in Transmission Transmission has a daemon called “transmission-daemon”, it can support Multiple instances with Multiple-User. But in a Debian like system, the apt package will config with a unique user “debian-transmission”. It use the config file /var/lib/transmission-daemon/info/settings.json, this file also a symlink of /etc/transmission-daemon/settings.json. Usually, transmission will start a transmission service with debian-transmission group. But we will…
Read More

QuickBox CE vs Pro: Which Is Better?

This year the quickbox.io released the QuickBox Pro. The price is 35$/year, what differences between Community edition and Professional edition? Is it worth 35$ to get the Pro version? What difference? There is already a official comperation in quickbox.io The eey differences between Pro and CE are like following: The design of dashboard, and some widgets. e.g. traffic monitor, application manager; Web service. In Community use  Apache + php7.0, in Pro use nginx + php7.2; Authorization service: CE use htpasswd with…
Read More
Menu