RedHat PPP problem

RedHat PPP problem

Post by Monte Ohr » Tue, 20 Apr 1999 04:00:00



Hello,

I have RedHat 5.2 on intel, and I'm having a problem setting up
PPP. This (hopefully) should be easy to fix, but I can't seem to
pinpoint the problem.

Here is a sample of the output from pppd:

Apr 15 20:48:36 localhost chat[677]: abort on (BUSY)
Apr 15 20:48:36 localhost chat[677]: abort on (ERROR)
Apr 15 20:48:36 localhost chat[677]: abort on (NO CARRIER)
Apr 15 20:48:36 localhost chat[677]: abort on (NO DIALTONE)
Apr 15 20:48:36 localhost chat[677]: abort on (Invalid Login)
Apr 15 20:48:36 localhost chat[677]: abort on (Login incorrect)
Apr 15 20:48:36 localhost chat[677]: send (ATZ^M)
Apr 15 20:48:36 localhost chat[677]: expect (OK)

This is where the script hangs. It looks like the script is waiting
for an "OK" from the modem, but never gets what it is expecting.
The TR light on the modem lights up when the script starts, so at
least I know it is connecting to the COM port.

If I test the modem by hand, everything looks good:

cu -l /dev/cua0
Connected.
ATZ
OK
ATZ
OK

I thought that maybe there is not a carriage return being
sent at the end of the ATZ command, so I tried inserting a \r
at the end of that string in netcfg. This resulted in

Apr 15 20:48:36 localhost chat[677]: send (ATZ^M^M)

in the log file, and still hangs on expect (OK).

What am I missing here?

This is an external SupraFaxModem 14.4 on COM1.
Thanks

Monte

 
 
 

RedHat PPP problem

Post by Bob Wightma » Wed, 21 Apr 1999 04:00:00



writes
Stock response coming up:

go to

http://axion.physics.ubc.ca/ppp-linux.html

and follow the instructions therein. It is probably best to print it
out, about 12 pages. The instructions cover ISP's that use PAP, CHAP and
login scripts so it should cover what you want.

HTH

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bob Wightman

 
 
 

RedHat PPP problem

Post by Ribot Nguy » Sun, 25 Apr 1999 04:00:00


Do you see a line in dmesg or /var/log/messages that says something about the
PPP line discipline being registered?  If not, you may not have kernel support
for PPP built in.  You need that before you'll be able to get PPP to work.

>Hello,

>I have RedHat 5.2 on intel, and I'm having a problem setting up
>PPP. This (hopefully) should be easy to fix, but I can't seem to
>pinpoint the problem.

>Here is a sample of the output from pppd:

>Apr 15 20:48:36 localhost chat[677]: abort on (BUSY)
>Apr 15 20:48:36 localhost chat[677]: abort on (ERROR)
>Apr 15 20:48:36 localhost chat[677]: abort on (NO CARRIER)
>Apr 15 20:48:36 localhost chat[677]: abort on (NO DIALTONE)
>Apr 15 20:48:36 localhost chat[677]: abort on (Invalid Login)
>Apr 15 20:48:36 localhost chat[677]: abort on (Login incorrect)
>Apr 15 20:48:36 localhost chat[677]: send (ATZ^M)
>Apr 15 20:48:36 localhost chat[677]: expect (OK)

>This is where the script hangs. It looks like the script is waiting
>for an "OK" from the modem, but never gets what it is expecting.
>The TR light on the modem lights up when the script starts, so at
>least I know it is connecting to the COM port.

>If I test the modem by hand, everything looks good:

>cu -l /dev/cua0
>Connected.
>ATZ
>OK
>ATZ
>OK

>I thought that maybe there is not a carriage return being
>sent at the end of the ATZ command, so I tried inserting a \r
>at the end of that string in netcfg. This resulted in

>Apr 15 20:48:36 localhost chat[677]: send (ATZ^M^M)

>in the log file, and still hangs on expect (OK).

>What am I missing here?

>This is an external SupraFaxModem 14.4 on COM1.
>Thanks

>Monte

 
 
 

1. {Redhat]PPP Problem

Hi!  Hope someone can help me with this problem.  
I have recently installed Redhat 5.0 on my system.  I
used the scripts ppp-on,ppp-off,ppp-on-dialer etc to
set up my ppp connections.  These scripts are working
fine in Debian1.3 and slackware 3.4.  However, when I
used them on Redhat 5.0, I faced an initial time lag
of around 5 minutes before the modem starts dialing.
(ref to log file below)

May 27 15:08:07 pentium kernel: registered device ppp0
          ^^^^^  
May 27 15:08:53 pentium kernel: hdc: media changed
May 27 15:13:28 pentium pppd[229]: pppd 2.2.0 started by root, uid 0
          ^^^^^
May 27 15:13:29 pentium chat[279]: timeout set to 3 seconds
May 27 15:13:29 pentium chat[279]: send (AT^M)                

        I checked the irq of the serial port and it is using irq3
which no other devices is using.

        Another error message in my log file is below ..

May 27 16:15:29 pentium pppd[229]: proc file system not
mounted      

        Whenever I booted up, I would receive an message
saying that /proc is either mounted or busy.  How can I
rectify the problem?  The entries in fstab seems to be correct.

/dev/hda3               /                       ext2  
defaults        1 1
/dev/hda4               /goodies                ext2  
defaults        1 2
/dev/hda2               /scratch                msdos  
defaults        0 0
/dev/fd0                /mnt/floppy             ext2  
noauto          0 0
/dev/cdrom              /mnt/cdrom              iso9660
noauto,ro       0 0
none                    /proc                   proc  
defaults        0 0

        TIA.

2. Anyone working on calendar server?

3. Redhat PPP problem

4. clarifcation needed on firewall/routing setup

5. PPP and PPP and PPP and PPP and PPP and HEADACHE

6. 1.3.13 modem probs

7. redhat's ppp config vs. /etc/ppp

8. inetd error - duplicate hostid prob (???)

9. ppp-on/ppp-off under RedHat

10. RedHat 4.0:PPP : ppp/defaultroute

11. PPP RedHat 4.0 problem

12. PPP problem w/REDHAT 5

13. ppp-problems with RedHat 6.2