gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no auth possible: 'getlogname (AUTO_PPP, read:'


From: Ekkard Gerlach
Subject: Re: no auth possible: 'getlogname (AUTO_PPP, read:'
Date: Thu, 23 Oct 2003 00:55:40 +0200
User-agent: Mutt/1.4i

* Aart Koelewijn schrieb:

> Op 2003-10-18 om 12:52 schreef Ekkard Gerlach:
> 
> >   The remote system is required to authenticate itself
> >   but I couldn't find any suitable secret (password)
> >   for it to use to do so.
> > in /var/log/messages (server side)
> >
[...]
> > But username and password are definitely in /etc/pap-secrets
> > (chap excluded)!! Using noauth in /etc/mgetty+sendfax/login.config
> > (server side) I get a connection. But auth is necessary.
> >
> I use the same set-up but with the difference that I use chap for
> authorisation.

I tried like you described. I works! But only if I 
suppose IP-Adresses in peers-file on client side: 

/etc/ppp/peers/demon-gnokii:
[...]
name ama
noauth
mtu 296
debug
192.168.10.22:192.168.10.51

with on server side: 

/etc/ppp/chap-secrets
"ama" "rex2" "handy" *

Commenting out 192.168. .... in /etc/ppp/peers/demon-gnokii 
and replacing  *  in /etc/ppp/chap-secrets  with: 
"ama" "rex2" "handy" 192.168.10.22:192.168.10.51 

I get: in /var/log/messages: 
    unknown host 192.168.10.22:192.168.10.51 in auth. address list

I put these IPs with some new names into /etc/hosts but 
no success. I replaced  the name=... in demon-gnokii  with 
the according new name, but no success either. 

How can I convince the server to determine the IP-Adresses? 


BTW: using the SAME IP-adresses as in my lokal LAN 
   (ama is .22, rex2 is .51) 

"ama" "rex2" "handy" 192.168.0.22:192.168.0.51 

.. and commenting out 
#192.168.10.22:192.168.10.51

in demon-gnokii, I get "Could not determine local IP address": 

Oct 23 00:50:15 rex2 pppd[11671]: Connect: ppp0 <--> /dev/ttyI1
Oct 23 00:50:25 rex2 pppd[11671]: unknown host 192.168.0.22:192.168.0.51 in 
auth. address list
Oct 23 00:50:25 rex2 pppd[11671]: CHAP peer authentication succeeded for ama
Oct 23 00:50:25 rex2 pppd[11671]: Script /etc/ppp/auth-up finished (pid 11689), 
status = 0x0
Oct 23 00:50:26 rex2 pppd[11671]: Deflate (15) compression enabled
Oct 23 00:50:27 rex2 pppd[11671]: Could not determine local IP address
Oct 23 00:50:28 rex2 pppd[11671]: Script /etc/ppp/auth-down finished (pid 
11692), status = 0x0
Oct 23 00:50:29 rex2 pppd[11671]: Connection terminated.

(BTW: 192.168.0.22 and 192.168.0.51 are well known in /etc/hosts) 

Why? 

thx
Ekkard




reply via email to

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