Solved

PPP connection using Caldera OpenLinux

Posted on 1998-02-15
4
338 Views
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:
#!/bin/sh

/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:

domain ix.netcom.com
ipcp-accept-local
ipcp-accept-remote
noipdefault

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

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

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.  
0
Comment
Question by:shipley
  • 2
  • 2
4 Comments
 

Accepted Solution

by:
spjuver earned 20 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.
0
 

Author Comment

by:shipley
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?
0
 

Expert Comment

by:spjuver
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)
0
 

Author Comment

by:shipley
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?
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
OpenVPN routing 2 43
for ssh without password, are both ways correct 16 58
Running Guacamole on port 80 5 104
centos7 firewalld udp ports 33 57
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now