Skip to main content

Enable Tun Modul in Arch Linux

· 2 min read
Fa'iz Maulana Habibi
College Student of Dian Nuswantoro University

Enable Tun

How to enable tun module in arch linux? To verify you are able to hit these commands below.

lsmod | grep tun
ls -l /dev/net/tun

it will show you tun if show nothing, it means your module is disable. To check whether tun module is available in your system, hit this command.

modinfo tun

the output will be like this.

# modinfo tun
filename: /lib/modules/6.12.65-1-lts/kernel/drivers/net/tun.ko.zst
alias: devname:net/tun
alias: char-major-10-200
license: GPL
author: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
description: Universal TUN/TAP device driver
srcversion: 4121824D1D36298ECBF61FA
depends:
intree: Y
name: tun
retpoline: Y
vermagic: 6.12.65-1-lts SMP preempt mod_unload
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 20:4C:6E:6F:12:6C:EF:6C:CC:0E:57:71:96:C4:15:17:72:69:F8:4C
sig_hashalgo: sha512
signature: 30:65:02:30:7F:18:10:96:7B:32:23:D0:FB:D7:64:54:7C:19:CE:CE:
DA:13:7E:3A:DE:E0:A0:F8:52:F0:CC:BA:48:C5:E4:26:91:FF:8A:A5:
24:F8:84:AB:C1:48:9B:30:7A:67:E2:29:02:31:00:C2:75:C2:47:19:
F5:BB:C7:66:E5:42:99:DA:FF:06:20:C3:66:54:44:F1:41:41:5D:B3:
6E:B0:61:39:BC:49:A6:E6:4E:7D:84:31:D7:70:E2:67:51:41:BE:42:
55:2E:28

if all of those step pop out an output meaning your system is ready to rock in!