Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 98 09:12:23 +0200
From:      THIERRY.HERBELOT@telspace.alcatel.fr
To:        wayne@jcegroup.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   =?ISO-8859-1?Q?R=E9p_:_PPP,_Mgetty,_Dialup_Question?=
Message-ID:  <H000057c015c6423@MHS>
In-Reply-To: <199805261811.SAA01124@jcegroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
     it seems you have 2 ppp processes fighting for cuaa0
     
     May 26 17:39:08 jcegroup ppp[936]: Link: myaddr = 203.14.100.1  
     hisaddr =203.14.100.20 
     May 26 17:39:08 jcegroup ppp[936]: Link: OsLinkup: 203.14.100.20 May 
     26 17:39:18 jcegroup ppp[59]: Phase: Modem /dev/cuaa0 is in use May 26 
     17:39:48 jcegroup last message repeated 5 times 
     
     processes 59 and 936

BTW, have you installed the very latest version of user-PPP. I have 
had troubles with mgetty and the version of iij-pp included in the 
2.2.5 Release

        TfH


____________________________ Séparateur Réponse 
________________________________
Objet : PPP, Mgetty, Dialup Question
Auteur :  wayne@jcegroup.com
Date :    26/05/98 20:11


I have a FreeBSD 2.2.5-RELEASE machine up and running, connected to a 
local ethernet of Win95 machines. With User PPP configured and 
working for dial on demand access to our ISP.
     
I am now trying to get the BSD box to accept external dial-in's.
I have a working copy of mgetty compiled and installed. It correctly 
detects a PPP request from the dialin client, and launches the PPP 
-direct program. 
     
The ppp program correctly authenticates the login using PAP, from the 
/etc/ppp/ppp.secret file. And the Win95 dialin client reports a 
successfully connection has been established. Here is an extract of 
the PPP log file:-
     
May 26 17:39:05 jcegroup ppp[936]: Phase: Using interface: tun1  
May 26 17:39:05 jcegroup ppp[936]: Phase: Listening at port 3001. 
May 26 17:39:05 jcegroup ppp[936]: Phase: PPP Started.             
May 26 17:39:05 jcegroup ppp[936]: Phase: Packet mode enabled 
May 26 17:39:06 jcegroup ppp[936]: Phase: *Connected!       
May 26 17:39:07 jcegroup ppp[936]: Phase: NewPhase: Authenticate 
May 26 17:39:07 jcegroup ppp[936]: Phase:  his = 0, mine = c023 
May 26 17:39:07 jcegroup ppp[936]: Phase: PapInput: REQUEST    
May 26 17:39:07 jcegroup ppp[936]: Phase: PapOutput: ACK  
May 26 17:39:07 jcegroup ppp[936]: Phase: NewPhase: Network           
May 26 17:39:08 jcegroup ppp[936]: Link: myaddr = 203.14.100.1  
hisaddr =203.14.100.20 
May 26 17:39:08 jcegroup ppp[936]: Link: OsLinkup: 203.14.100.20 
May 26 17:39:18 jcegroup ppp[59]: Phase: Modem /dev/cuaa0 is in use 
May 26 17:39:48 jcegroup last message repeated 5 times 
May 26 17:40:18 jcegroup last message repeated 2 times      
May 26 17:43:40 jcegroup ppp[936]: Phase: Idle timer expired. 
May 26 17:43:40 jcegroup ppp[936]: Link: OsLinkdown: 203.14.100.20 
May 26 17:43:40 jcegroup ppp[936]: Phase: NewPhase: Dead       
May 26 17:43:40 jcegroup ppp[936]: Phase: NewPhase: Terminate 
May 26 17:43:41 jcegroup ppp[936]: Phase: PPP Terminated (dead).      
     
All looks well, but the problem is as follows:-
     
I can ping the BSD box from the win95 client (and I can see the 
traffic on the BSD box using BPF and tcpdump), but if I try a 
telnet, or ftp, or pop3 access, it just hangs there and does nothing. 
There are a couple of lines come up on the tcpdump, but it then just 
sits there for about 60 seconds or so. At which point, strangely, it 
starts to work. But only for that telnet session, I get the same 
problem next time I try to initiate a telnet, or anything else.
     
But this is enough to stop things like email programs from working at 
all.
     
It feel's as if I am VERY close to success, but not quite there. 
Does anyone have any inspiration for me.
     
Any help would be GREATLY appreciated.
     
Thanks,
     
Wayne.
     
-- 
Wayne G Boyd, Digital Systems Manager 
JCE (Aberdeen) Ltd
Tel: +44 (0)1224 772030
Fax: +44 (0)1224 772002
     
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?H000057c015c6423>