[Openswan Users] ppp error: tty is not open yet

weirauch at checkmobile.de weirauch at checkmobile.de
Wed Jan 28 10:12:08 EST 2009


hi all,
I seem to miss something quite basic :-) trying now since 4 weeks to get 
the vpn up and running - the ipsec seems to work, the l2tp also gets up 
(at least thats how i interpret it), BUT the ppp is not coming up with its 
ppp0 device. since I have no integrated modem but run over a system with 2 
internal ethernet network cards, I am not getting how to set up the ppp 
daemon to produce correct ppp0 devices :-(
system: opensuse 11.0, kernel 2.6.25.18-0.2-default, l2tpd from Jacco de 
Leeuw. (I read through the whole mailing list, and found nothing except a 
fedora user with a similar problem in 2004. the solution was there to get 
some "character devices" configured within the kernel. but I have no idea 
of how to do that with suse...)
i start the ipsec, than the l2tp, but what to do with the ppp? is'nt that 
a process which is called by l2tpd? and how do I "teach" pppd to come up 
with a ppp0 device?? (10 years ago with old modems I knew I did it, but 
now, without any modems, I am lost, somewhat - and all the ppp how-to only 
explain the "modem"-case...)
anyone with any helpfull idea?
best regards,
philipp
philipp weirauch
hamburg, germany

ps: below the var/log/messages from the experimental server.
the client is a mac-book pro osx (but that does not seem to be of any 
problem, right?)

Jan 28 10:44:20 vpn l2tpd[8262]: check_control: control, cid = 0, Ns = 0, 
Nr = 0
Jan 28 10:44:20 vpn l2tpd[8262]: handle_avps: handling avp's for tunnel 
1435, call 0
Jan 28 10:44:20 vpn l2tpd[8262]: message_type_avp: message type 1 
(Start-Control-Connection-Request)
Jan 28 10:44:20 vpn l2tpd[8262]: protocol_version_avp: peer is using 
version 1, revision 0.
Jan 28 10:44:20 vpn l2tpd[8262]: framing_caps_avp: supported peer frames: 
async sync
Jan 28 10:44:20 vpn l2tpd[8262]: hostname_avp: peer reports hostname ''
Jan 28 10:44:20 vpn l2tpd[8262]: assigned_tunnel_avp: using peer's tunnel 
8
Jan 28 10:44:20 vpn l2tpd[8262]: receive_window_size_avp: peer wants RWS 
of 4.  Will use flow control.
Jan 28 10:44:20 vpn l2tpd[8262]: check_control: control, cid = 0, Ns = 1, 
Nr = 1
Jan 28 10:44:20 vpn l2tpd[8262]: handle_avps: handling avp's for tunnel 
1435, call 0
Jan 28 10:44:20 vpn l2tpd[8262]: message_type_avp: message type 3 
(Start-Control-Connection-Connected)
Jan 28 10:44:20 vpn l2tpd[8262]: control_finish: Connection established to 
85.182.252.146, 52011.  Local: 1435, Remote: 8.  LNS session is 'default'
Jan 28 10:44:20 vpn l2tpd[8262]: check_control: control, cid = 0, Ns = 2, 
Nr = 1
Jan 28 10:44:20 vpn l2tpd[8262]: handle_avps: handling avp's for tunnel 
1435, call 0
Jan 28 10:44:20 vpn l2tpd[8262]: message_type_avp: message type 10 
(Incoming-Call-Request)
Jan 28 10:44:20 vpn l2tpd[8262]: message_type_avp: new incoming call
Jan 28 10:44:20 vpn l2tpd[8262]: ourcid = 10644, entropy_buf = 2994
Jan 28 10:44:20 vpn l2tpd[8262]: assigned_call_avp: using peer's call 5018
Jan 28 10:44:20 vpn l2tpd[8262]: call_serno_avp: serial number is 1
Jan 28 10:44:20 vpn l2tpd[8262]: check_control: control, cid = 5018, Ns = 
3, Nr = 2
Jan 28 10:44:20 vpn l2tpd[8262]: handle_avps: handling avp's for tunnel 
1435, call 10644
Jan 28 10:44:20 vpn l2tpd[8262]: message_type_avp: message type 12 
(Incoming-Call-Connected)
Jan 28 10:44:20 vpn l2tpd[8262]: tx_speed_avp: transmit baud rate is 
1000000
Jan 28 10:44:20 vpn l2tpd[8262]: frame_type_avp: peer uses: async frames
Jan 28 10:44:20 vpn l2tpd[8262]: getPtyMaster: No more free pseudo-tty's
Jan 28 10:44:20 vpn l2tpd[8262]: start_pppd: unable to allocate pty, 
abandoning!
Jan 28 10:44:20 vpn l2tpd[8262]: control_finish: Call established with 
85.182.252.146, Local: 10644, Remote: 5018, Serial: 1

Jan 28 10:44:20 vpn l2tpd[8262]: write_packet: tty is not open yet.

Jan 28 10:44:20 vpn pluto[7812]: "L2TP-PSK-NAT"[2] 85.182.252.146 #2: 
transition from state STATE_QUICK_R1 to state STATE_QUICK_R2
Jan 28 10:44:20 vpn pluto[7812]: "L2TP-PSK-NAT"[2] 85.182.252.146 #2: 
STATE_QUICK_R2: IPsec SA established {ESP/NAT=>0x0dfeb849 <0xa94bd7f7 
xfrm=AES_128-HMAC_SHA1 NATD=85.182.252.146:4500 DPD=none}

Jan 28 10:44:23 vpn l2tpd[8262]: write_packet: tty is not open yet.

Jan 28 10:44:50 vpn syslog-ng[2251]: last message repeated 8 times
Jan 28 10:44:50 vpn l2tpd[8262]: check_control: control, cid = 5018, Ns = 
4, Nr = 2
Jan 28 10:44:50 vpn l2tpd[8262]: handle_avps: handling avp's for tunnel 
1435, call 10644
Jan 28 10:44:50 vpn l2tpd[8262]: message_type_avp: message type 14 
(Call-Disconnect-Notify)



More information about the Users mailing list