On Wed, Mar 3, 2010 at 9:54 PM, Tata Dano <[email protected]> wrote: >> things to do on your side... >> >> 1. make sure /dev/net/tun file is existing.. if not instruction can be >> found inside INSTALL file as root account... >> >> TUN/TAP Driver Configuration: >> >> * Linux 2.4 or higher (with integrated TUN/TAP driver): >> >> (1) make device node: mknod /dev/net/tun c 10 200 >> (2a) add to /etc/modules.conf: alias char-major-10-200 tun >> (2b) load driver: modprobe tun > > When I do (2b) I got this error: > [r...@myserver ~]# modprobe tun > FATAL: Could not load > /lib/modules/2.6.18-128.1.1.el5.028stab062.3PAE/modules.dep: No such file or > directory
hi, the problem is that there is no "modules.dep" file in /lib/modules/2.6.18-128.1.1.el5.028stab062.3PAE/ directory... modprobe is using that file to load the correct path for whatever module you are trying to load.. in your case tun.ko module.. we will going to manually load tun.ko module using "insmod"... but we need to know the exact location of tun.ko module... steps to do... 1. cd /lib/modules/`uname -r` this will bring you to /lib/modules/2.6.18-128.1.1.el5.028stab062.3PAE/ directory 2. find . - name "tun.ko" normally, tun.ko resides in ./kernel/drivers/net/tun.ko 3. insmod ./kernel/drivers/net/tun.ko "lsmod | grep tun" to verify that there is a tun module loaded... fooler. _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

