Subject: Re: mol networking + 2.4.8
From: Jean-Jacques Levy (Jean-Jacques.Levy@inria.fr)
Date: Sat Aug 25 2001 - 03:17:42 MDT
Dear Samuel,
I think I followed your instructions: recompiling kernel with
correct flags, installing tunconfig, etc. When I start mol, I
get:
TUNSETIFF: File descriptor in bad state
Failed to initialize the tun-<tunl0> device
Ethernet Interface (port 1) 'sheep-<eth0>' @ FE:FD:DE:AD:BE:EF
after getting during some while "tun unknown device", which I
patched by replacing tun0 by tunl0 in tunconfig. However I'm
not sure of all this, since I don't know much about tunnelling.
To summarize, here is my config:
% iconfig
eth0 ... lo ...
tunl0 Link encap:IPIP Tunnel HWaddr
inet addr:192.168.1.1 Mask:255.255.255.0
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
% iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- tunnetwork/24 !tunnetwork/24
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Do you have any idea?
Best regards, -JJ-
This archive was generated by hypermail 2a24 : Sat Aug 25 2001 - 02:24:15 MDT