(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



Incoming ppp logins


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From - Thu Aug 12 06:34:21 1999
Xref: world comp.unix.sco.misc:102851
Path: world!newsfeed.mathworks.com!news.maxwell.syr.edu!news.mel.connect.com.au!not-for-mail
From: "Stuart J. Browne" <stuart@promed.com.au>
Newsgroups: comp.unix.sco.misc
Subject: Re: Problems getting dial-up script to work
Date: Thu, 12 Aug 1999 09:35:16 +1000
Organization: Customer of Connect.com.au Pty. Ltd.
Lines: 73
Message-ID: <7ot1od$106$1@perki.connect.com.au> 
References: <7osgpj$8ju$1@bgtnsc02.worldnet.att.net> <37B1D9EA.1557B04@lemmen.com> 
NNTP-Posting-Host: pro3183-1.gw.connect.com.au
X-Trace: perki.connect.com.au 934414925 1030 202.21.8.100 (11 Aug 1999 23:42:05 GMT)
X-Complaints-To: abuse@connect.com.au
NNTP-Posting-Date: 11 Aug 1999 23:42:05 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
X-Mozilla-Status: 8011

I agree with chad here, you should use gettyacts. here's a cutout from
another post...

- add specific user names and passwords in /etc/pppauth such as
  (and also specify those in your Windoze DUN connect screen):
kenwolff pppking



- create /etc/gettyacts with (ownership bin,group bin,modes 440):
PPP:/usr/lib/ppp/ppp:-u nppp:0x7e

- change your modem getty line in /etc/inittab (also
/etc/conf/init.d/<file>) and add "-s80" (that's 80 tenths of a second or
8 seconds - the man pages incorrectly say it is seconds):
Se2A:234:respawn:/etc/getty -s80 -t60 tty2A p


umm, as for the script (just for the record), the IF $SUCCESS's arn't
needed.. ie.

proc main
  transmit "^M"
  waitfor "ogin:"
  transmit $USERID, raw
  transmit "^M"
  waitfor "ssword"
  transmit $PASSWORD, raw
  transmit "^M"
endproc

but yes.



bkx

Chad Lemmen wrote in message <37B1D9EA.1557B04@lemmen.com>...
>I would recommend that you use the gettyacts file then you don't need to
>use a login script.  Are you dialing in from Windows?
>
>"Scott A. Boyce" wrote:
>
>> I am using the following script to login to our SCO 5.0.5 server
>> through a PPP connection:
>>
>>     proc main
>>
>>                   transmit "^M"
>>                   waitfor "ogin:"
>>                   if $SUCCESS then
>>                           transmit $USERID
>>                           transmit "^M"
>>                           waitfor "ssword:"
>>                           if $SUCCESS then
>>                                   transmit $PASSWORD
>>                                   transmit "^M"
>>                           endif
>>                   endif
>>
>>                   endproc
>>
>> The problem I am having is when "Login:" appears, nothing happens.  If
>> I manually type in the login name and hit <enter> the window closes
>> and I login just fine, so it seems to me that the script is sending
>> the password just fine.  Any ideas on why it won't do the same for the
>> login name?  As always, the help is appreciated.
>>
>> --
>> Scott A. Boyce
>> Systems Administrator
>> mailto:Meridian*Staffing@worldnet.att.net
>> CHANGE THE "*" (asterisk) to "_" (underscore) when replying to the
>> above address!
>





Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



ad

/Bofcusm/84.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.



More:
       - OSR5
       - Bofcusm


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress