LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Internal Modem - am I doomed? (https://www.linuxquestions.org/questions/linux-newbie-8/internal-modem-am-i-doomed-176/)

CragStar 10-17-2000 07:59 AM

Hello, I have just installed SUSE 7.0 on my PC and am really getting to grips with it.However, there are many problems that I am having at the moment. The main problem for me is that internal, PCI, softmodems are not well supported. I posted a question an another site to see If I could get around this prob, and was directed to a site where I downloaded some files appropriate to the modem I have (HSP, PCTEL). Now, what do I do to these files? I am at college at the moment, so I dont know what I downloaded as such. Later on I will post from home to tell you what I have. But if anyone knows what to do I will appreciate ANY information at all. I am a complete novice that has been messing around with Linux for about 2 days. So I dont know much. Thanks for any help.

bjc 10-22-2000 05:51 PM

http://www.linmodems.org - Winmodems on Linux
ftp://www.pcchips.com.tw/driver/Linux/MODEM/PCTEL.ZIP - PCTel Modem on Linux

I have a PCTel Modem myself, and found a driver for PCTel modems. I haven't tested it myself, mainly because I can't figure out how to install the driver, but here it is.

CragStar 10-25-2000 11:54 AM

Hehe, you know what, I have found that Driver, and like you, cannot work out how to install it! However, I am reading Running Linux, and hope to learn enough to install the driver so I dont have to use Windoze to use the internet.

I will let you know how it goes.

bjc 10-28-2000 01:38 PM

well..for one thing, many people have suggested to me that the way to use that driver is to insert it into the kernel and recompile it...and guess what?..

IT DOESN'T WORK!

so I'm still stuck where I am....

jeremy 10-28-2000 03:55 PM

1) Download the file
2) unzip -a PCTEL.ZIP
3) cd src/module
4) make
5) insmod ptmodule.o

bjc 10-28-2000 07:28 PM

insmod ptmodule.o will produce an error:
"
insmod: a module named ptmodule already exists.
"
Someone else suggested, in /lib, to "insmod pctel.o"...
error message would be:
"
pctel.o:unresolved symbol IntrOpen
pctel.o:unresolved symbol IntrClose
pctel.o:unresolved symbol IntrWrite
"

CragStar 11-05-2000 10:43 AM

Jeremy, you have said to insmod the wrong module. It should be insmod pctel.

The reason for the ptmodule.o file is that you can make the necessary files for pctel. This is according to the Linux howto on linmodems. I still cannot get my modem to work because I cannot configure the serial port. Does anyone knoe how to get it to work with the modem?

bjc, I recommend looking at the Howto at http://www.Linuxdoc.org
Its called Linmodem Howto. It is pretty good, but like I said, I still haven't got round to getting my modem to work.
:-)

bjc 11-05-2000 02:53 PM

I have read the howtos since that last post...however, Linux does not know that it is supposed to use that driver for the modem. I did finally get that module installed properly, after reinstalling, but now minicom, setserial, pnpdump all say there isn't a modem in existance, so I'm stuck again.

CragStar 11-05-2000 03:03 PM

The way you get Linux to recognise the modem is to configure the serial ports. It covers it in the Linmodem howto. It suggests reading the serial Howto aswell. I have just downloaded the file, and will try to understand what it is saying. Again, all I can say is to read them both and try to work with them. I must admit it is hard, but any progress I make I will pass it on. Sorry I cant help much at the moment.

bjc 11-05-2000 04:17 PM

I've read the howtos at linuxdoc.org this morning, but I can't even get past the any GUI config because the hardware is not set. Linuxnewbie.org, I can't even get past pnpdump...and #linuxhelp, ppft!, like THEY know anything. They just keep on telling me to "read the documentation", "stop asking documented questions"..blah blah blah. Just because they have broadband doesn't mean they don't need to know or explain older technologies!

Besides, the way I see it is that is linux basically limited to "older technologies because they don't support a LOT of the newer technologies and devices!

GEEZ, I'm so ticked off at everyone on IRC...listening to a BUSY signal is better than asking 173 people on #linuxhelp.

jeremy 11-05-2000 04:37 PM

This should be the relevant part of the howto - http://www.linuxdoc.org/HOWTO/Linmodem-HOWTO-4.html

If you are still having trouble after reading that or if you need something explained let us know.
Thanks for the correction CragStar...I was in too much of a hurry when I typed that!

CragStar 11-06-2000 09:23 AM

Jeremy, can you help a second.

I have successfully installed the module using insmod. Now I have tried to configure /dev/ttyS15 using setserial. Is this right. What I have typed is:
setserial /dev/ttyS15 port 0xd000 irq 10
THEN
ln -sf /dev/ttyS15 /dev/modem

This sets the device file ttyS15 to what I want then limks it to the modem file, but I am still unable to talk to the modem. Is there anything which I am doing wrong? The port settings and the irq settings I obtained from windows. :-) I assume they are right beacuse it works in there.

If you can see what is wrong then I would like to know.
Cheers.

jeremy 11-06-2000 10:25 AM

Sure. Did you follow the steps 4-4 through 4-11? If so did you get any errors?

CragStar 11-06-2000 02:45 PM

Actually, I could not create /dev/ttyS15 beacuse it was already a file. So that was fine. I had to use the -f for insmod and ls -s , otherwise it wouldn't do it.

I haven't tried to edit the serial.conf file. Do you think this could be it?

Its the port address and irq that I am worried about. I think they are right, but again I set them with setserial, so they should be set up? Yes or no? And I didn't bother fixing the ppp.o file. Does this matter?

But no I didn't recieve any errors apart from a busy modem.

Ahhh, this is really annoying, but no way am I going to give up.

Do you know what the pctel.o module is for? It doesn't link in with anything that I do, apart from inistilising it.





bjc 11-06-2000 07:15 PM

I can't run the fixscript script.

I went "chmod +x fixscript", and it says "./fixscript: command not found" in tcsh, or "bash: ./fixscript: No such file or directory" in bash.

bjc 11-06-2000 09:32 PM

um...disregard that last comment...took me about all the time since the last post to figure this out:

Anyway, I'm up to set 4.10 in the linmodem mini-howto:...
the error message I get is:

[root@linux misc]# insmod pctel country_sel=1
Using /lib/modules/2.2.15-4mdk/misc/pctel.o
/lib/modules/2.2.15-4mdk/misc/pctel.o: unresolved symbol IntrOpen
/lib/modules/2.2.15-4mdk/misc/pctel.o: unresolved symbol IntrClose
/lib/modules/2.2.15-4mdk/misc/pctel.o: unresolved symbol IntrWrite

someone in #linuxhelp suggested recompiling the source, but I've done that at least 20 times already....

CragStar 11-07-2000 03:09 PM

bjc, how did you get past your problem?

Maybe you have the wrong module? There are other PCtel modules on the homepage you directed me to. Just a thought.

Have you tried to force it? (i.e: insmod -f .....)
It works for me that way, otherwise I get a different compile error.

Apart from that I dont know about the errors themselves.

bjc 11-07-2000 08:59 PM

yes, there's two you're supposed to insmod...from the lin modem mini-howto. I first insmod ptmodule.o (in /src/module), then insmod pctel.o. insmod -f will not work because the errors come up; it's the module itself not any hardware or anything with linux.

CragStar 11-08-2000 03:46 PM

No way!, I have not insmod that ptmodule.o file at all! Maybe that will work. I will try it. Have you tried to insmod pctel WITHOUT the country bit on the end. I read that it is not totally necessary. There are some extra files to read on the Wallace and Grommit page about the PCtel module. They are on the bit where it goes

PCTel [1] [2]

They may be of use to you, but they were not relevant to me.

Keep going.

bjc 11-08-2000 05:30 PM

well...still stuck here...........ahem, admins?

CragStar 11-09-2000 07:15 AM

Success! I crashed KPPP
 
Believe it or not, but I have crashed kppp! I know what your thinking, so what? Well, every other time I went to Query Modem, I got the sorry....modem is busy.

This time, when I insmod ptmodule,then run kppp, I managed to crash it. I am thinking that the module IS working, just not able to find the modem.

I will try to use setserial to configure the modem from the configuration in windows, and hopefully get the modem recognised. Also I used YAST2 to find the modem and believe it or not, it too crashed (i.e wouldn't respond). I am going to double check ervy process then post what happens.

bjc, have you just tried to just enter:
insmod -f pctel

I know that you don't need those country arguements, or they don't often work. Also check you have inisitialised the module dispite the error using: lsmod

Another question: what distro are you running?

To anyone, does anyone know what the other files are for that you download with the modules? especially those in the /lib file.

bjc 11-09-2000 04:58 PM

YES, I HAVE TRIED insmod -f pctel

The error message, yet AGAIN, is:

[root@guesswaineedhelphere lib]# insmod -f pctel
Using /lib/modules/2.2.15-4mdk/misc/pctel.o
/lib/modules/2.2.15-4mdk/misc/pctel.o: unresolved symbol IntrOpen
/lib/modules/2.2.15-4mdk/misc/pctel.o: unresolved symbol IntrClose
/lib/modules/2.2.15-4mdk/misc/pctel.o: unresolved symbol IntrWrite

I've tried this on Debian 2.2, TurboLinux 4 Workstation/6 Server Lite, Mandrake 7.1 (7.2 does not install and configure correctly), StormLinux 2000 [Hail], Corel Linux Second Edition, Slackware 7.1, RedHat 6.2 (7.0 has problems like Mandrake 7.2), and all have had this problem.

I would try it on a Lucent modem, but I can't find the drivers for it.

Currently running Mandrake 7.1

CragStar 11-09-2000 05:11 PM

You can get hold of a Lucent driver from http://www.linmodems.org
There is also plenty of info there.

I still am unable to get somewhere apart from crashing kppp.

Will keep trying though.

CragStar 11-15-2000 08:24 AM

So close, yet so far!
 
I have finally got kppp to recognise my modem, and can get to the point where it says Dialling 0808 545345. Then nothing. I have seen the terminal window and it appears the modem is talknig to the program because of the OK signals it recieves. I went to query modem but nothing came up from the AT boxes. Does any one know what is wrong. After finally getting the modem recognised I am not stopping now. bjc, I will post later of how I finally got the modem recognised.

CragStar 11-16-2000 04:54 AM

Okay here is what I did in a terminal window:

#:rm /dev/ttyS15
#:mknod /dev/ttyS15 c 62 79
#:chmod 666 /dev/ttyS15
#:insmod -f pctel
#:insmod ptmodule
#:setserial /dev/ttyS15 port 0xd000 irq 10 skip_test

I then ran kppp and it found modem, but it could not get a dial tone. Does anyone know why? Also, when I went to Query Modem nothing came up next to the AT boxes. Does this mean it is still not recognised? Is it something to do with no uart specified?

bjc 11-16-2000 05:05 PM

I get "Sorry, the modem is busy"...as always...

jeremy 11-16-2000 08:11 PM

That error message usually means one of a few things,

1) Wrong driver.
2) Incorrect setup of modem (wrong com port, wrong irq, etc.)
3) Some other software is already accessing the modem.

bjc 11-18-2000 11:58 AM

Wierd...the first time I tried what you posted, CragStar, nothing was unusual (in error messages AND results). Now I do it again, using a different driver (or, at least, file), and I get "iPC-TEL drive (88) found : irq = 10, base = 0xff00" when I "insmod -f pctel"..

Then, obviously, I changed the setserial command to:
"setserial /dev/ttyS15 port 0xff00 irq 10" (I don't like the skip_test idea).

Yet, even that, I STILL get Modem is busy...

bjc 11-18-2000 03:30 PM

...never mind, I can dial out with minicom now...

I still have a few problems:

(1) How do you write a script that will run the "setserial" command, AND automatically dial out and then log on?...

(2) Which proxy, squid/ipchains, will run the script when needed?

(3) HOW do you set the proxy to use that connect? because, as of now, I can't even surf locally on that computer using netscape (lynx seems to be configured to my existing proxy)

Yes, I know this is no longer on the subject, but...


bjc 11-18-2000 03:31 PM

oh, CragStar, this is the 6th time I followed YOUR directions and did it...only this time I did this from a windows machine telnetting in...(same driver, still)

CragStar 11-23-2000 03:16 PM

Cool!
 
I am glad that you are able to get online (I think you can!). You can atomatically configure the setserial thing at start up in a file that I cant remember where, but I will let you know. I forgot to add to my earlier post about linking the /dev/ttyS15 file to the /dev/modem. You do this by typing
#.ln -sf /dev/ttyS15 /dev/modem

You then use /dev/modem as the device to dial from. If you use a graphical dialer such as kppp, then make sure it is set to use /dev/modem. This may allow you to use the modem in Linux itself. As for the other questions I am still looking them up. Glad you have some success. Unfortunately I can also dial out but pppd dies for some reason! Oh well...


[Edited by CragStar on 11-23-2000 at 04:19 PM]

M.N.BABU 12-13-2000 11:06 AM

in /lib, to "insmod pctel.o"...
error message would be:
"
pctel.o:unresolved symbol IntrOpen
pctel.o:unresolved symbol IntrClose
pctel.o:unresolved symbol IntrWrite

Larry James 12-13-2000 11:32 AM

BJC. You have to create the file, then make it executional with the chmod command. Did you make a work area then use the "cd" command to go there? You can make a subdirectory by typing "mkdir [subdirectory]". The [subdirectory] would be the name of the subdirectory you want (not including the brackets).

Now use an editor to create the file called "fixscript". You'll find the contents for the file at: http://www.linuxdoc.org/HOWTO/Linmod...O-7.html#ss7.1 . You can actually copy and pasted the contents for the file into your text editor for assurance in getting each line exact. Then save the file, then make it executional with the "chmod" command you just mentioned.

You can type "ls" to see what's in your area. If you don't see the file, then you haven't created it yet.

-- L. James

iSo 12-16-2000 12:16 AM

Same Problems
 
I'm having the same exact probs you guys are only i'm not using a softmodem. I'm using a PCI 56k USR. Just cannot get kppp or minicom or anything to recognize it. Frustrating... Jeremy.. Got and suggestions on how to get a pci modem to work.. i've down all of the above that cragstar and bjc have..


iSo

jeremy 12-16-2000 09:52 AM

iSO,
You may have to upgrade to the 2.4 kernel to get that modem to work.
Quote:

No, there are at least three types of controller-based PCI modems. They are somewhat more difficult to set up than a jumpered ISA modem or an external serial port modem. Linux 2.4 will probably include automagic setup of PCI hardware modems.
If you are curious, these modems are:

Lucent Venus chipset: Multitech MT5634ZPX-PCI, Actiontec PCI56012 (IBM 33L4618 or GVC MD0223)
USR/TI Kermit chipset: the 3Com/USR 3CP5610 family, which includes models 5613, 5609, and OEM models 2976, 2977, and 3258,
TOPIC TP560i chipset: Zoom 2920 (Digitan DS550-558) and the Well Communications FM-56PCI-TP (GVC MD0321).
Of course that doesn't mean that someone hasn't got it to work yet. ;)
Does any one out there have one of the modems listed in the above quote working in Linux?

nobrainsadi 12-28-2000 03:03 PM

I am a new convert to Linux brigade from Windoze, i have configured the most of my linux machine but am having problems getting my Yamaha DS-XG sound card and Motorola Sm56PCI modem to get going in Linux. I cant stand long without music and net so both are critical...can any1 help


All times are GMT -5. The time now is 11:47 PM.