From owner-freebsd-questions Sun Jan 18 12:50:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11752 for questions-outgoing; Sun, 18 Jan 1998 12:50:25 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11615 for ; Sun, 18 Jan 1998 12:49:50 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id UAA09709; Sun, 18 Jan 1998 20:05:31 GMT (envelope-from brian@Awfulhak.org) Message-Id: <199801182005.UAA09709@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Victor Sudakov cc: dwhite@resnet.uoregon.edu, questions@FreeBSD.ORG Subject: Re: iijppp + slirp In-reply-to: Your message of "Sat, 17 Jan 1998 13:02:54 +0700." <199801170602.NAA26847@vas.tsu.tomsk.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Jan 1998 20:05:31 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk > Doug White wrote: > > On Thu, 15 Jan 1998, Victor Sudakov wrote: > > > > > Could you please help me make iijppp work with SLiRP on the server side? > > > > How is SLiRP called? You aren't running it in your dialup script.. > > It is started automatically after logging in into the server. I think, the > login shell is set to slirp. > > > > > > I start ppp as 'ppp -auto phantom'. It logs in but is never up, and the > > > default route is not changed. The /var/log/ppp.log grows though :-) It works > > > fine with the non-slirp provider BTW (the other entry called mpeks). > > > > Did you look in the ppp.log to find out just why it won't connect? You > > can post the relevant section(s) if you want us to decode it. Post a > > sample attempted connect to phantom. > > Sorry for the very long log. > > ======= cut here ========= [.....] > Jan 15 01:47:02 vas ppp[6649]: tun0: LCP: Magic is same (6a212a75) - 1 times > Jan 15 01:47:03 vas ppp[6649]: tun0: LCP: SendConfigNak(Req-Sent) > Jan 15 01:47:03 vas ppp[6649]: tun0: LCP: MAGICNUM[6] 0x6a212a75 [.....] > ======= cut here ========= > > I would appreciate any input. There's a bit in the FAQ (http://www.freebsd.org/FAQ/userppp.html). Remove the "set openmode active". If the peer never bothers to say anything, drop me a line. It's possible that there are some really brain-dead ISPs out there that can't switch off ECHO on the line quick enough to avoid confusing their ppp implementation with the resulting flurry of REQ/NAKs for the magic number, and *also* can't initiate LCP negotiations.... Once someone gives me an excuse, I'll introduce a configurable delay :-) > -- > Victor Sudakov > mailto:vas@obluo.tomsk.su > http://www.obluo.tomsk.su/~vas > PGP public key: finger vas@obluo.tomsk.su -- Brian , , Don't _EVER_ lose your sense of humour....