Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
for the redhat 7.2 i was just trying to show examples
of the filenames. i think he has redhat 9.
it would be an individual package. gcc3something.
we know it's installed because you compiled the pctel
modules with it. i haven't used the package manager
that comes with redhat now, so i don't know what
to tell you to click.
rpm -e gcc* --nodeps --force
i think would get it for sure.
the packages add/remove program is using rpm
in the background.
if you do that command above, you can then install
gcc-2.96 something, then redo your pctel stuff.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
i have no idea, but where you got before, with
the modules installed, would have been it, if you
didn't have gcc3 installed, but we didn't know that.
you just have to do the same thing with the older
compiler.
I'm back to the same error again. I must configure my kernel. I just reinstalled Redhat Linux 9. I want them drivers installed. Please reply back. Thanks.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
you don't have to configure your kernel. that kernel
that comes with redhat is preconfigured. you just
have to install the kernel source.
if you've installed the kernel source you can make a
symlink with that ln -s /usr/src/linux-2.4.20-8 /usr/src/linux
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
there is a file inside that pctel-0.9.6 directory
called INSTALL. you can open it with a text editor
or word processor. if you are getting the error about
"you need to configure your kernel source" then that
means the pctel software cannot find the kernel source.
the other option is to type the full kernel path into
the configure command
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
the contents of the INSTALL file
PCTEL Linux PCI driver, version 0.9.6
-------------------------------------
Description
-----------
This package contains the PCTEL driver for various PCTEL modems for linux.
It is meant for kernel 2.4.x, up to 2.4.18 so far.
Installation
------------
0) Unpack the tarball by typing "tar zxvf pctel-0.9.6.tar.gz"
1) Go into that directory by typing "cd pctel-0.9.6"
2) Find out what chipset you have in your board:
3) ./configure
Options:
--with-hal=hal
Select one of: pct789, cm8738, i8xx, sis, via686a
--with-kernel-includes=/path/to/my/kernel-sources/include
If you don't have your kernel sources at /usr/src/linux, specifiy
your includes
4) Compile the modules by typing "make"
5) If everything went fine, get root by typing "su"
7) Install the drivers by typing "make install"
8) You are now ready to use your modules.
Type "insmod pctel" and "insmod ptserial".
You should see in your logs ("tail /var/log/messages") something like:
May 16 23:28:17 suba kernel: PCTel initialization. Country code is 2.
May 16 23:28:17 suba kernel: PCTel device[00:11.0](0x88) found "PCTel Inc HSP MicroModem 56 $
May 16 23:28:17 suba kernel: PCTel driver version 0.9.6 [5.05c-4.27.215 (09-14-2001)]] (PCT7$
May 16 23:28:17 suba kernel: PCTel driver built on [Linux 2.4.8 i686 unknown] with [2.95.3].
May 16 23:28:17 suba kernel: ttyS15 at 0xe800 (irq = 9) is a PCtel
Notes:
You can always uninstall the modules by typing "make uninstall". If you
need to recompile the modules, "make clean" and "make" are your friends.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
then the kernel source isn't installed.
but i think the path is
is /usr/src/linux-2.4.20-8/include
notice the dash before the 8, not a period.
if you typed a period, it shouldn't have worked.
if you typed the path right, then the source isn't installed.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
ok, i'm gone for the day now.
don't forget what snagged you yesterday.
you have to have the kernel source installed.
you have to have gcc-2.9something installed but
not have 3.0something installed. you almost had
it yesterday, if redhat had compiled that kernel with
gcc-3.0 then it would have worked. you just have to
get those modules compiled with gcc-2.9X.
when you get them compiled and installed
the insmod commands will load the modules.
you will have to do that every time you boot linux, until
you change some settings to get them to load
automatically.
You might can get MasterC to help you if you are lucky.
He's very good at explaining things to newbies.
I'm thinking about going to PM MasterC. I don't see anything about PM. You know Private Message. It's a really quick question for anyone. Where is the PM located at in this site??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.