2 2

[alpine-devel] How to create a tun interface?

alex M
Details
Message ID
<CAGBmBz_JtmR6yPAmyd_W85fjN-PXQT2=Br_k=bubsJWR9C0xXg@mail.gmail.com>
Sender timestamp
1355374736
DKIM signature
missing
Download raw message
Hello,

I'd like to know how to create a tun interface with AlpineLinux?

I didn't see any uml-utilities or tunctl package and iproute2 seems to
be not build with tuntap support. I don't know if it can work with
Alpine.

Thanks in advance,

Regards.


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Timo Teras
Details
Message ID
<20121213133639.1a1f9d8c@vostro>
In-Reply-To
<CAGBmBz_JtmR6yPAmyd_W85fjN-PXQT2=Br_k=bubsJWR9C0xXg@mail.gmail.com> (view parent)
Sender timestamp
1355398599
DKIM signature
missing
Download raw message
On Thu, 13 Dec 2012 05:58:56 +0100 alex M <lonkaji@gmail.com> wrote:

> I'd like to know how to create a tun interface with AlpineLinux?
> 
> I didn't see any uml-utilities or tunctl package and iproute2 seems to
> be not build with tuntap support. I don't know if it can work with
> Alpine.

iproute2 should be built with tuntap. Maybe you have not installed
iproute2 but are using the 'ip' from busybox builtins?

Try 'apk add iproute2'

- Timo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20121213133734.1aff57f5@ncopa-desktop.alpinelinux.org>
In-Reply-To
<20121213133639.1a1f9d8c@vostro> (view parent)
Sender timestamp
1355402254
DKIM signature
missing
Download raw message
On Thu, 13 Dec 2012 13:36:39 +0200
Timo Teras <timo.teras@iki.fi> wrote:

> On Thu, 13 Dec 2012 05:58:56 +0100 alex M <lonkaji@gmail.com> wrote:
> 
> > I'd like to know how to create a tun interface with AlpineLinux?
> > 
> > I didn't see any uml-utilities or tunctl package and iproute2 seems to
> > be not build with tuntap support. I don't know if it can work with
> > Alpine.
> 
> iproute2 should be built with tuntap. Maybe you have not installed
> iproute2 but are using the 'ip' from busybox builtins?
> 
> Try 'apk add iproute2'

You can also use vde_tunctl from vde2 package or openvpn --mktun.

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---