Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

TUN/TAP tunneling in 2.6.8.1

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2004, 01:18 PM
Default TUN/TAP tunneling in 2.6.8.1



Hi all,

hope one of you all can spread some light on my prob.
Two days ago I started testing pear-pc ((power-pc emulator) pearpc.sf.net).
Now that I have Mac Os X installed as client, I would start networking with
the host
(Debian Sid/Sarge Mix Kernel 2.6.8.1 P4_2,8_Intel-Chipset_768Meg_SD-RAM).

Therefor I need a TUN/TAP tunneling device. I followed this howto>>
http://emaculation.com/phpBB/viewtopic.php?t=1547

But I got stuck at the point that I can't even get ifconfig to setup the
device on the Host.

lsmod shows me that tun.o is loaded. /etc/modules.conf has this line to load
the module
"alias char-major-10-200 tun"

The device where created using:
"mknod -m 660 /dev/tap0 c 36 16"
"mknod -m 660 /dev/net/tun c 10 200"

At last here is the error "ifconfig tap0 192.168.1.79 netmask 255.255.255.0
up" give's back
SIOCSIFADDR: Kein passendes Gerät gefunden
tap0: ERROR while getting interface flags: Kein passendes Gerät gefunden
SIOCSIFNETMASK: Kein passendes Gerät gefunden
tap0: ERROR while getting interface flags: Kein passendes Gerät gefunden

Kein passendes Gerät gefunden=Device not found or something similar.

Did I forget some steps ? Hope U can find a mistake.

Greetz
Mirco

--
Jede Glorifizierung eines Menschen, der im Kriege getötet worden ist,
bedeutet drei Tote im nächsten Krieg. Kurt Tucholsky 1932


Mirco Schmidt
Reply With Quote
  #2  
Old 08-20-2004, 02:30 PM
Frank Elsner
Guest
 
Posts: n/a
Default Re: TUN/TAP tunneling in 2.6.8.1

Mirco Schmidt wrote:

[ ... ]

> At last here is the error "ifconfig tap0 192.168.1.79 netmask 255.255.255.0
> up" give's back
> SIOCSIFADDR: Kein passendes Gerät gefunden
> tap0: ERROR while getting interface flags: Kein passendes Gerät gefunden
> SIOCSIFNETMASK: Kein passendes Gerät gefunden
> tap0: ERROR while getting interface flags: Kein passendes Gerät gefunden


That's why I love non-english installations.

Der Betrieb von UNIX-Systemen ohne Englischkenntnisse
ist ein von Anfang an verlorener Kampf
--Marc Haber (in de.comp.os.unix.linux.misc)

--Frank Elsner
Reply With Quote
  #3  
Old 08-20-2004, 02:45 PM
Mirco Schmidt
Guest
 
Posts: n/a
Default Re: TUN/TAP tunneling in 2.6.8.1

Frank Elsner wrote:

> That's why I love non-english installations.
>
> Der Betrieb von UNIX-Systemen ohne Englischkenntnisse
> ist ein von Anfang an verlorener Kampf
> --Marc Haber (in de.comp.os.unix.linux.misc)


And that's why I translated it, so it's possible to understand without being
a native german speaker, like U seem to be according to your name.

Greetz
Mirco
--
Jede Glorifizierung eines Menschen, der im Kriege getötet worden ist,
bedeutet drei Tote im nächsten Krieg. Kurt Tucholsky 1932
Reply With Quote
  #4  
Old 08-23-2004, 10:16 AM
Mirco Schmidt
Guest
 
Posts: n/a
Default Re: TUN/TAP tunneling in 2.6.8.1

The Problem was gone after two days, I shutdown at night and after the
system was up again all went fine.

Greetz
Mirco

--
Jede Glorifizierung eines Menschen, der im Kriege getötet worden ist,
bedeutet drei Tote im nächsten Krieg. Kurt Tucholsky 1932
Reply With Quote
Reply

Tags
tun or tap, tunneling

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.