Login Trouble - I never get a connect

Login Trouble - I never get a connect

Post by Steven Bun » Fri, 07 Jun 2002 12:39:22



I am trying to connect to an unconventional device that uses a dial-up
via direct-serial port. The problem is that when using KPPP and wvdial
I can connect but I lose my connection before authentication. I
believe the reason for this is that I am not getting a recognizable
"CONNECT" string, so PPPD does not know when to autheticate via CHAP.
I need to send the CHAP authentication immediately when I start seeing
data come through (even though no connect string comes in).

The output I get from WVDIAL is as follows

--> WvDial: Internet dialer version 1.41
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+WS45=4
AT+WS45=4
OK
--> Modem initialized.
--> Sending: ATDT 123
--> Waiting for carrier.
ATDT 123
[06]

NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATDT 123
--> Waiting for carrier.
ATDT 123

This works fine in Windows Dial-up and I did get a connections once
using KPPP. I am not so familiar with PPPD scripts so I don't know how
to write one to authenticate upon a connection.

Any suggestions are greatly appreciated.

Thanks in advance for any help.

Steven  Bunin

 
 
 

Login Trouble - I never get a connect

Post by Michael F » Fri, 07 Jun 2002 15:34:26



Quote:>I am trying to connect to an unconventional device that uses a dial-up
>via direct-serial port. The problem is that when using KPPP and wvdial
>I can connect but I lose my connection before authentication. I
>believe the reason for this is that I am not getting a recognizable
>"CONNECT" string, so PPPD does not know when to autheticate via CHAP.
>I need to send the CHAP authentication immediately when I start seeing
>data come through (even though no connect string comes in).

Looks like your host you dial just gives you chap/pap authenticiation.
You should take a look at the ppp howto and setup your pppd to use
chap/pap authentication etc.

Just out of interest, what distro do you use?

Thanks

 
 
 

Login Trouble - I never get a connect

Post by Steven Bun » Fri, 07 Jun 2002 20:21:05




> >I am trying to connect to an unconventional device that uses a dial-up
> >via direct-serial port. The problem is that when using KPPP and wvdial
> >I can connect but I lose my connection before authentication. I
> >believe the reason for this is that I am not getting a recognizable
> >"CONNECT" string, so PPPD does not know when to autheticate via CHAP.
> >I need to send the CHAP authentication immediately when I start seeing
> >data come through (even though no connect string comes in).

> Looks like your host you dial just gives you chap/pap authenticiation.
> You should take a look at the ppp howto and setup your pppd to use
> chap/pap authentication etc.

> Just out of interest, what distro do you use?

> Thanks

I'm using redhat 7.3 for this. I had configured wvdial and kppp to use
chap/pap. I am trying to learn how to manually setup pppd as we speak.

Thanks

 
 
 

1. Login without login getting recorded into last login file

Is there anyway to login to an account 'as a normal user' without your
login getting recorded into the last login file.

I know that this is a binary file and no one could re-write it. Moreover,
I know that .hushlogin file could also be created in /etc and that would
tell the system not to record the current login, but you would have to be
GOD (root) to be able to create that file in /etc

So, I would appreciate any assistance that anyone could offer on this
matter.

********************************************************************
********************************************************************
**     WILLIAM GHORISHI                                           **
**     DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF TORONTO      **

**     URL          :   http://www.scar.utoronto.ca/~93ghoris/    **
**     BELIEF       :   "GOD IS REAL, UNLESS CAST TO AN INTEGER!" **
********************************************************************
********************************************************************

2. FREE Online Certifications Offered to Unix System Administrators

3. Trouble getting a Sun to connect

4. csh: escaping "{" and "}" in command substitution

5. Trouble getting connected to ISP

6. RealNetworks to release some of its tech to Open Source

7. Direct-connect login trouble

8. There's no dump (yet) but we can backup, right?

9. Trouble Getting Chat to tell my IP Provider my Login Info

10. delay getting login when connecting via telnet or ftp

11. 3com Office Connect LAN Modem::trouble connecting

12. getting users login name after login from server

13. Getting login script to map win95 shares with samba "domain" logins