Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


TUN module problem
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

TUN module problem

root@root:~# cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state

root@root:~# modprobe tun
libkmod: ERROR ../libkmod/libkmod.c:505 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/2.6.32-042stab084.17/modules.builtin.bin'
FATAL: Module tun not found.

It seems that tun is available but cannot run.
Please advise.

Comments

  • rds100rds100 Member

    You don't need to modprobe. You can use the module, it is already loaded on the node and enabled for you.

  • I thought that tun was the problem..
    Actually i get these:

    [....] Starting virtual private network daemon: serverSIOCSIFADDR: No such device
    ERROR while getting interface flags: No such device
    SIOCSIFDSTADDR: No such device
  • fitvpnfitvpn Member

    Did you tried restart tun/tap, or/and reboot VPS? If problem still exist try contact support they only help

  • @fitvpn said:
    Did you tried restart tun/tap, or/and reboot VPS? If problem still exist try contact support they only help

    Yes, with no luck

    [ ok ] Stopping virtual private network daemon:.
    [....] Starting virtual private network daemon: serverSIOCSIFADDR: No such device
    ERROR while getting interface flags: No such device
    SIOCSIFDSTADDR: No such device
    ERROR while getting interface flags: No such device
    SIOCSIFMTU: No such device
    failed!
  • fitvpnfitvpn Member

    Possible problem from provider side,did you tried contact them? Whats they says?

  • They say that TUN module is fine and set enabled, TAP also, it should work.

  • fitvpnfitvpn Member
    edited May 2014

    Which VPN script and OS you tried to install? PPTP/L2TP might not working on OpenVZ How about iptables?

  • OpenVPN on Debian 7

  • fitvpnfitvpn Member

    Which OpenVPN script? Official script from openvpn.net very buggy with OpenVZ

  • Do you suggest any other vpn server? I use sudo apt-get install openvpn

  • fitvpnfitvpn Member

    Try this - Full auto installer - https://github.com/Nyr/openvpn-install

  • Thanks. Really helpful auto installer.
    But it finishes with the same error that i get on manual installation:

    [ ok ] Stopping virtual private network daemon:.
    [....] Starting virtual private network daemon: serverSIOCSIFADDR: No such device
    ERROR while getting interface flags: No such device
    SIOCSIFDSTADDR: No such device
    ERROR while getting interface flags: No such device
    SIOCSIFMTU: No such device
    failed!

    Finished!

    Your client config is available at ~/ovpn-gg.tar.gz
    If you want to add more clients, you simply need to run this script another time!

    • Let me mention that i did the same steps to another vps of mine and it worked fine. But could you help me beat this error?
  • fitvpnfitvpn Member

    @punkstar69 - Only support can help,if not,trash them

  • Thanks for your help

  • fitvpnfitvpn Member

    Reinstall to other OS sometimes helps

  • try tb_userspace

Sign In or Register to comment.