[Voyage-linux] tun support?

Gustin Johnson (spam-protected)
Sun Jun 19 08:42:05 HKT 2011


All you have done is load the tun module, you still have to set up the
tunnel and define an interface such as tun0.  Openvpn does this
automatically, but other tunnels require a little more work from you.

Also "ip addr" will show you all of the current interfaces.

On Sat, Jun 18, 2011 at 3:11 PM, Frank Parker <mr.frank.parker at gmail.com> wrote:
> Thats what I thought, but I get this...
>
> voyage:~# ifconfig tun0 up
> tun0: ERROR while getting interface flags: No such device
>
>
>
> On Sat, Jun 18, 2011 at 1:51 PM, Matt Signorello <msignorello at gmail.com> wrote:
>> Frank,
>>
>> Not necessarily. You can do ifconfig tun0 up and then you will see the
>> interface listed.
>>
>> In my case openvpn will automatically bring the interface up when its
>> connected.
>>
>> Matt
>>
>> On Jun 18, 2011 2:38 PM, "Frank Parker" <mr.frank.parker at gmail.com> wrote:
>>> If I do this:
>>>
>>> voyage:~# modprobe -v tun
>>> voyage:~# lsmod | grep tun
>>> tun 10816 0
>>>
>>> Shouldn't I see a new tun interface?
>>>
>>> voyage:~# ifconfig -a
>>> eth0 Link encap:Ethernet HWaddr uu:vv:ww:xx:yy:zz
>>> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
>>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>> RX packets:4017 errors:0 dropped:0 overruns:0 frame:0
>>> TX packets:2776 errors:0 dropped:0 overruns:0 carrier:0
>>> collisions:0 txqueuelen:1000
>>> RX bytes:331763 (323.9 KiB) TX bytes:347670 (339.5 KiB)
>>> Interrupt:19 Base address:0x2000
>>>
>>> lo Link encap:Local Loopback
>>> inet addr:127.0.0.1 Mask:255.0.0.0
>>> inet6 addr: ::1/128 Scope:Host
>>> UP LOOPBACK RUNNING MTU:16436 Metric:1
>>> RX packets:24 errors:0 dropped:0 overruns:0 frame:0
>>> TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
>>> collisions:0 txqueuelen:0
>>> RX bytes:1554 (1.5 KiB) TX bytes:1554 (1.5 KiB)
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> Voyage-linux at list.voyage.hk
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>




More information about the Voyage-linux mailing list