Install driver for Intel 9560 wireless on Ubuntu 18.04

, , ,
question_answer0
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 driverWe need to compile a kernel module and firmware for it:sudo apt updatesudo apt install git build-essentialgit clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.gitcd backport-iwlwifi/make defconfig-iwlwifi-publicsed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .configmake -j$(nproc)sudo make installsudo modprobe iwlwifiIf you DISABLED the secure boot, it would work after a reboot. But for a…
Read More

Compile Nginx 64bit on Windows

, ,
question_answer3 Comments
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 its basic index service named autoindex, but the layout is so bad, it didnt 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 requires version 2008 and…
Read More

Compile rtorrent-0.9.4 on ubuntu 18.04

, , ,
question_answer0
Some people still use rtorrent 0.9.4 due to some reasons, but Its 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

, , ,
question_answer0
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

, , ,
question_answer0
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 TransmissionTransmission 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 hard to manage…
Read More

QuickBox CE vs Pro: Which Is Better?

, , ,
question_answer0
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.ioThe 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 basic auth, the Pro use database;Any…
Read More