CentOS5: Trying to create tan/tap, failing with no modules.dep.temp

flysarescary

New member
Sep 15, 2008
713
17
0
There is no tun support so I am doing this:

mknod /dev/net/tun c 10 200
alias char-major-10-200 tun
depmod -a

is failing with:
[root@vipervps1 downloads]# depmod -a
WARNING: Couldn't open directory /lib/modules/2.6.18-128.1.1.el5.028stab062.3: No such file or directory
FATAL: Could not open /lib/modules/2.6.18-128.1.1.el5.028stab062.3/modules.dep.temp for writing: No such file or directory


Let me know if you have any ideas... or instructions how to get tan working. This is on a HyperVM VPS so some insight knowing that would help too. Thanks!