Find the answer to your Linux question:
Results 1 to 5 of 5
Pretty sure CentOS is close enough to RedHat to warrant a post here right? There is no tun support so I am following directions: mknod /dev/net/tun c 10 200 alias ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    20

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

    Pretty sure CentOS is close enough to RedHat to warrant a post here right?

    There is no tun support so I am following directions:

    mknod /dev/net/tun c 10 200
    alias char-major-10-200 tun
    depmod -a
    is failing with:
    Code:
    [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!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Please post the actual output. If you put it inside a code block (like a quote block, but using the keyword 'code' instead of 'quote') you should be able to post it.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Also, CentOS is effectively RHEL, so posting CentOS issues/questions here is appropriate.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Oct 2008
    Posts
    20
    Code:
    [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

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    When you install a kernel, it should create a directory in /lib/modules. Since yourse doesn't seem to be there, you can try to create it yourself.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...