LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-08-2005, 09:49 AM   #1
das_Schaf
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
Installing drivers?


Hello, I'm quite new to linux.
And this might be quite easy, but please help me, because I don't know how to do this.

I'm using FedoraCore2. The problem is, that FedoraCore2 doesn't know my ISDN-Card (AVM FRITZ-Card v2.0). I used another computer to download the drivers for Linux from the AVM website. I transphered the files (in .tar.gz format) to the PC using linux (and extrakted them into a normal folder). And that's where my question starts:
How do I tell linux to use those drivers??
Or the better question would be
"When I tell the computer to Add an ISDN-Card then I get a menu to select the "Type". How do I get my drivers for AVM FRITZ-Card v2.0 into that list?"

Sorry for the stupid question and the bad explanation.
But Linux is so completely different from windows in this point.

Thanks a lot!
 
Old 02-08-2005, 10:21 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
There should be some sort of README or INSTALL file in the directory you extracted to. That should have the directions for installing the driver.

My guess, and this is only a guess, is that you will go have to compile the driver i.e.:

./configure
make
make install

and then load the module via modprobe:

modprobe <modulename>

Then probably restart your nic card:

/etc/init.d/network restart

I think the service is called network in Fedora but I'm not really sure.

Check out the installation instructions that came with the driver.
 
Old 02-08-2005, 10:33 AM   #3
das_Schaf
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Crashed_Again
My guess, and this is only a guess, is that you will go have to compile the driver i.e.:

./configure
make
make install

and then load the module via modprobe:

modprobe <modulename>

Then probably restart your nic card:

/etc/init.d/network restart
I'm sorry, but could you tell me the same things in normal english once more?
The
"./configure
make
make istall"
Part is completely unclear to me. Do I have to type this somewhere?
Where?
As I said, I'm really new to linux.

And what is "modprobe"?

Thanks again, and sorry for the trouble.
 
Old 02-08-2005, 10:49 AM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

what Crashed_Again means with "./configure make make install" is:
these are the basic classic commands to compile something in linux. this works 90% of the compiling cases.
you open a terminal. make a cd to /what_ever_the_program_source_is_installed
type "./configure" and press enter.this will get some system info. wait a bit.
type "make" and press enter. this will compile the stuff. wait more.
no erros?
"make install" will install it.

but considering how new you are to linux, the reading suggestion is a better way.
make a search aroung LQ. you will find a lot of info.
modprobe is the command to load a kernel module.

no problem asking. glad to help.

best regards

slackie1000

Last edited by slackie1000; 02-08-2005 at 10:51 AM.
 
Old 02-08-2005, 11:58 AM   #5
das_Schaf
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Ok, I found that file.
And thanks to it and the help that you two gave me I managed to do a part of it:

Quote:
Notes for the compilation of the driver sources
(for other distributions/kernels)


In the case of directly supported distributions and versions, one method of
compiling the sources is to run the "make" file in the "fritz" directory
which is created when the driver archive file is extracted. Starting
"make" internally switches to the subdirectory "src" and executes the
"Makefile" located in this directory. The resulting .ko module should be
copied manually into the /lib/modules/`uname -r`/extra directory. For the
running kernel this can be done automatically by entering the command
"make install".

I COULD DO EVERYTHING UNTILL HERE
The compilation combines two components: the source code delivered to implement
the system and a binary, kernel-independent module in the "fritz/lib"
directory.

The hardware driver module (fXYZ.ko) itself can be compiled completely from
the "src" subdirectory, two additional components are required to port the
complete driver archive (consisting of the CAPI drivers, the CAPI tools and
CAPI libraries each in their own rpm archives). These components have existed
in the source code for quite some time now, but they are not part of the driver
archive file (also because of their size).

- The CAPI modules are part of the standard linux kernel. They can be generated
with the standard kernel as long as the correct settings are made in the kernel
configuration.

In order to use this FRITZ!Card driver, a couple of kernel modules are required:
capi.ko, kernelcapi.ko and capifs.ko. The source code for these modules
is part of the linux kernel in directory /usr/src/linux/drivers/isdn/capi and
will be compiled with the kernel if the following settings are found in the
kernel configuration:

CONFIG_EXPERIMENTAL=y

CONFIG_ISDN_CAPI=m
CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=y
CONFIG_ISDN_CAPI_MIDDLEWARE=y
CONFIG_ISDN_CAPI_CAPI20=m
CONFIG_ISDN_CAPI_CAPIFS_BOOL=y
CONFIG_ISDN_CAPI_CAPIFS=m
CONFIG_ISDN_CAPI_CAPIDRV=m

For "make menuconfig" go to "Device Drivers", "ISDN subsystem" and select:

...
<M> CAPI2.0 support[*] Verbose reason code reporting (kernel size +=7K)[*] CAPI2.0 Middleware support (EXPERIMENTAL)
<M> CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support
<M> CAPI2.0 capidrv interface support
...

In addtion to these entries, please enable entry "Prompt for development
and/or incomplete code/drivers" in the very first menu named "Code maturity
level options".

After the kernel's compilation, all CAPI modules can be found in directory
/lib/modules/`uname -r`/kernel/drivers/isdn/capi/

- The CAPI tools and libraries originate from the capi4k-utils package
(in the capi4k-utils-XXXX-YY-ZZ.tar.gz file at
ftp://ftp.in-berlin.de/pub/capi4linux/). Detailed instructions about how to
install the packet are also provided in the "readme" file located here.

The installation copies the compiled modules into the system directory
/lib/modules/X.Y.Z/extra. Then they are loaded by the CAPI tool "capiinit".
This tool requires the information about which cards or card drivers are to
be loaded. An example for the structure of the file /etc/capi.conf can be
found in the driver package for the passive cards or directly in the
capi4k-utils package.
Could someone please "translate" the second part (starting from my remark) into "normal" english? Please excuse me. Eventhough this might be basic I'm unable to understand what I am supposed to do.
Please tell me what I have to do. While explaining please imagine that you are talking to your grandmother. Because thats how easy it will have to get... aproximately.

Thanks a lot again!
 
  


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
installing drivers imakiller Linux - Newbie 6 03-13-2005 04:01 AM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 05:27 AM
help installing drivers wael_nasreddine Linux - Hardware 1 06-22-2004 11:11 AM
installing drivers mickstaff Red Hat 6 03-05-2004 05:41 PM
Installing RAID Drivers before Installing RH 9 kwright Linux - Newbie 3 08-25-2003 09:57 AM


All times are GMT -5. The time now is 07:16 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration