On Thu, 5 Apr 2001, Ghiora Drori wrote:

> I am trying to get ADSL to work with my account an Actcom.
> It works ok with win98...
>
> With Linux however things are a bit hectic, It looks like
> I do manage to dial in (with Linux) since I get back a response
> with the correct IP in the /usr/adm/debug :
>
> Apr6 00:19:22 varda pppd[249]: sent [IPCP ConfReq id=0x1
> <addr 192.117.106.132> <compress VJ 0f 01>]

this line sais that _YOUR_ machine asked to get the given IP address
assigned to it (it is a 'sent' line, not a 'rcvd' line). it does NOT mean
the other side (i.e. the server) agreed to assign this IP address to your
machine. i would suggest adding a 'nodefualtip' line at the end of
the 'pptp' command line. this fixed some problem for my connection
(thought for a different reason). however, this is not realy your problem,
as can be see later on in the logs (althought it may be that u have two
problems, with this being one of them):

[lots of data snipped..]

> I compiled and installed the latest pppd as recommended by the:
> HOWTO-ADSL-BEZEQ (using: make CHAPMS=1 USE_CRYPT=1 )

what does "USE_CRYPT" here mean?
also, actcom supports pap, but not chap (as far as i know).

> /usr/sbin/pptp 10.0.0.138 debug5 user edrori@actcom remotename
> "10.0.0.138 RELAY_PPP1" defaultroute netmask 255.0.0.0 mtu 1500 mru
> 1500 noauth

user part is incorrect. should be the SAME as written (later on) in the
pap-secret file, i.e. edrori@IActcom  .
also, mtu and mru should be 1452, as recommended by the FAQ. are you sure
you're using an updated version of the FAQ? its now on
www.pointer.co.il/~mulix/

[some log sniped..]

> Apr6 00:19:22 varda pppd[249]: rcvd [LCP ConfReq id=0x84 <mru 1500> <auth
> pap> <magic 0x1d35c91d>]
> Apr6 00:19:22 varda pppd[249]: sent [LCP ConfRej id=0x84 <auth pap>]

as can be seen here, the server asked your machine to authenticate
via pap, and your (client) machine rejected this authentication method. if
you'll look at your log, you'll see no line showing that authentication
was successfull. here is a similar snip from my log of a successfull
connection:

------------------------------------------------------------------------
Apr  4 22:35:51 simey pppd[698]: rcvd [LCP ConfReq id=0x5 <mru 1500> <auth
pap>
<magic 0x2abf38e>]
Apr  4 22:35:51 simey pppd[698]: sent [LCP ConfAck id=0x5 <mru 1500> <auth
pap>
<magic 0x2abf38e>]
Apr  4 22:35:51 simey pppd[698]: sent [PAP AuthReq id=0x1
user="choo@IActcom" password=<hidden>]
Apr  4 22:35:53 simey pppd[698]: rcvd [PAP AuthAck id=0x1 ""]
-------------------------------------------------------------------------

as you can see, the server sent me a request to perform pap
authentication, and my client agreed to make the pap authentication, and
then sent the authentication data (user+password), and then the server
send my client a 'pap authentication acknowledge' message.

> This is my /etc/ppp/pap-secrets and /etc/ppp/chap-secrets:
>
> (XXXXXX is not my real passwd obviously )
> "edrori@IActcom" "10.0.0.138 RELAY_PPP1" "XXXXXX"
> "10.0.0.138 RELAY_PPP1" "edrori@IActcom" "XXXXXX"

what is the second line for? its not used at all, so you may remove it.

--
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to