[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Have to mknod at each startup


  • Subject: [Openvpn-users] Have to mknod at each startup
  • From: Tom Barcellona <tdb@xxxxxxx>
  • Date: Tue, 13 Jan 2004 02:28:14 -0600

Forgive me if this was answered already, I only subscribed to this list
two days ago. My problem is with /dev/net/tun. It seems that on my 2.6
kernel, /dev/net/tun does not stay once the kernel module is unloaded.
When I installed I made /dev/net/ , and did "mknod /dev/net/tun c 10
200" Then I modprobed tun. I also checked that /etc/modules.conf had
alias char-major-10-200 tun. (I also did depmod -a  and
"modules-update") Everything worked fine. Now, once I unload the module,
/dev/net/tun disappears. When I try to restart OpenVPN, it complains
about not being able to find /dev/net/tun. After I modprobe tun,
/dev/net/tun appears, but OpenVPN still gives me the same error. In
order to get it working, I have to unload the module, mknod all over
again, then modprobe tun again. Is /dev not remembering the mknod? Why
isn't alias working? I'm running 2.6.1. Thanks.

Tom


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users