LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Kernel Source Headers? (help needed installing modem drivers) (https://www.linuxquestions.org/questions/linux-hardware-18/kernel-source-headers-help-needed-installing-modem-drivers-100145/)

Jakeyboy 10-04-2003 10:40 AM

Kernel Source Headers? (help needed installing modem drivers)
 
DISTRIBUTION: SLACKWARE 9.0


I have an Internal PCI Intel 536ep Modem...

I got the drivers off the intel website, and the readme file contains these installation instructions...

-------------------------------------------------------------------------------
3. INSTALLATION

Prerequisites:
1. root access
2. bash shell to run install scripts
3. a 536EP modem
4. KERNEL SOURCE HEADERS FOR THE KERNEL YOU ARE RUNNING.
and programming development tools installed as well

6 steps to install
1. login as ROOT
2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"
3. cd into the directory it created.
4. Type: make clean
5. Type: make 536ep
6. Type: make install


Please examine the 536ep-inst script if you have a different distribution.

---------------------------------------
NOTE: THE DISTRIBUTIONS NAMED EARLIER ON IN THE FILE WERE REDHAT, MANDRAKE AND SuSE
---------------------------------------

The driver is split in two. A serial driver and core driver.
The core driver must be loaded first since the serial driver depends on it.
The serial driver registers itself as character device
major number 240, minor number 1.


ATTENTION: if the driver compiles but the script just wont work for you.
Here are the bare minimum steps to get your modem to work.

0. log in as root.
1. insmod -f 536epcore.o
2. insmod -f 536ep.o
2a. you can start "hamregistry" at this point if you wish.
3. rm /dev/536ep
4. mknod /dev/536ep c 240 1 (note "240" is the default, if it does not
work see what /proc/devices says 536ep's major number is)
5. ln -s /dev/536ep /dev/modem
6. start a comm application like minicom and use the modem.
7. see section 3 (International Users) for info on setting the correct
country settings.
------------------------------------------------------------------------------------


now thats out of the way, lets get to the problem.

firstly, i read these instructions, and hoped for the best...
i got some errors when i typed make 536ep and when i typed make install.

The first part (Prerequisites) says:-
1. root access ----> GOT
2. bash shell to run install scripts ----> what is?
3. a 536EP modem got (duh)
4. KERNEL SOURCE HEADERS FOR THE KERNEL YOU ARE RUNNING.


now, the forth one is what i think is causing the problem

as its in capital, i would expect it to be quite important...

the question is, what are they, and how can i install them (or, just in general how can i make my modem work)?

please help....im very much newbie, so be gentle :newbie:

kilgoretrout 10-04-2003 11:22 AM

You can download the kernel-source for 9.0 here:

http://ftp.man.olsztyn.pl/pub/linux/...0/slackware/k/

Not that familiar with installation in slackware but the first file is an install script with instructions in the comments. Apparently the kernel source is not included in the install disk in order to keep it to just one disk. You need the kernel source to recompile the kernel to include the driver module which is why your getting the error messages.

Jakeyboy 10-04-2003 11:39 AM

So i need to download the source (im quite sure its kernel 2.4.20)

how many file do i need to download?

as far as i can see in the directory posted, there are several kernel files (for kernel 2.4.20), each with a slightly different ending,

...noarch-2.tgz
...noarch-3.tgz

etc

which one(s) do i need?

bear in mind im on 56k

can you point some urls to the files i need, unless theyre on the cd...

if you want to know the contents of the cd i have, say.

Jakeyboy 10-05-2003 08:09 AM

*BUMP*

Glooba 10-06-2003 09:13 PM

Sorry to say but i think you do need the 1, thirty meg kernel source archive, also that directory is not included on the slackware 9 cd so you will have to download the file.

Jakeyboy 10-07-2003 05:21 AM

There are several archives saying they are kernel 2.4.20, can you make a link to the one i need, or do i have to download all of them?

kilgoretrout 10-07-2003 09:41 AM

Downlaod the one that corresponds to your kernel. To determine which kernel your running open a console and run:

$ uname -a

Note the kernel number and the date and download the one that corresponds to yours.

Jakeyboy 10-07-2003 12:32 PM

Do i also get the install-packages and install.end files as well?

then do i just install it using kpagage (or whatever its called)


thanks in advance

Glooba 10-07-2003 03:59 PM

Once you just have the tarball, open up a terminal (Konsole since I think your using KDE), change user to root, (su then enter password) navigate to the directory where you downloaded the tarball and type pkgtool, select current, and when it asks you if you want to install that package select yes.


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