[ale] still cant connect to bellsouth

Stephan Uphoff ups at tree.com
Fri Jun 25 13:16:05 EDT 1999


Try using the chat script only for dialing and then use PAP.
The following files worked for me (about 9 month ago - have cable now)

The configuration automatically dials on boot and retries on disconnect.

I connected / disconnected to bellsouth by turning the modem on and off.
You can execute a script if the connection comes up and down or you
can let a fetch daemon run all the time.
This way for fetching email you just have to press on button.

Good Luck

	Stephan

File 1: /etc/sysconfig/network-scripts/ifcfg-ppp0
--------------------------------------------------
PERSIST=yes
DEFROUTE=yes
ONBOOT=yes
INITSTRING=ATZ
MODEMPORT=/dev/modem
LINESPEED=115200
ESCAPECHARS=no
DEFABORT=yes
HARDFLOWCTL=yes
DEVICE=ppp0
PPPOPTIONS=
DEBUG=no
PAPNAME=***Username***  <<<<<< !! Put your name here
REMIP=
IPADDR=
BOOTPROTO=none
MTU=
MRU=
DISCONNECTTIMEOUT=
RETRYTIMEOUT=
USERCTL=no


File 2:/etc/sysconfig/network-scripts/chat-ppp0
------------------------------------------------
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'AT&B1&H1&I0&K3&R2&S0S2=255S6=5'  ***<<< My silly init string for USR 
modems - you should delete this for non USR modems. (and probably also for USR 
modems - Do not combine in one line with ATZ since ATZ ignores the rest of the 
line)****
'OK' 'ATDT4042483911'    ***<<<< Bellsouth Number here
'CONNECT' ''

File 3: /etc/ppp/secret
--------------------------
# Secrets for authentication using PAP
# client        server  secret                  IP addresses
**USERNAME**  ppp0    **Password**


> If you read more carefully, you'll see that he got neither a "name:" nor a
> "ogin:" prompt, but hung up immediately after getting the trailing
> ("115200^m") part of the CONNECT response.
> 
> I assume you are correct about that he should expect a "name:" prompt; I'm
> in USWestLand.
> 
> -----Original Message-----
> From: Philip Rodgers <prodgers at switchco.com>
> 
> 
> your first expect is wrong Bellsouth looks for a Username: not a Login:
> so you need to change the script to expect name: and then ssword:
> 
> Gary Maltzen wrote:
> 
> > It looks like you aren't absorbing the connect speed or are sending the
> > first ^m too soon. What does your connect script look like? I would expect
> > something like this...
> >
> > abort BUSY
> > abort 'NO CARRIER'
> > '' ATZ
> > OK atdt7703008900
> > TIMEOUT 45 CONNECT\d ''
> > TIMEOUT 10 ogin:--ogin: username
> > TIMEOUT 5  sword: password
> >
> > -----Original Message-----
> > From: Martin Nichols <mnichol at bellsouth.net>
> >
> >     Hi, Iam having absolutley no luck in connecting to bellsouth my
> > modem dials it sounds like it wants to connect then quits. here is the
> > message i am getting from my log maybe this will give someone a clue.
> >
> > pppd started for ppp0 on /dev/ttys1 at 115200
> > atdt7703008900^m^m
> > connect
> > --got it
> > send(^m)
> > expect(ogin:)
> > 115200^m
> > connect script failed
> > alarm
> > failed
> > exit
> >
> > Does this help anyone? Using Redhat 6.0
> >
> > ThankYou, Marty
> 
> 






More information about the Ale mailing list