LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   can't install Internal PCI Modem but I have the drivers for Linux (https://www.linuxquestions.org/questions/linux-hardware-18/cant-install-internal-pci-modem-but-i-have-the-drivers-for-linux-123722/)

poeta_boy 12-07-2003 09:21 PM

can't install Internal PCI Modem but I have the drivers for Linux
 
Hello:

I had a modem but It woulnd't work with Linux. I bought one that said: Special for Linux and installed it. It's working perfectly with Windows.

It had three files for Linux. An rpm, a source rpm and a source tar.

I did the rmp thing and after installing it says I have to write at console:

hsfconfig.

I do that and this is what I've got:

Linux HSF softmodem drivers, version 4.06.06.02

No pre-built HSF modules are available for your exact kernel:
Linux-2.4.22-10mdk-i686-Mandrake-9.2-MODVERS

Assuming that a C compiler and proper kernel header files are present
on your system, we will now attempt to re-compile the modules.

Where is the directory of C header files that match your running kernel?
[/usr/src/linux]


WARNING: missing file /usr/src/linux/include/linux/autoconf.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).

First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.

The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).

Verify that the proper options for your system are selected,
and that CONFIG_SMP ("Symmetric multi-processing support" under
"Processor type and features") is disabled, as this driver is
presently designed to work on single-processor machines.

Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hsfconfig".



I'm using Mandrake 9,2 and I installed EVERYTHING hehe even things I know I won't use. What happened?

Thanks

ac1980 12-07-2003 09:51 PM

try a 'locate include/linux/autoconf.h'
then symlink proper directory as /usr/src/linux

for ex.:
bash-2.05b$ locate include/linux/autoconf.h
/usr/src/linux-2.6.0-test6/include/linux/autoconf.h
ln -sf /usr/src/linux-2.6.0-test6 /usr/src/linux

iantri 12-07-2003 10:19 PM

Mandrake dropped the kernel sources from the install CDs because of space constrains -- I think a bad idea, but..

You can get it from their FTP server or local mirror.. like this:

http://gulus.usherb.ca/pub/Mandrake/...10mdk.i586.rpm

After installing that it should work.

vinay_s_s 12-07-2003 11:44 PM

Just download the kernel sources rpm , install it and then try again (it mostly will work!)
All the best


All times are GMT -5. The time now is 04:16 AM.