Hi,
I have just migrated my RedHat 7.3 dialup/firewall box to SuSE 9.0.
I use ISDN to dialup to my ISP, but my ISP do not allow PAP, only CHAP.
The problem is Hi,I have just migrated my RedHat 7.3 dialup/firewall box
to SuSE 9.0.I use ISDN to dialup to my ISP, but my ISP do not allow PAP,
only CHAP.The problem is that when I dial in, the box tries to use
PAPauthentication and do not try CHAP.I read in the SDB that SuSE is using
passwordfd to supply the passwordand that it only only supports PAP.
It also states that to use CHAP,the chap-secrets file should have the
username-password pair in.My system do have the appropriate entry in the
chap-secrets file, but itstill insists on using PAP.Google has not helped
yet.To dial, I normally use 'isdnctrl dial ippp0'I installed smpppd so
that I can use cinternet and vwdial, but that hasthe same effect.How can I
get this to work?It is also looking for /etc/ppp/auth-fail. It is
notinstalled/created. I did not find a package that includes
it. Following is the log messages:--<snip>--Dec 16 19:00:28
geriatrix smpppd[7793]: smpppd version 1.06 startedDec 16 19:00:36
geriatrix kernel: ippp0: dialing 1 xxxxxxx...Dec 16 19:00:38 geriatrix
kernel: isdn_net: ippp0 connectedDec 16 19:00:38 geriatrix ipppd[7226]:
Local number: xxxxxxx, Remotenumber: xxxxxxx, Type: outgoingDec 16
19:00:38 geriatrix ipppd[7226]: PHASE_WAIT -> PHASE_ESTABLISHED,ifunit: 0,
linkunit: 0, fd: 7Dec 16 19:00:38 geriatrix ipppd[7226]: sent [0][LCP
ConfReq id=0x1 <mru1500> <pcomp> <accomp>]Dec 16
19:00:38 geriatrix ipppd[7226]: rcvd [0][LCP ConfReq id=0x53<auth pap>
]Dec 16 19:00:38 geriatrix ipppd[7226]: sent [0][LCP ConfRej
id=0x53]Dec 16 19:00:38 geriatrix ipppd[7226]: rcvd [0][LCP
ConfAck id=0x1 <mru1500> <pcomp> <accomp>]Dec 16
19:00:38 geriatrix ipppd[7226]: rcvd [0][LCP ConfReq id=0x54<auth pap>
]Dec 16 19:00:38
geriatrix ipppd[7226]: sent [0][LCP ConfAck id=0x54<auth pap> ]Dec 16 19:00:38
geriatrix ipppd[7226]: lcp layer is UPDec 16 19:00:38 geriatrix
ipppd[7226]: sent [0][PAP AuthReq id=0x2user="xxxxxxx" password not logged
for security reasons! Use '+pwlog'option to enable full logging.]Dec 16
19:00:39 geriatrix ipppd[7226]: rcvd [0][PAP
AuthNakid=0x2msg="Authentication failed"]Dec 16 19:00:39 geriatrix
ipppd[7226]: Remote message: AuthenticationfailedDec 16 19:00:39 geriatrix
ipppd[7226]: PAP authentication failedDec 16 19:00:39 geriatrix
ipppd[7226]: rcvd [0][LCP TermReq id=0x55]Dec 16 19:00:39 geriatrix
ipppd[7226]: LCP terminated by peerDec 16 19:00:39 geriatrix ipppd[7226]:
sent [0][LCP TermAck id=0x55]Dec 16 19:00:39 geriatrix ipppd[7847]: Can't
execute /etc/ppp/auth-fail:No such file or directoryDec 16 19:00:40
geriatrix ipppd[7226]: Modem hangupDec 16 19:00:40 geriatrix ipppd[7226]:
Connection terminated.Dec 16 19:00:40 geriatrix ipppd[7226]: taking down
PHASE_DEAD link 0,linkunit: 0Dec 16 19:00:40 geriatrix ipppd[7226]: LCP is
downDec 16 19:00:40 geriatrix ipppd[7226]: closing fd 7 from unit 0Dec 16
19:00:40 geriatrix ipppd[7226]: link 0 closed , linkunit: 0Dec 16 19:00:40
geriatrix ipppd[7226]: reinit_unit: 0Dec 16 19:00:40 geriatrix
ipppd[7226]: Connect[0]: /dev/ippp0, fd: 7Dec 16 19:00:40 geriatrix
kernel: ippp0: remote hangupDec 16 19:00:40 geriatrix kernel: ippp0:
Chargesum is 0--<snip>--Thanksthat when I dial in, the box tries to use
PAP
authentication and do not try CHAP.
I read in the SDB that SuSE is using passwordfd to supply the password
and that it only only supports PAP. It also states that to use CHAP,
the chap-secrets file should have the username-password pair in.
My system do have the appropriate entry in the chap-secrets file, but it
still insists on using PAP.
Google has not helped yet.
To dial, I normally use 'isdnctrl dial ippp0'
I installed smpppd so that I can use cinternet and vwdial, but that has
the same effect.
How can I get this to work?
It is also looking for /etc/ppp/auth-fail. It is not
installed/created. I did not find a package that includes it.
Following is the log messages:
--<snip>--
Dec 16 19:00:28 geriatrix smpppd[7793]: smpppd version 1.06 started
Dec 16 19:00:36 geriatrix kernel: ippp0: dialing 1 xxxxxxx...
Dec 16 19:00:38 geriatrix kernel: isdn_net: ippp0 connected
Dec 16 19:00:38 geriatrix ipppd[7226]: Local number: xxxxxxx, Remote
number: xxxxxxx, Type: outgoing
Dec 16 19:00:38 geriatrix ipppd[7226]: PHASE_WAIT -> PHASE_ESTABLISHED,
ifunit: 0, linkunit: 0, fd: 7
Dec 16 19:00:38 geriatrix ipppd[7226]: sent [0][LCP ConfReq id=0x1 <pcomp> <accomp>]
Dec 16 19:00:38 geriatrix ipppd[7226]: rcvd [0][LCP ConfReq id=0x53
<auth pap> ]
Dec 16 19:00:38 geriatrix ipppd[7226]: sent [0][LCP ConfRej id=0x53
]
Dec 16 19:00:38 geriatrix ipppd[7226]: rcvd [0][LCP ConfAck id=0x1 <pcomp> <accomp>]
Dec 16 19:00:38 geriatrix ipppd[7226]: rcvd [0][LCP ConfReq id=0x54
<auth pap> ]
Dec 16 19:00:38 geriatrix ipppd[7226]: sent [0][LCP ConfAck id=0x54
<auth pap> ]
Dec 16 19:00:38 geriatrix ipppd[7226]: lcp layer is UP
Dec 16 19:00:38 geriatrix ipppd[7226]: sent [0][PAP AuthReq id=0x2
user="xxxxxxx" password not logged for security reasons! Use '+pwlog'
option to enable full logging.]
Dec 16 19:00:39 geriatrix ipppd[7226]: rcvd [0][PAP AuthNak
id=0x2msg="Authentication failed"]
Dec 16 19:00:39 geriatrix ipppd[7226]: Remote message: Authentication
failed
Dec 16 19:00:39 geriatrix ipppd[7226]: PAP authentication failed
Dec 16 19:00:39 geriatrix ipppd[7226]: rcvd [0][LCP TermReq id=0x55]
Dec 16 19:00:39 geriatrix ipppd[7226]: LCP terminated by peer
Dec 16 19:00:39 geriatrix ipppd[7226]: sent [0][LCP TermAck id=0x55]
Dec 16 19:00:39 geriatrix ipppd[7847]: Can't execute /etc/ppp/auth-fail:
No such file or directory
Dec 16 19:00:40 geriatrix ipppd[7226]: Modem hangup
Dec 16 19:00:40 geriatrix ipppd[7226]: Connection terminated.
Dec 16 19:00:40 geriatrix ipppd[7226]: taking down PHASE_DEAD link 0,
linkunit: 0
Dec 16 19:00:40 geriatrix ipppd[7226]: LCP is down
Dec 16 19:00:40 geriatrix ipppd[7226]: closing fd 7 from unit 0
Dec 16 19:00:40 geriatrix ipppd[7226]: link 0 closed , linkunit: 0
Dec 16 19:00:40 geriatrix ipppd[7226]: reinit_unit: 0
Dec 16 19:00:40 geriatrix ipppd[7226]: Connect[0]: /dev/ippp0, fd: 7
Dec 16 19:00:40 geriatrix kernel: ippp0: remote hangup
Dec 16 19:00:40 geriatrix kernel: ippp0: Chargesum is 0
--<snip>--
Thanks
--
Andre Truter Software Engineer Registered Linux user #185282
ICQ #40935899 AIM: trusoftzaf http://www.trusoft.za.net
~ If you are in control, you are going too slow - Mario Andretti ~