Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with modem

Status
Not open for further replies.

warmongr

MIS
Mar 17, 1999
214
0
0
US
Just re-installed LINUX 6.0 (RH) on my home PC. Cannot get it to recognize my modem.<br>
<br>
1. Installed the modem on COM4 (Works under W95)<br>
2. In Linux used control panel to link to TTYS3 for /modem<br>
3. From root ran minicom -s to create a minicom config<br>
4. Tried to use kppp, but it tells my my modem is busy. No matter how I try to access my modem it tells me it<br>
is busy<br>
<br>
Any one else had this problem? From my search on dejanews and here I would have to say yes, however I have found no answers.<br>
<br>
Please help. I will post the answer when I find it.<br>
<br>

 
Thanks for your reply silverwolffe. I have looked through all of the documentation on my modem. It is an internal Viking PCI V.90 modem. No where in the documentation or on the box does it indicate it as being a WinModem which is why I bought it over a USR WinModem on sale. I knew I would not be able to use it with Linux. I also went to a compatibility list that I found on and found my make and model there. I don't know how reliable the list was as it looked like a private/personal page. I even tried using mknod to create a new ttyS4 and setserial to set it to the IRQ that it is set to in Windows (11 -- Seemed strange to me). I've gone into minicom and checked all of my settings, deleted and recreated ttyS3 (COM4) where Windows says my modem resides. I am at my wits end. Someone, anyone give me a new suggestion (short of buying a new modem)<br>
<br>
Thanks,<br>
Natr
 
Two things.<br>
First, ensure you have PPP configured.<br>
Type `pppd' at the command prompt and see if you get garbage on the screen (it stops after a bit). If you do then go to second step, if not you will need to install PPP and recompile the kernel.<br>
<br>
Second, I got this from someone after trying to connect unsuccessfully for three days, it worked first try.<br>
<br>
This is what I used from my ISP and it worked good. Now all I have to<br>
do is type ppp-on and boom, Im connected!!!<br>
<br>
System Requirement : PPP Daemon (pppd-2.1.2 or higher)<br>
You will need to create the following files to<br>
connect to us: <br>
<br>
/usr/sbin/ppp-on <br>
/etc/ppp/options <br>
/etc/ppp/ppp-dialer <br>
/etc/ppp/pap-secrets<br>
<br>
/usr/sbin/ppp-on:<br>
#!/bin/sh<br>
echo "Enter the number to dial: "<br>
read NUMBER<br>
<br>
export NUMBER<br>
/usr/sbin/pppd<br>
<br>
<br>
/etc/ppp/options:<br>
lock<br>
domain wt.net<br>
ipcp-accept-local<br>
ipcp-accept-remote<br>
connect /etc/ppp/ppp-dialer<br>
crtscts<br>
defaultroute<br>
debug<br>
modem<br>
/dev/ttyS3<br>
#Change /dev/ttyS3 to your modem port<br>
# /dev/ttyS0 is COM1:<br>
# /dev/ttyS1 is COM2:<br>
# /dev/ttyS2 is COM3:<br>
# /dev/ttyS3 is COM4:<br>
38400<br>
noipdefault<br>
#Change bogus to your username<br>
user bogus <br>
<br>
<br>
/etc/ppp/ppp-dialer:<br>
#!/bin/sh<br>
# Some of the following lines contain<br>
# ' and " for quoting. Please note <br>
# that both are made with the ' symbol<br>
# Please do not use the "Shift<br>
# apostrophe" Key to make the " symbol<br>
# Just hit the ' key twice.<br>
# The OK "ADTD $NUMBER" \ line<br>
# DOES use the Shift apostrophe key<br>
# for the quotes<br>
<br>
<br>
/usr/sbin/chat -v \<br>
ABORT BUSY \<br>
ABORT 'NO CARRIER' \<br>
TIMEOUT 60 \<br>
'' ATZ \<br>
OK 'AT+FCLASS=0' \<br>
OK 'AT&F&C1&D2' \<br>
OK "ATDT $NUMBER" \<br>
CONNECT<br>
<br>
/etc/ppp/pap-secrets:<br>
# Change "bogus" to your username and<br>
# "bogus_password" to your password in clear text<br>
<br>
bogus * bogus_passwd <br>
<br>
/etc/resolv.conf:<br>
domain wt.net<br>
nameserver 205.230.159.9<br>
nameserver 205.230.159.7<br>
<br>
Connecting to us:<br>
Make sure some file permission is set<br>
correctly by executing the following command:<br>
$ chmod a+x /etc/ppp/ppp-dialer /usr/sbin/ppp-on<br>
<br>
Make sure you have<br>
/usr/sbin/pppd and<br>
/usr/sbin/chat binary<br>
executables.<br>
<br>
Then type in the following:<br>
$ /usr/sbin/ppp-on<br>
Enter the phone number to dial:<br>
713-843-6878<br>
<br>
To Check to see if you are connected:<br>
$ tail /var/log/messages<br>
(you will see messages from the pppd)<br>
<br>
Goodluck!<br>
<br>
<br>
Have Fun :)<br>
Sterling
 
make sure you don't have a modem lock file somewhere it will be a hidden file in your home directory.
 
lordos2: Thanks. The problem turned out to be a packaging problem on the part of Viking. They were selling their 56k software modem as DSP modems, instead of clearly marketing them as WinModems. My own fault I suppose.<br>
<br>
War...<br>

 
hi there, sorry about interrupting, but i'm glad i read this one... thanks guys... you may have solved a problem i'v had for ages.... <br>
<br>
C-ya...<br>
<br>
Karl<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top