Solved

Modem Connection

Posted on 1997-09-14
4
221 Views
Last Modified: 2010-03-18
I have a US.Robotics Sporster 56K modem.
Since I've used Windows 95, I plug my modem as PNP which means I did not put any pin set.
Now I try to make a connection with Linux through phone
call whuch use PPP tech. I even did not hear any sound
from my modem.
How can I make my modem work?
0
Comment
Question by:Daemon
4 Comments
 
LVL 4

Expert Comment

by:jlms
ID: 1586578
Linux does not support PnP (in principle).
There are a series of different tools to overcome this problem, check the Re Hat's site:
www.redhat.com

THey have been hosting the project to include PnP support in Linux, the most famous utility to do so is called isapnp.

   Note that the development is constrained to few devices and actually the authors will like to hear experiences with as many devices as possible.

You can also try disabling the PnP capabilities of your card, Linux shoul recognize it without PnP but can make your life difficult in W95 because you need support now for the card in "normal" (not PnP) mode.
0
 

Author Comment

by:Daemon
ID: 1586579
If I turn off Pnp mode which means I set com port and IRQ etc,..
How can I use my modem in Linux.
I am going to set COM3, can you give me the way that I can make
a connection. I am useing Slackware 3.1(kernel2.0)
0
 
LVL 4

Accepted Solution

by:
unicorntech earned 50 total points
ID: 1586580
Use a program called dip to connect.

Type dip -t
then port /dev/cua2
then term
then atdt(provider no.)
this should start the modem ringing and connect you.

Alternatively you could use a chat script eg pppd connect /dev/cua2 defaultroute 'chat "" ATDT(provider no.) ogin: your_login word: your_password'

need more help e-mail me at jsons@aone.com.au

Regards,

Jason
0
 
LVL 2

Expert Comment

by:nicademus
ID: 1586581
Daemon,
      All you need to do is edit the file in your /usr/sbin directory called ppp-on i.e.

pico /usr/sbin/ppp-on

change the things which are relevant to you, such as your username and password, and your dial-in number also if you have a permanent IP address put it in, Then down the bottom somewhere look for a section like this, or something a bit similar  You need to change the bit, where in mine it says /dev/cua2 .  Well it so happens that if your modem is on COM3 then the bit which says something like /dev/cua1 or similar needs to be /dev/cua2 also change the speed setting somewhere in that script, to 115200 or 56700 to take advantage of your modems compression abilities.

exec /usr/sbin/pppd debug lock modem crtscts /dev/cua2 115200 \
        asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
        noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT


THEN:  You just have to execute that script file!  As long as you have an Internet Service provider to give you ppp-access then you should be home free.=) To turn off the script just type ppp-off and it will hang up.

Also In later Kernels PnP is supported by Slakware. such as my 2.1.52 which is very stable so far, and nothing is spared as far aas funtionality goes.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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…

706 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

12 Experts available now in Live!

Get 1:1 Help Now