Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2000 10:40:41 +0100
From:      "Andreas Schulz" <a.schulz@smf.de>
To:        <freebsd-isdn@freebsd.org>
Subject:   tun bad file descriptor
Message-ID:  <00d401c068d6$95f67160$73f21bac@SCHULZ>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_00D1_01C068DE.F7887EC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I try to make a dialin-server for Windows Clients with i4b userland-ppp. =
The FreeBSD Version is 4.2 and i4b is Version 00.96.00. When I try to =
call in, the Call is answered and i4brunppp is started, but no =
ppp-Handshake is established, because of a bad file descriptor. (see =
/var/log/messages)

Someone Ideas ?

Best Regards

A. Schulz

/var/log/isdnd.log

18.12.2000 09:40:23 CHD 00034 ULPPP incoming call active (ctl 1, ch 0, =
rbch0)  =20
18.12.2000 09:40:23 DBG exec_prog: /etc/isdn/i4brunppp, args: 00034 =
ULPPP incomi
ng call active (ctl 1, ch 0, rbch0)                                      =
      =20
18.12.2000 09:40:23 DBG FSM event [msg-con-act-ind]: [accepted =3D> =
connected]   =20
18.12.2000 09:40:23 DBG F_MCAI: Connection active!                       =
      =20
18.12.2000 09:40:23 DBG normal child (pid=3D34215) termination, exitstat =
=3D 127   =20
18.12.2000 09:41:21 DBG msg_idle_timeout_ind: idletimeout, kernel sent =
disconnec
t!                                                                       =
      =20
18.12.2000 09:41:21 CHD 00034 ULPPP incoming call disconnected (local)   =
      =20
18.12.2000 09:41:21 CHD 00034 ULPPP cause 0: Normal D-channel shutdown =
(Q.850) =20
18.12.2000 09:41:21 CHD 00034 ULPPP connected 58 seconds                 =
      =20
18.12.2000 09:41:21 CHD 00034 ULPPP accounting: in 252, out 0            =
      =20
18.12.2000 09:41:21 DBG set_channel_idle: controller [1] channel B1 set =
to IDLE!

/var/log/message
Dec 18 09:37:07 dialin ppp[34199]: Error: tun_configure: =
ioctl(TUNSIFINFO): Bad file descriptor=20


/var/log/ppp

Dec 18 09:37:06 dialin ppp[34199]: Phase: deflink: Created in closed =
state     =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set proctitle =
ppp-rbch0 =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: enable chap       =
      =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: enable proxy      =
      =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set ifaddr =
10.10.10.10 10
.10.10.11                                                                =
      =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set timeout 60    =
      =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set dial          =
      =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set login         =
      =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set hangup        =
      =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set device =
/dev/i4brbch0=20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set speed sync    =
      =20
Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: link * set cd 10  =
      =20
Dec 18 09:37:07 dialin ppp[34199]: LCP: FSM: Using "deflink" as a =
transport    =20
Dec 18 09:37:07 dialin ppp[34199]: LCP: deflink: State change Initial =
--> Closed


------=_NextPart_000_00D1_01C068DE.F7887EC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I try to make a dialin-server for =
Windows Clients=20
with i4b userland-ppp. The FreeBSD Version is 4.2 and i4b is Version =
00.96.00.=20
When I try to call in, the Call is answered and i4brunppp is started, =
but no=20
ppp-Handshake is established, because of a bad file descriptor. (see=20
/var/log/messages)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Someone Ideas ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best Regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>A. Schulz</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/var/log/isdnd.log</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>18.12.2000 09:40:23 CHD 00034 ULPPP =
incoming call=20
active (ctl 1, ch 0, rbch0)&nbsp;&nbsp; <BR>18.12.2000 09:40:23 DBG =
exec_prog:=20
/etc/isdn/i4brunppp, args: 00034 ULPPP incomi<BR>ng call active (ctl 1, =
ch 0,=20
rbch0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>18.12.2000 09:40:23 DBG FSM event [msg-con-act-ind]: [accepted =
=3D&gt;=20
connected]&nbsp;&nbsp;&nbsp; <BR>18.12.2000 09:40:23 DBG F_MCAI: =
Connection=20
active!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>18.12.2000 09:40:23 DBG normal child (pid=3D34215) termination, =
exitstat =3D=20
127&nbsp;&nbsp;&nbsp; <BR>18.12.2000 09:41:21 DBG msg_idle_timeout_ind:=20
idletimeout, kernel sent=20
disconnec<BR>t!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>18.12.2000 09:41:21 CHD 00034 ULPPP incoming call disconnected=20
(local)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<BR>18.12.2000=20
09:41:21 CHD 00034 ULPPP cause 0: Normal D-channel shutdown =
(Q.850)&nbsp;=20
<BR>18.12.2000 09:41:21 CHD 00034 ULPPP connected 58=20
seconds&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

<BR>18.12.2000 09:41:21 CHD 00034 ULPPP accounting: in 252, out=20
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>18.12.2000 09:41:21 DBG set_channel_idle: controller [1] channel B1 =
set to=20
IDLE!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/var/log/message</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Dec 18 09:37:07 dialin ppp[34199]: =
Error:=20
tun_configure: ioctl(TUNSIFINFO): Bad file descriptor </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/var/log/ppp</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dec 18 09:37:06 dialin ppp[34199]: =
Phase: deflink:=20
Created in closed state&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>Dec 18 =
09:37:06 dialin=20
ppp[34199]: Command: inc_rbch0: set proctitle ppp-rbch0&nbsp; <BR>Dec 18 =

09:37:06 dialin ppp[34199]: Command: inc_rbch0: enable=20
chap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
<BR>Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: enable=20
proxy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
<BR>Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set ifaddr=20
10.10.10.10=20
10<BR>.10.10.11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set timeout=20
60&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>Dec =
18=20
09:37:06 dialin ppp[34199]: Command: inc_rbch0: set=20
dial&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set=20
login&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
<BR>Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set=20
hangup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;=20
<BR>Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: set device=20
/dev/i4brbch0 <BR>Dec 18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: =
set=20
speed sync&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<BR>Dec=20
18 09:37:06 dialin ppp[34199]: Command: inc_rbch0: link * set cd=20
10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>Dec 18 09:37:07 =
dialin=20
ppp[34199]: LCP: FSM: Using "deflink" as a =
transport&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR>Dec 18 09:37:07 dialin ppp[34199]: LCP: deflink: State change =
Initial --&gt;=20
Closed<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_00D1_01C068DE.F7887EC0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00d401c068d6$95f67160$73f21bac>