Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debian 6: openvpn tun0 device not created

642 views
Skip to first unread message

Chris

unread,
Apr 26, 2011, 4:00:02 PM4/26/11
to
I have a new installed Debian 6 system (Fujitsu Siemens tablet st4121) that
runs fine so far. When I set up openvpn, the tun0 device is not created.
/dev/net/tun exists, but ifconfig tells:

sudo ifconfig tun0
tun0: Fehler beim Auslesen der Schnittstelleninformation: Gerät nicht
gefunden

(Device not found)
the openvpn.conf is copied from a backup, it was working with Debian 5. In
the logfile, I dont find any errors.
What may be wrong?


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ip76kt$mj6$1...@dough.gmane.org

Chris

unread,
Apr 26, 2011, 4:20:01 PM4/26/11
to
Chris wrote:

> I have a new installed Debian 6 system (Fujitsu Siemens tablet st4121)
> that runs fine so far. When I set up openvpn, the tun0 device is not
> created. /dev/net/tun exists, but ifconfig tells:
>
> sudo ifconfig tun0
> tun0: Fehler beim Auslesen der Schnittstelleninformation: Gerät nicht
> gefunden
>
> (Device not found)
> the openvpn.conf is copied from a backup, it was working with Debian 5. In
> the logfile, I dont find any errors.
> What may be wrong?

This is on a client, btw. The server and other clients work without
problems.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/ip793j$4u9$1...@dough.gmane.org

Huang, Tao

unread,
Apr 26, 2011, 10:40:02 PM4/26/11
to
On Wed, Apr 27, 2011 at 4:14 AM, Chris <ch...@nickname.berlin.de> wrote:
> Chris wrote:
>
>> I have a new installed Debian 6 system (Fujitsu Siemens tablet st4121)
>> that runs fine so far. When I set up openvpn, the tun0 device is not
>> created. /dev/net/tun exists, but ifconfig tells:
>>
>> sudo ifconfig tun0
>> tun0: Fehler beim Auslesen der Schnittstelleninformation: Gerät nicht
>> gefunden
>>
>> (Device not found)
>> the openvpn.conf is copied from a backup, it was working with Debian 5. In
>> the logfile, I dont find any errors.
>> What may be wrong?
>
> This is on a client, btw. The server and other clients work without
> problems.

plz post ur openvpn.conf file and the connection's log.

Cheers,

Tao
--
http://huangtao.me/
http://www.google.com/profiles/UniIsland

School of Mathematical Science
Peking University


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/BANLkTiWwuHXoP2E7...@mail.gmail.com

Chris

unread,
Apr 27, 2011, 3:10:02 AM4/27/11
to
Huang, Tao wrote:

> On Wed, Apr 27, 2011 at 4:14 AM, Chris <ch...@nickname.berlin.de> wrote:

>>> (Device not found)
>>> the openvpn.conf is copied from a backup, it was working with Debian 5.
>>> In the logfile, I dont find any errors.
>>> What may be wrong?
>>
>> This is on a client, btw. The server and other clients work without
>> problems.
>
> plz post ur openvpn.conf file and the connection's log.

In the openvpn.log on the server I found:

Tue Apr 26 12:35:16 2011 us=469148 92.206.139.37:44005 VERIFY ERROR:
depth=0, error=unable to get local issuer certificate:
/C=DE/ST=DE/L=Berlin/O=zzzz.de/CN=xxxx/emailAddress=xxxx....@zzzz.de
Tue Apr 26 12:35:16 2011 us=469322 92.206.139.37:44005 TLS_ERROR: BIO read
tls_read_plaintext error: error:140890B2:SSL
routines:SSL3_GET_CLIENT_CERTIFICATE:no certificate returned

But the keys should be alright? I will reinstall them


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/ip8fc3$nbq$1...@dough.gmane.org

Chris

unread,
Apr 27, 2011, 4:40:02 PM4/27/11
to
Chris wrote:

> In the openvpn.log on the server I found:
>
> Tue Apr 26 12:35:16 2011 us=469148 92.206.139.37:44005 VERIFY ERROR:
> depth=0, error=unable to get local issuer certificate:
> /C=DE/ST=DE/L=Berlin/O=zzzz.de/CN=xxxx/emailAddress=xxxx....@zzzz.de
> Tue Apr 26 12:35:16 2011 us=469322 92.206.139.37:44005 TLS_ERROR: BIO read
> tls_read_plaintext error: error:140890B2:SSL
> routines:SSL3_GET_CLIENT_CERTIFICATE:no certificate returned
>
> But the keys should be alright? I will reinstall them

Recreation and installation of the key + crt did indeed help. No idea why
the old key was bad. Now it works as expected.

--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/ip9ur5$q05$1...@dough.gmane.org

0 new messages