Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
|
 |
06-13-2003, 04:15 AM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: Tempe
Distribution: Mandrake 9.1
Posts: 6
Rep:
|
Problems with PC-Tel 1789 Micromodem Drivers
I'm not going to lie to you nice folks: I am an utter amature when it comes to using linux. My (current) problem is that I can't get my modem to work. I have download the drivers, unpaked but can not get them to run properly. Below is information on both my distro and my modem.
Modem info:
Make: Pragmatic (Lectron) PCI micromodem
Chipset: PC-Tel 1789
Distro:
Mandrake Linux 9.1
Any help you can offer me would be apreciated.
Thank you.
|
|
|
06-13-2003, 11:17 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
If there where any instructions in the package with the drivers, show us the error output from what you tried following those instructions.
|
|
|
06-13-2003, 11:35 AM
|
#3
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
I hope this doesn't seem off-topic... Isn't the PCTel a Winmodem, that is, a software modem? I had one in my Windows days. It was awful. The best computer money I ever spent was the few dollars it took to buy a totally hardware modem to replace it. No more computer hangups, slowdowns, failure to retrieve files, etc.
Sorry not to be answering the question, but from my own painful experience I just wanted to suggest moving to a hardware solution--if yours isn't.
|
|
|
06-13-2003, 04:05 PM
|
#4
|
LQ Newbie
Registered: Jun 2003
Location: Tempe
Distribution: Mandrake 9.1
Posts: 6
Original Poster
Rep:
|
Jonr is completely right, the Pc-Tel 1789 architecture is a Win modem. However I have found a driver for my modem. The driver is called pctel-0.9.6.tar.gz, I found it on this site http://linmodems.technion.ac.il/pctel-linux/. My new problem is getting it to install. I unpaked, went into the new directory and used the command:
./configure --with-kernal-includes=/usr/src/linux/include --with-hal=pct789
It then ran for a few seconds then gave me the error modversions.h is missing - you should configure your kernel first! (The exclamation point is from the program not me).
Once again I am a complete newbie in the whole linux field. Any assistance with this problem (even if it is just pointing me to a thread which has delt with this problem before) would be greatly apreciated.
Thank you.
|
|
|
06-13-2003, 05:43 PM
|
#5
|
Moderator
Registered: May 2001
Posts: 29,415
|
Well, it's in the FAQ:
8. Compile error: no modversions.h
----------------------------------
If you see something like:
configure: error: modversions.h is missing - you should configure
your kernel first!
then, you either have:
a) not installed your kernel sources --> install them
b) your kernel sources at a different path --> specify the path with:
./configure --with-kernel-includes=DIR
c) no "modversions.h" in your kernel sources -->
create the modversions.h by running
$ cd [...] (where you have your kernel sources, default is
/usr/src/linux)
$ make dep
this should make you a modversions.h in [...]/linux/include/
If this did not work, an ugly hack is to create an empty file there:
$ mkdir -p [...]/linux/include/linux
$ touch [...]/linux/include/linux/modversions.h
Hope that get's you goin.
|
|
|
06-14-2003, 12:53 AM
|
#6
|
Member
Registered: Jun 2003
Location: Louisiana
Distribution: Fedora 1
Posts: 60
Rep:
|
first off, if you hvaen't already found this somehwere here's what you need to type to (according to the instrucitons)
tar zxvf /path to file
#it will create a new file (pctel-0.9.6) in the same directory as the tarball file go to it
cd /that file
./configure --with-hal=your chipset --with-kernel-includes=wherever ur kernel includes are (see modversion.h proble abouve)
make
make install
insmod pctel
insmod ptserial
if all tha tworks /w no errors your good to go
I just finished working on getting my pctel to work (using pctel-0.9.6.tat.gz.) I had mandrake for a while i was able to get to make and then ran into some errors. I switched to redhat and it work out alright. Good luck
|
|
|
06-14-2003, 03:56 PM
|
#7
|
LQ Newbie
Registered: Jun 2003
Location: Tempe
Distribution: Mandrake 9.1
Posts: 6
Original Poster
Rep:
|
I found the modversions.h files (there is one in /usr/include/ and one in usr/include/linux) however when I point the ./configure file to either of these directories it still say that modversion.h is neither usable or present. Is it possible that when I installed Mandrake that it did not install the kernel sources? And if this is the case how would I go about installing them?
Thank you for your patience.
Last edited by Gr3y; 06-14-2003 at 04:03 PM.
|
|
|
06-14-2003, 11:46 PM
|
#8
|
Member
Registered: Jun 2003
Location: Louisiana
Distribution: Fedora 1
Posts: 60
Rep:
|
from what i've gathered reading stuff on the internet i think its possible that the kernel sources aren't inlcuded (although i doubt that's the problem) I also ran into what ur saying. try pointing it to /usr/src. if that doesn't work try the ugly back way talked about up there somewhere, i think thats what finally worked for me
|
|
|
All times are GMT -5. The time now is 06:32 AM.
|
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
|
|