LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

Reply
 
Search this Thread
Old 10-04-2003, 10:40 AM   #1
Jakeyboy
LQ Newbie
 
Registered: Oct 2003
Location: Craptacular Wales
Distribution: Mandrake 9.2
Posts: 24

Rep: Reputation: 15
Question 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

Last edited by Jakeyboy; 10-04-2003 at 10:41 AM.
 
Old 10-04-2003, 11:22 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
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.
 
Old 10-04-2003, 11:39 AM   #3
Jakeyboy
LQ Newbie
 
Registered: Oct 2003
Location: Craptacular Wales
Distribution: Mandrake 9.2
Posts: 24

Original Poster
Rep: Reputation: 15
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.

Last edited by Jakeyboy; 10-04-2003 at 01:15 PM.
 
Old 10-05-2003, 08:09 AM   #4
Jakeyboy
LQ Newbie
 
Registered: Oct 2003
Location: Craptacular Wales
Distribution: Mandrake 9.2
Posts: 24

Original Poster
Rep: Reputation: 15
*BUMP*
 
Old 10-06-2003, 09:13 PM   #5
Glooba
Member
 
Registered: Aug 2003
Distribution: Slackware 10
Posts: 35

Rep: Reputation: 15
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.
 
Old 10-07-2003, 05:21 AM   #6
Jakeyboy
LQ Newbie
 
Registered: Oct 2003
Location: Craptacular Wales
Distribution: Mandrake 9.2
Posts: 24

Original Poster
Rep: Reputation: 15
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?
 
Old 10-07-2003, 09:41 AM   #7
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,310

Rep: Reputation: 139Reputation: 139
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.
 
Old 10-07-2003, 12:32 PM   #8
Jakeyboy
LQ Newbie
 
Registered: Oct 2003
Location: Craptacular Wales
Distribution: Mandrake 9.2
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 10-07-2003, 03:59 PM   #9
Glooba
Member
 
Registered: Aug 2003
Distribution: Slackware 10
Posts: 35

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the kernel headers needed for Ndiswrapper? gandhi Debian 2 03-19-2005 08:02 PM
nvidia drivers not installing due to problems with the kernel source bcf2 Mandriva 1 01-16-2005 04:33 PM
Installing Modem Drivers (wrong RM headers I fear)? r3sistance Linux - Newbie 1 12-13-2004 06:51 PM
installing kernel source re 536ep modem maximillion78 Linux - Newbie 4 08-03-2004 06:59 PM
I'm installing a modem source but kernel... Mr_C Linux - Software 6 03-27-2004 01:32 PM


All times are GMT -5. The time now is 09:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration