Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


PPP connection using Caldera OpenLinux

Posted on 1998-02-15
Medium Priority
Last Modified: 2010-08-05
I am having problems connecting to my isp. I get no sound, or even any response from my modem at all.  I know it works
because I can get on the internet using win95.  I obtained the following information from my isp:

the ppp-on script:

/usr/sbin/pppd /dev/cua2 38400 \
connect "/usr/sbin/chat -f /etc/ppp/chat-netcom" \
defaultroute modem crtscts lock

the chat-netcom script:

ABORT           BUSY
ABORT           'NO CARRIER'
''              ATZ
OK              AT+FCLASS=0
OK              AT&F&C1&D2
OK              ATDT(provider no.)
CONNECT         ''
login:          us,ppp,userID
Password:       your-passwd
'PPP session'   ''

the option script:


the ppp-off script:
# If the ppp0 pid file is present then the program is running. Stop it.
if [ -r /var/run/$ ]; then
kill -INT `cat /var/run/$`
# If unsuccessful, ensure that the pid file is removed.
if [ ! "$?" = "0" ]; then
echo "removing stale $DEVICE pid file."
rm -f /var/run/$
exit 1
# Success. Terminate with proper status.
echo "$DEVICE link terminated"
exit 0
# The link is not active
echo "$DEVICE link is not active"

the resolv.conf script is set up with the proper domain and

I have also tried using dip but I still get no response from my modem.  Win95 says that my modem is connected to COM 1 and the serial.vxd driver is COM 2 and has an irq3 and address 0x02f8.  Using the setserial command, it shows the same thing but is /dev/cua1 (which is also COM 2).  So how do I get my modem to respond?  I have read the serial, ISP-HOOKUP and several other HOW-TO's and get the same result.  
Question by:shipley
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Accepted Solution

spjuver earned 80 total points
ID: 1587514
You can't use 'ppp /dev/cua2 ....' when the modem is attached to COM1 under WIN95. Should be 'ppp /dev/cua0...) under linux.

You can test the modem response with minicom (is included in the most linux packages) or 'cu -l cuax' where x is the device number for your serial port.

Author Comment

ID: 1587515
The 'ppp /dev/cua2' in the scripts is just a sample that I got from my isp. You are correct in saying that COM1 under win95 is /dev/cua0, but linux is telling me that the device can't be open. But when I use '/bin/setserial -bg /dev/cua1' instead of /dev/cua0, linux see's the port address and irq setting of the serial driver.  The problem is that if I use the ppp scripts and minicom using /dev/cua1 (though I think it should be /dev/cua0 because modem is on COM1), I get no response from my modem.  The same goes if I use /dev/cua0 for the ppp scripts and minicom.  Could the problem be that my win95 uses PnP? And if so, what do I do to correct it?

Expert Comment

ID: 1587516
Ahhh... you have PnP cards...

If you have isapnp tools do a pnpdump|more and check if any card uses irq 3 or 4 in the tables.

Otherwise it can be a initialize-string problem in the modem.
The modem may not echo AT-commands by default.

Find the windows driver file and do a cat on it to find windows initialize string. It worked on my modem (I don't have any manual for it)

Author Comment

ID: 1587517
Well, I'll try your suggestion to see if it works, but I found some new info on my modem.  My modem is a "Winmodem/mwave" and  was told that it will not work on my linux system no matter how much I try.  It uses the cpu via a DSP to do the modulation.  Does PnP use this type of device as a modem? Or does it just happen to be that I found a device that just don't work in linux?

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA:…

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question