Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* PPP setup woes...
@ 1998-03-23  1:15 Andrew Whitcroft
  1998-03-23  8:45 ` Martin Ostermann
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Whitcroft @ 1998-03-23  1:15 UTC (permalink / raw)
  To: axp-list

Hi all

I am trying to setup my ppp link using various messages in this
mailing list list archive and other HOWTO info.
However, I having lots of problems.

I can connect but the connection drops immediately! I am using
Red Hat Linux, ppp-2.2, on an Alpha box. Here is what I have configured
so far.

My PPP script:
/usr/sbin/pppd /dev/modem 38400 connect '/usr/sbin/chat -v -f ~/chat' modem defaultroute crtscts noipdefault lock netmask 255.255.0.0

My chat file:
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'ATDT 555-4333'
'CONNECT' ''
'ogin:' 'xxxxxxx'
'word:' 'xxxxxxx'

My resolv.conf file:
search home.net execpc.com
nameserver 10.0.100.1
nameserver 169.207.1.3
nameserver 204.29.202.6

Ouput from the /var/log/messages file:
Mar 22 14:59:11 astation pppd[712]: pppd 2.2.0 started by root, uid 0
Mar 22 14:59:12 astation chat[713]: abort on (BUSY) 
Mar 22 14:59:12 astation chat[713]: abort on (ERROR) 
Mar 22 14:59:12 astation chat[713]: abort on (NO CARRIER) 
Mar 22 14:59:12 astation chat[713]: abort on (NO DIALTONE) 
Mar 22 14:59:12 astation chat[713]: abort on (Invalid Login) 
Mar 22 14:59:12 astation chat[713]: abort on (Login incorrect) 
Mar 22 14:59:12 astation chat[713]: send (ATZ^M) 
Mar 22 14:59:12 astation chat[713]: expect (OK) 
Mar 22 14:59:12 astation chat[713]: ATZ^M^M 
Mar 22 14:59:12 astation chat[713]: OK -- got it 
Mar 22 14:59:12 astation chat[713]: send (ATDT 555-4333^M) 
Mar 22 14:59:13 astation chat[713]: expect (CONNECT) 
Mar 22 14:59:13 astation chat[713]: ^M 
Mar 22 14:59:41 astation chat[713]: ATDT 555-4333^M^M 
Mar 22 14:59:41 astation chat[713]: CONNECT -- got it 
Mar 22 14:59:41 astation chat[713]: send (^M) 
Mar 22 14:59:41 astation chat[713]: expect (ogin:) 
Mar 22 14:59:41 astation chat[713]:  26400/ARQ/V34/LAPM/V42BIS^M 
Mar 22 14:59:43 astation chat[713]: ^M 
Mar 22 14:59:43 astation chat[713]: ***^M 
Mar 22 14:59:43 astation chat[713]: *** Internet Gateway^M 
Mar 22 14:59:43 astation chat[713]: ***^M 
Mar 22 14:59:43 astation chat[713]: ^M 
Mar 22 14:59:43 astation chat[713]: [Milwaukee-85/8] login: -- got it 
Mar 22 14:59:43 astation chat[713]: send (xxxxxx^M) 
Mar 22 14:59:43 astation chat[713]: expect (word:) 
Mar 22 14:59:43 astation chat[713]: xxxxxx^M 
Mar 22 14:59:43 astation chat[713]: Password: -- got it 
Mar 22 14:59:43 astation chat[713]: send (xxxxxx^M) 
Mar 22 14:59:43 astation pppd[712]: Serial connection established.
Mar 22 14:59:44 astation pppd[712]: Using interface ppp0
Mar 22 14:59:44 astation pppd[712]: Connect: ppp0 <--> /dev/modem
Mar 22 14:59:47 astation pppd[712]: local  IP address 169.207.75.136
Mar 22 14:59:47 astation pppd[712]: remote IP address 169.207.75.128
Mar 22 14:59:47 astation pppd[712]: ioctl(SIOCADDRT) device route: Network is unreachable
Mar 22 14:59:49 astation pppd[712]: Hangup (SIGHUP)
Mar 22 14:59:49 astation pppd[712]: Modem hangup
Mar 22 14:59:49 astation pppd[712]: Connection terminated.
Mar 22 14:59:49 astation pppd[712]: Exit.

So, the question is what is wrong??? based upon the info I have been
given so far it all looks ok, but it does not work.

Help,

Andy
andyw@interserv.com


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re:  PPP setup woes...
@ 1998-03-25 23:59 Red Hat Linux User
  1998-03-26 15:38 ` mike
  0 siblings, 1 reply; 4+ messages in thread
From: Red Hat Linux User @ 1998-03-25 23:59 UTC (permalink / raw)
  To: axp-list


I had that prob when I went to kernel 2.1.x.  You need ppp-2.3.3.
Here is my ifcfg-ppp0:

PERSIST=yes
DEFROUTE=yes
ONBOOT=yes
INITSTRING='AT &F2 Z'
MODEMPORT=/dev/modem
LINESPEED=38400
ESCAPECHARS=no
DEFABORT=yes
HARDFLOWCTL=yes
DEVICE=ppp0
PPPOPTIONS=
DEBUG=yes
PAPNAME=
REMIP=0.0.0.0
IPADDR=0.0.0.0
BOOTPROTO=none
MTU=
MRU=
DISCONNECTTIMEOUT=
RETRYTIMEOUT=
USERCTL=no


Original msg follows:

Hi all

I am trying to setup my ppp link using various messages in this
mailing list list archive and other HOWTO info.
However, I having lots of problems.

I can connect but the connection drops immediately! I am using
Red Hat Linux, ppp-2.2, on an Alpha box. Here is what I have configured
so far.

My PPP script:
/usr/sbin/pppd /dev/modem 38400 connect '/usr/sbin/chat -v -f ~/chat' modem defaultroute crtscts noipdefault lock netmask 255.255.0.0

My chat file:
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'ATDT 555-4333'
'CONNECT' ''
'ogin:' 'xxxxxxx'
'word:' 'xxxxxxx'

My resolv.conf file:
search home.net execpc.com
nameserver 10.0.100.1
nameserver 169.207.1.3
nameserver 204.29.202.6

Ouput from the /var/log/messages file:
Mar 22 14:59:11 astation pppd[712]: pppd 2.2.0 started by root, uid 0
Mar 22 14:59:12 astation chat[713]: abort on (BUSY) 
Mar 22 14:59:12 astation chat[713]: abort on (ERROR) 
Mar 22 14:59:12 astation chat[713]: abort on (NO CARRIER) 
Mar 22 14:59:12 astation chat[713]: abort on (NO DIALTONE) 
Mar 22 14:59:12 astation chat[713]: abort on (Invalid Login) 
Mar 22 14:59:12 astation chat[713]: abort on (Login incorrect) 
Mar 22 14:59:12 astation chat[713]: send (ATZ^M) 
Mar 22 14:59:12 astation chat[713]: expect (OK) 
Mar 22 14:59:12 astation chat[713]: ATZ^M^M 
Mar 22 14:59:12 astation chat[713]: OK -- got it 
Mar 22 14:59:12 astation chat[713]: send (ATDT 555-4333^M) 
Mar 22 14:59:13 astation chat[713]: expect (CONNECT) 
Mar 22 14:59:13 astation chat[713]: ^M 
Mar 22 14:59:41 astation chat[713]: ATDT 555-4333^M^M 
Mar 22 14:59:41 astation chat[713]: CONNECT -- got it 
Mar 22 14:59:41 astation chat[713]: send (^M) 
Mar 22 14:59:41 astation chat[713]: expect (ogin:) 
Mar 22 14:59:41 astation chat[713]:  26400/ARQ/V34/LAPM/V42BIS^M 
Mar 22 14:59:43 astation chat[713]: ^M 
Mar 22 14:59:43 astation chat[713]: ***^M 
Mar 22 14:59:43 astation chat[713]: *** Internet Gateway^M 
Mar 22 14:59:43 astation chat[713]: ***^M 
Mar 22 14:59:43 astation chat[713]: ^M 
Mar 22 14:59:43 astation chat[713]: [Milwaukee-85/8] login: -- got it 
Mar 22 14:59:43 astation chat[713]: send (xxxxxx^M) 
Mar 22 14:59:43 astation chat[713]: expect (word:) 
Mar 22 14:59:43 astation chat[713]: xxxxxx^M 
Mar 22 14:59:43 astation chat[713]: Password: -- got it 
Mar 22 14:59:43 astation chat[713]: send (xxxxxx^M) 
Mar 22 14:59:43 astation pppd[712]: Serial connection established.
Mar 22 14:59:44 astation pppd[712]: Using interface ppp0
Mar 22 14:59:44 astation pppd[712]: Connect: ppp0 <--> /dev/modem
Mar 22 14:59:47 astation pppd[712]: local  IP address 169.207.75.136
Mar 22 14:59:47 astation pppd[712]: remote IP address 169.207.75.128
Mar 22 14:59:47 astation pppd[712]: ioctl(SIOCADDRT) device route: Network is unreachable
Mar 22 14:59:49 astation pppd[712]: Hangup (SIGHUP)
Mar 22 14:59:49 astation pppd[712]: Modem hangup
Mar 22 14:59:49 astation pppd[712]: Connection terminated.
Mar 22 14:59:49 astation pppd[712]: Exit.

So, the question is what is wrong??? based upon the info I have been
given so far it all looks ok, but it does not work.

Help,

Andy
andyw@interserv.com

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-03-26 15:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-23  1:15 PPP setup woes Andrew Whitcroft
1998-03-23  8:45 ` Martin Ostermann
  -- strict thread matches above, loose matches on Subject: below --
1998-03-25 23:59 Red Hat Linux User
1998-03-26 15:38 ` mike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox