LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-05-2004, 03:45 PM   #1
Corallis
Member
 
Registered: Jan 2004
Location: EST
Distribution: Slackware 10.0
Posts: 150

Rep: Reputation: 15
Enabling Crypto Library Support


During a guide I am following to configure my wireless network card driver, it tells me to do the following:

Quote:
As such, in order to use WEP you must enable the Crypto
library support (CONFIG_CRYPTO) and the following algorithms:

ARC4 cipher algorithm
CRC32
I, however, do not know what it is talking about. I am running Slackware 10, with kernel 2.6.7. I tried accessing the Crypto control center in X, and that seemed to just be for SSH. I have no idea how Im supposed to go about doing this, so if anyone could help Id greatly appreciate it. Thanks.
 
Old 07-05-2004, 04:44 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
it means to enable that in the kernel configs, and get that stuff compiled (or add it as a module, just as long as its running when that WEP thingy runs)

CONFIG_CRYPTO is pretty straight forward in the kernel configs, in menuconfig it has a place all of its own (if i remember right, so it should be to hard to find)
 
Old 07-11-2004, 10:17 PM   #3
jisoo23
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora Core 1
Posts: 5

Rep: Reputation: 0
Hello,

I'm running into the same problem here. I'm using this same tutorial to configure my wireless card for a Dell Inspiron 600m with Fedora Core 2. I don't quite understand what these instructions mean for kernel configuration. I believe they refer to a command called "make menuconfig" but after searching around I couldn't find anything referring to "menuconfig". The "make" command doesn't find it anywhere. Can anyone provide some finer detail please?

Thanks,
Jisoo23
 
Old 07-11-2004, 10:36 PM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
make is a command that reads the file Makefile , then does at it says ...

in the case of the kernel, "menuconfig" is a command defined in the makefile .. what it does is compile, and execute a program that uses ncurses to display a nice text based GUI so people can browse thru a list of options and configure there kernel

before menuconfig you had to use "make config" which takes a long time, and you cant skip around, so if you messed up, you had to do it all over again

to configure the kernel (assuming this is not a clean kernel (it was already configured, and has been used to generate a kernel before) then type
Code:
su
<root password>
cd /usr/src/linux
make clean
make menuconfig
<go thru and select what is needed>
make bzImage,modules,modules_install
cp {System.map,arch/i386/boot/bzImage} /boot
lilo
that assumes your using an x86 pc, with the lilo boot loader, as well as /usr/src/linux being a symlink to your current linux tree

if this is your first time compiling a kernel then do this instead (after downloading, unpacking, and adding any patches you want to the kernel, and making /usr/src/linux symlink)

Code:
su
<root password>
cd /usr/src/linux
make mrproper
make menuconfig
<go thru and select what is needed, as this is a fresh build, you need to go tru everything, top to bottom is best>
make dep,bzImage,modules,modules_install
cp {System.map,arch/i386/boot/bzImage} /boot
lilo
 
Old 07-11-2004, 11:03 PM   #5
jisoo23
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora Core 1
Posts: 5

Rep: Reputation: 0
Thanks for the info! Ok I ran "make mrproper" but it gave me an error (shown below):

Code:
[root@localhost build]# make mrproper
  CLEAN   init
  CLEAN   .tmp_versions
  CLEAN   include/asm-i386/asm_offsets.h
scripts/Makefile.clean:10: Documentation/DocBook/Makefile: No such file or directory
make[1]: *** No rule to make target `Documentation/DocBook/Makefile'.  Stop.
make: *** [_mrproper_Documentation/DocBook] Error 2
I'm not sure what this means...then I ran "make menuconfig"....selected the two items....then saved and exited the menuconfig. But then when I ran "make" like it told me to, I got another set of errors:

Code:
[root@localhost build]# make
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/asm-i386/asm_offsets.h
/bin/sh: line 1: arch/i386/kernel/asm-offsets.s: No such file or directory
  UPD     include/asm-i386/asm_offsets.h
mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory
make: *** [include/asm-i386/asm_offsets.h] Error 1
Does anyone know what's going on?

Thanks,
Jisoo23
 
Old 07-11-2004, 11:18 PM   #6
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
I'm guessing thats a fresh kernel?

go download one from www.kernel.org and see (note: if fedora uses there own special kernel, use that, but install using the first instruction set)

if you got the kernel from kernel.org then use the 2nd instruction set

edit: O and important if you use the kernel.org kernel (im not sure if this applys to distro specific kernels)

you must go thru everything (top to bottom so you dont get lost) and check / uncheck what you need to in menuconfig

Last edited by SciYro; 07-11-2004 at 11:36 PM.
 
  


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
Enabling Hardware Acceleration Support for Intel 82865 Integrated VGA saqib Linux - Hardware 1 09-20-2004 05:15 AM
enabling sata support for silicon image on kernel 2.6.2 fobius Linux - Software 3 02-06-2004 07:12 AM
Enabling APMD Kernel Support mackid97140 Linux - Laptop and Netbook 4 09-16-2003 12:52 PM
Enabling ATA 133 support under mandrake 8.2 denbark3725 Linux - Newbie 0 06-17-2002 03:33 PM
Enabling USB mouse support in kernel 2.4 Craigwd Linux - Software 3 12-22-2001 05:43 PM


All times are GMT -5. The time now is 11:45 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