title: How to install tun on Ubuntu 16.04
body: <p>I try to install tun on Ubuntu 16.04, it generates the tun.ko, but it still doesn't work.</p>
  
  <p>1 </p>
  
  <blockquote>
    <p>Uname -a Linux host-name 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon
    Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux</p>
  </blockquote>
  
  <p>2 </p>
  
  <blockquote>
    <p>apt-get install linux-source-4.10.0</p>
  </blockquote>
  
  <p>3 </p>
  
  <blockquote>
    <p>cd /usr/src/linux-source-4.10.0 menuconfig->Device Drivers->Network
    Device Support->Universal TUN/TAP device driver support</p>
  </blockquote>
  
  <p>Then save it as tun.config.</p>
  
  <p>4 </p>
  
  <blockquote>
    <p>make modules, it generate tun.ko under /drivers/net/ without err, then
    copy it to lib/modules/4.10.0-42-generic/kernel/net/tun.ko.</p>
  </blockquote>
  
  <p>And it still doesn't work. The command "modinfo tun" doesn't output anything.</p>
  
  <p>Any advice about the install tun on Ubuntu 16.04?</p>