Could not open /dev/net/tun
Henry Burbano
hburbano at novadevices.com
Thu Sep 30 17:15:57 CEST 2004
Yes I did, but I don't know how test if my /dev/net/tun is configured
correctly.
I am using 2.4.27 Linux kernel, and I have
crw------- 1 root root 10, 200 Oct 18 2003 /dev/net/tun
----- Original Message -----
From: "Andy Krause" <ak703 at softhome.net>
To: "Henry Burbano" <hburbano at novadevices.com>
Sent: Thursday, September 30, 2004 10:01 AM
Subject: Re: Could not open /dev/net/tun
> did you configure your /dev/net/tun correctly as described in the docs
> online in
>
> http://www.tinc-vpn.org/documentation/tinc_3.html#SEC28
>
> at: 3.2.1 Device files?
>
> Am Donnerstag, den 30.09.2004, 09:29 -0500 schrieb Henry Burbano:
> > Hi,
> >
> > I am triying to configure a VPN, my configuration files are:
> >
> > ******************
> > TINC.CONF:
> >
> > Name = nova
> >
> > # The internet host to connect with.
> > ConnectTo = nova2
> >
> > Device = /dev/net/tun #Device name.. Leave as is.
> > Interface = vpn #Virtual Interface name. Give any
> > suitable name.
> > #Mode = "router" #use Router mode
> >
> > PrivateKeyFile = /etc/tinc/testVPN/rsa_key.priv
> >
> >
> > *************************
> >
> > tinc-up
> >
> > #!/bin/sh
> >
> > # Set hardware ethernet address, needed on Linux when in router mode
> > ifconfig $INTERFACE hw ether fe:fd:0:0:0:0
> >
> > # Give it the right ip and netmask. Remember, the subnet of the
> > # tap device must be larger than that of the individual Subnets
> > # as defined in the host configuration file!
> > ifconfig $INTERFACE 192.168.1.7 netmask 255.255.255.0
> >
> > # Disable ARP, needed on Linux when in router mode
> > ifconfig $INTERFACE -arp
> >
> > #Add a route to the other network
> > route add -net 192.168.2.0 netmask 255.255.255.0 dev $INTERFACE
> >
> >
> > ****************************************
> >
> > /hosts/nova
> >
> > nova
> > Address = xxx.xxx.153.226 #IP address of the tinc host.
> >
> > #Cipher = blowfish #Cipher to be used. (none for no cipher)
> > Cipher = none
> >
> > #Compression = 9 #Compression level to be used. (0 for no
> > compresion)
> > Compression = 0
> >
> > #Digest = sha1 #HMAC to be used (none for no HMAC)
> > Digest = none
> >
> > #IndirectData = no
> > Subnet = 192.168.1.0/24 #Subnet that this host is connected to.
> >
> > -----BEGIN RSA PUBLIC KEY-----
> > MIGJAoGBAKsQbbC+CXd/tShV9PWhimnYBF+lJ+K2HRsCYJOmokXhETt9YmbfXcXB
> > twW+o0bTQtKl8XORTYsCCo97im6Ofhce+hfFw7RFWMwLbSrT6LRn7I5GzE7Biv/R
> > RSRGCBhHdoWGByKattvkO5JxeXU8O4sohxHkikIK7Z5DKG5SwMpHAgMBAAE=
> > -----END RSA PUBLIC KEY-----
> >
> >
> >
> >
> > I start the vpn with:
> >
> > tincd -n testVPN --debug=5 -D
> >
> > but I get:
> >
> > tincd -n testVPN --debug=5 -D
> > tincd 1.0.2 (May 5 2004 14:06:12) starting, debug level 5
> > Could not open /dev/net/tun #Device name.. Leave as is.:
No
> > such file or directory
> > Not restarting.
> >
> >
> > I don't know if is a missconfiguration or anything else??
> >
> > Thanks
> >
> >
> > ***************************************************
> > This message has been scanned for viruses and
> > dangerous content by Kypus Server Appliance E-Mail
> > Protection Service, and is believed to be clean.
> > ***************************************************
> > =-=-=-=-=-=-=-=-=-=-=-=-Disclaimer Notice-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> > The information in this E-mail is intended to be confidential and
> > only for use of the individual or entity to whom it is addressed.
> > If you are not the intended recipient, any retention, dissemination,
> > distribution or copying of this message is strictly prohibited and
> > sanctioned by law. If you receive this message by error, please
> > immediately send it back and delete the message received.
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> > _______________________________________________
> > tinc mailing list
> > tinc at tinc-vpn.org
> > http://brouwer.uvt.nl/cgi-bin/mailman/listinfo/tinc
> >
***************************************************
This message has been scanned for viruses and
dangerous content by Kypus Server Appliance E-Mail
Protection Service, and is believed to be clean.
***************************************************
=-=-=-=-=-=-=-=-=-=-=-=-Disclaimer Notice-=-=-=-=-=-=-=-=-=-=-=-=-=
The information in this E-mail is intended to be confidential and
only for use of the individual or entity to whom it is addressed.
If you are not the intended recipient, any retention, dissemination,
distribution or copying of this message is strictly prohibited and
sanctioned by law. If you receive this message by error, please
immediately send it back and delete the message received.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the tinc
mailing list