Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-05-2000, 12:14 PM
|
#1
|
LQ Newbie
Registered: Dec 2000
Location: Mexico
Posts: 19
Rep:
|
Iīm a newbie using linux. I installed a winlinux dristribution, that is a modification of Slackware distribution. My mother board has a "winmodem" integrated and i dowload the pctel.zip to install the driver. I followed the instructions in the zip file, and i read some od the advice on a previos question in the forum but i couldnīt make it work.
When i just installed linux, the modem dialer (kppp) said a message that the modem was busy, after installing the hsp56 pctel driver, the message says that the modem is busy. Does anyone knows what else can i do? I just donīt know what else to do.
|
|
|
12-06-2000, 01:51 PM
|
#2
|
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081
Rep:
|
If you have a problem with a linmodem then I have probably experienced it!
The first thing is to make sure that you know that the driver you downloaded is the correct one. The PCTEL driver is for HSP modems. You seem pretty adament that it is the right one so it probably is.
Now, it is not just a case of insmod the driver. Once it is successfully loaded you need to configure the port which the modem is loaded to. Mine was com 15 in Linux (or ttyS15). To find that out just type in a terminal window
#setserial -agv /dev/ttyS*
and you will see a list of /dev/ttyS* files. Find the one which says communications device or something of that sort. This is where the modem is installed. You may know where it is anyway through windows.
The important thing is to make sure that the information is correct, and that includes the port, irq and I/O information. If is it not (again check in windoze), then you need to change it using the setserial command.
If that information is correct then you need to make sure that there is a symbolic link between /dev/modem and /dev/ttyS15 so type:
ln -sf /dev/ttyS15 /dev/modem
One more thing is that you make sure that both /dev/modem and /dev/ttys15 are available to all users, so type
chmod 666 /dev/modem (and then /dev/ttyS15 if necessary)
Make sure kppp is set for /dev/modem.
The error message means that the modem is not detected.
If you dont get anywhere post back with what you can do, but what goes wrong.
|
|
|
12-07-2000, 10:13 AM
|
#3
|
LQ Newbie
Registered: Dec 2000
Location: Mexico
Posts: 19
Original Poster
Rep:
|
i already did that
I tried using the setserial command and it displayed 4 tttysī: ttyS0, ttyS1, ttyS2, ttyS3. None of them said about communication device. " of them said that was using irq 3 and the other 2 said that they were using irq 4.
The next thing that i did, was to configure the 4 ttysī in my kppp. When i used ttyS0 sent me a message that the modem canīt be opened, and when i tried the others, a message that the modem was busy was sent.
If someone can tell whatīs going on now, iņīd really appreciate. Maybe i did something wrong before this, i donīt know. Is there any way yo know if everything is correctly installed?
Thanx
|
|
|
12-08-2000, 03:35 AM
|
#4
|
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081
Rep:
|
You may need to give yourself the ability to access the file from your username, not root (who owns the file). Is com1 where your modem resides? If so then you need to type the following to give yourself access to that file:
chmod 666 /dev/ttyS0
This should allow you to connect (assuming that you have insmod the driver first)
To check to see if the modem driver is installed just type:
lsmod
as root user and you will be given a list of modules which have are available. My driver is called pctel, so that is what I see in the list.
|
|
|
12-11-2000, 01:47 AM
|
#5
|
LQ Newbie
Registered: Dec 2000
Location: Mexico
Posts: 19
Original Poster
Rep:
|
I was cheking once again, if i could try make my modem work. Suddenly when I "insmod"ed the pctel driver and i check with setserial now the dev/ttyS15 started to appear.
It sends this message. I don't know what i means, but maybe this is the final step to make my linmodem work.
/dev/ttyS15, line 15, UART: undefined, port 0xde00, IRQ: 10
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait:3000, closing_wait2: infinite
Flags:spd_normal skip_test
Could someone explain me what this means or what else to do?
Thanx again
|
|
|
12-11-2000, 06:31 AM
|
#6
|
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081
Rep:
|
The pctel driver inistialises the com port that the modem is going to use. It makes ttyS15 available.
All you have to do now is link the ttyS15 file to /dev/modem like this:
ln -sf /dev/ttyS15 /dev/modem
Make sure kppp is configured to use /dev/modem and you should be able to dial out.
You may also have to be able to access files from your account, to do this just type
chmod o+rwx /dev/ttyS15
chmod o+rwx /dev/modem
If you manage to dial out let me know if pppd dies unexpectedly.
|
|
|
12-12-2000, 01:02 PM
|
#7
|
LQ Newbie
Registered: Dec 2000
Location: Mexico
Posts: 19
Original Poster
Rep:
|
Still the same Cragstar. Donīt know what else to do. When I use the Kppp, and try with the query button, says the modem doesnīt respond.
Whatīs next?
Maybe if I remove everything thaīt iīve done, could work.. donīt you think...
Iīd have tried but i donīt know what to remove or what to keep.
|
|
|
12-13-2000, 04:49 AM
|
#8
|
Member
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388
Rep:
|
Is PNP disabled?Just a thought.
|
|
|
12-13-2000, 10:07 AM
|
#9
|
LQ Newbie
Registered: Dec 2000
Location: Mexico
Posts: 19
Original Poster
Rep:
|
how do i know....?
where do i check it?
|
|
|
12-13-2000, 01:30 PM
|
#10
|
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081
Rep:
|
Did you get any errors in what I told you to type?
The fact that the setserial thing works means that the modem is there are recognised. Try typing this instead:
chmod 666 /dev/ttyS15
as root user. Are you sure that you are linking the files, and using /dev/modem in kppp?
I wouldn't bother starting all over again, you want to keep the progress you have made.
|
|
|
12-13-2000, 03:24 PM
|
#11
|
LQ Newbie
Registered: Dec 2000
Location: Mexico
Posts: 19
Original Poster
Rep:
|
Yes... iīm sure...
Iīm not hetting any error messages...
Did you check the setserial response that i sent the other day?
is everything correct? i odnīt know if the parameters are right...
|
|
|
12-13-2000, 04:02 PM
|
#12
|
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081
Rep:
|
Right, here is what I think you should do to get the modem to dial out.
insmod pctel
rm /dev/ttyS15
mknod /dev/ttyS15 c 62 79
ln -sf /dev/ttyS15 /dev/modem
chmod 666 /dev/ttyS15
chmod 666 /dev/modem
And that should be it. If you follow those instructions you should be able to use kppp. Let me know if it works. Or not.
BTW, when I try to query my modem I get nothing coming up in the boxes, but can still dial out.
The setserial output was fine as long as it matches the settings you have in windows, or the BIOS.
|
|
|
12-15-2000, 12:57 AM
|
#13
|
LQ Newbie
Registered: Dec 2000
Location: Mexico
Posts: 19
Original Poster
Rep:
|
i did it once again
Cragstar... i did it once again... and is still the same... I check my windows modem configuration, after i read your last note.... Itīs not the same...
in windows, my modem is installed on com4 and itņs on 2E8 adresss with an interruption of 3. In linux is installed like:/dev/ttyS15, line 15, UART: undefined, port 0xde00, IRQ: 10
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait:3000, closing_wait2: infinite
Flags:spd_normal skip_test
but i donīt know how to change this configuration.. what can i do?
|
|
|
08-14-2003, 12:45 AM
|
#14
|
LQ Newbie
Registered: Aug 2003
Location: USA - NH
Distribution: FreeBSD 5.1
Posts: 1
Rep:
|
Win Modems
I'm pretty convinced that winmodems are the root of all evil in the universe. I use FreeBSD 5.1 and unfortunately my Compaq 5001SR came with a gods-be-damned HSP56 WinModem... Needless to say it has about as much chance of getting me to the internet as my pet python does. If anybody has some info regarding a linux driver port, or some other resource, I'd be grateful.
Thanks...
|
|
|
All times are GMT -5. The time now is 10:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|