Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 1998 21:42:42 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        "Sean Heiney" <onet@shianet.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: PPP script question 
Message-ID:  <199801262142.VAA15684@awfulhak.org>
In-Reply-To: Your message of "Sun, 25 Jan 1998 23:57:08 EST." <000401bd2a16$dc098360$844ddacd@sean> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Thank you for all of the responces on my previous ppp question. :)  I think
> I have made it a bit further, atleast with my understanding of ppp. :) I
> have one question on the ppp.conf dialup script though. As soon as I
> phyisically connect to my isp, I have to send a carrage return (press enter
> [ in term mode]) before I get a login prompt (they use Bay Network's Annex
> boxes). How do I send that "enter" in my ppp script?

set login "\"\" \"\" ogin: mylogin word: mypasswd".

the first "" says expect nothing.  The second says send a line feed 
(all expects are literal, all sends have a linefeed at the end unless 
they end with `\c').  This is either in the FAQ or the man page 
(can't remember which, but I remember writing it :-)

> Thanks again,
> 
> Sean Heiney
> onet@shianet.org
> 
> 

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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