Complete.Org: Mailing Lists: Archives: discussion: September 1998:
Re: [aclug-L] How do I?
Home

Re: [aclug-L] How do I?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] How do I?
From: Steven Saner <ssaner@xxxxxxxxxxxxx>
Date: Sun, 20 Sep 1998 22:05:30 -0500
Reply-to: aclug-L@xxxxxxxxxxxx

On Sun, Sep 20, 1998 at 07:34:22PM -0500, Wayne White wrote:
> 
> OK, here is the message log after I cleared it, rebooted and tried
> to pppd Southwind. I have omitted the date and time from the 
> begining of each line.

Initial stuff cut out...

> localhost    kernel : CSLIP: code copyright 1989 Regents of the University
> of California
> localhost    kernel : PPP: version 2.2.0 (dynamic channel allocation)
> localhost    kernel : PPP Dynamic channel allocation code copyright 1995
> Caldera Inc.
> localhost    kernel : PPP line discipline registered.
> localhost    kernel : registered device ppp0
> localhost    pppd [282] :  pppd 2.3.3 started by root, uid 0
> localhost    chat [283] :  abort   on    (BUSY )
> localhost    chat [283] :  abort   on    (NO CARRIER)
> localhost    chat [283] :  abort   on    (VOICE)
> localhost    chat [283] :  abort    on   (NO DIALTONE)
> localhost    chat [283] :  abort   on    (NO DIAL TONE)
> localhost    chat [283] :  abort   on    (NO ANSWER)
> localhost    chat [283] :  send (ATZ^M)
> localhost    chat [283] :  expect (OK)
> localhost    chat [283] :  ATZ^M^M
> localhost    chat [283] :  OK
> localhost    chat [283] :  -- got it
> localhost    chat [283] :  send (ATDT322-7600^M)
> localhost    chat [283] :  expect (CONNECT)
> localhost    chat [283] :  ^M
> localhost    chat [283] :  ATDT322-7600^M^M
> localhost    chat [283] :  CONNECT
> localhost    chat [283] :  -- got it
> localhost    chat [283] :  send ( )
> localhost    chat [283] :  expect (^M)
> localhost    pppd [282] :  Serial connection established.
> localhost    chat [283] :  115200^M
> localhost    chat [283] :  -- got it
> localhost    pppd [282] :  Using interface ppp0
> localhost    pppd [282] :  connect: ppp0 < - - > dev/ttyS3
> localhost    pppd [282] :  Warning - secret file  /etc7ppp/pap-secrets has
> world and/or group access
> localhost    pppd [282] :  Hangup (SIGHUP)
> localhost    pppd [282] :  Modem hangup
> localhost    pppd [282] :  Connection terminated.
> localhost    pppd [282] :  Exit.
> localhost    kernel :     lp1 at  0x0378, (polling)
> localhost    kernel :     PPP  :   ppp line discipline successfully
> unregistered
> localhost    kernel :     lp1 at 0x0378, (polling)
>     
> 
> I think I got it all typed in correctly. At the line with the warning about
> pap-secrets the client is receiving Conf req -- sending Conf rej -- and
> then sending Conf req. Southwind's line references Auth-pap. I'm not sure
> about the two lines I'm sending. It does this for some time before timing
> out. 
> 
> About the warning, while in /etc/ppp I entered ls -l and got the following:
> 
> total  6
> -rw-------   1 root      daemon           78  May  19  13:51  chap-secrets
> -rw-r--r--   1 root      root              0  Sep  19  09:17  connect-errors
> -rwxr-xr-x   1 root      root            265  Jun   7  14:20  ip-down
> -rwxr-xr-x   1 root      root            349  Jun   7  14:20  ip-up
> -rw-r-xr-x   1 11412     11412           283  Sep  19  05:17  options
> -rw-r-xr-x   1 root      root            601  Sep  19  07:15  pap-secrets
> -rw-r-xr-x   1 11412     11312           207  Sep  19  09:14  southwind.chat
> 
> I thought this is showing that only root has access to the pap-secrets
> file. Why would
> chat think that everybody has access?


To determine what the permissions are on a file you have to look at
the first column of the ls -l output. You divide it into four sections
as follows:

-|rwx|rwx|rwx

The first section is a single character that tells you what kind of
file it is. If you just have a - then it is a regular file. The next
section is owner permissions, next is group permissions, and last is
world permissions. Therefore your pap-secrets files does have world
read and execute permissions. Do a chmod 600 pap-secrets and you
should stop that warning message.

I don't know that the warning is really the source of the problem.
In your log file you go from:

> localhost    pppd [282] :  Warning - secret file /etc7ppp/pap-secrets has
> world and/or group access

to:

> localhost    pppd [282] :  Hangup (SIGHUP)

Is there nothing in between there? You should have a bunch of LCP
events.  Based on your comments above, the problem seems to be
centered around a password problem. I wonder if this could be as
simple as an incorrect password in the pap-secrets file. Have you
double checked that? Remember that the username must be all lowercase
and the password is case-sensitive. If you tell me the exact time that
you try it next time, I can check SouthWind's logs and see what they
might indicate. Or give me a call at work during business hours
(numbers below).

I hate to beat a dead horse here, but you seem to be describing some
things in your log file (Config req and Config rejects) that you did
not list above. It would be really helpfull if you could send those
lines. Particularly important are the ones that contain LCP, PAP, and
IPCP.


> 
> Thanks for the continued help.
> 
> Wayne
> 
> ---
> This is the Air Capitol Linux Users Group discussion list.  If you
> want to unsubscribe, send the word "unsubscribe" to
> aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
> message to aclug-L@xxxxxxxxxxxx.

-- 
==================================================================
Steven Saner                            SouthWind Internet Access, Inc.
ssaner@xxxxxxxxxxxxx                    Technical Support
http://www2.southwind.net/~ssaner       support@xxxxxxxxxxxxx
                                        http://www.southwind.net
                                        263-7963 Wichita  (800)525-7963

---
This is the Air Capitol Linux Users Group discussion list.  If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.



[Prev in Thread] Current Thread [Next in Thread]