LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-02-2004, 02:13 PM   #1
The Pentium Guy
Member
 
Registered: Oct 2004
Distribution: Debian Sid (Unstable)
Posts: 41

Rep: Reputation: 15
Microsoft products on Linux ;)


Hey guys,
I just got an MN-510 (Microsoft Wireless Network Adapter), and I just recently installed Suse 9.1.

I realize that in order to use wLan (the driver for this adapter), you need to "compile the kernel source tree". SuSe uses kernel version 2.6. Could someone please give me instructions on

a) Where to get the kernel (also remember, I don't have internet on my linux machine - so should I take it from my other computer and burn it to a cd or floppy)

b) How to "compile the source tree" (or something like that). If possible, could you please give me *detailed* instructions rather than say "do this", if its possible - can you give me the line to type in that does it?

c) What do do next, if applicable.

Thanks,
-The Pentium Guy
 
Old 10-02-2004, 02:28 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
http://kernel.org/pub/linux/kernel/v....6.8.1.tar.bz2

will download full sources for kernel 2.6.8.1

you then want to read up a little, but the basics are:
-> put the archive in /usr/src
run:
-> bunzip2 linux-2.6.8.1.tar.bz2
-> tar -xvf linux.2.6.8.1.tar
-> rm linux
-> ln -s linux-2.6.8.1 linux
-> cd /usr/src/linux
-> make xconfig
^^ Take some time here -- this is where you configure the kernel for your system
-> make
-> make modules_install install
^^ the commands for 2.6.x are different from older kernels! (i'm not looking at the docs right now, but i think these are correct.

-- your kernel is now (hopefully) compiled

now you need to install it, i'll assume you have lilo
-> cp /usr/src/linux/arch/<i386?>/boot/bzImage /boot/2.6.8.1
edit /etc/lilo.conf and put in an entry for the new kernel
-> lilo
^^ now lilo is configured, and you can reboot to try out the new kernel

Last edited by secesh; 10-02-2004 at 02:33 PM.
 
Old 10-02-2004, 02:36 PM   #3
The Pentium Guy
Member
 
Registered: Oct 2004
Distribution: Debian Sid (Unstable)
Posts: 41

Original Poster
Rep: Reputation: 15
Wow quick reply... thanks

-I'll give this a shot later on tonight, although I'm not sure about Lilo - what do you mean by "put in an entry for the new kernel"? Do i simply type in the Kernel Version number?

thanks in advance,
-Pent
 
Old 10-02-2004, 02:50 PM   #4
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
http://www.linuxquestions.org/questi...icle&artid=213
Quote:
Making the entry in bootloaders (lilo or grub)

If ‘Lilo’ is the bootloader then do the following

bash# man lilo
bash# man lilo.conf

In /etc/lilo.conf file add the following lines
image=/boot/bzImage
label=User_Defined_Kernel
root=/dev/hda1
read-only

After editing /etc/lilo.conf
bash# /sbin/lilo


If ‘Grub’ is the bootloader

In /etc/grub.conf add the following

title Red Hat Linux (2.4.18-19.8.0.19mar2003)
root (hd0,8)
kernel /boot/bzImage ro root=/dev/hda1
Hope it helped
Boby
 
Old 10-02-2004, 03:10 PM   #5
The Pentium Guy
Member
 
Registered: Oct 2004
Distribution: Debian Sid (Unstable)
Posts: 41

Original Poster
Rep: Reputation: 15
Ahah! awesome .
So Label would be 2.6.8.1

According to the steps above, would this line still be right?
image=/boot/bzImage

I'm not too sure about that o_O...

I'm going to try this right now , thanks for the help

The Pentium Guy
 
Old 10-02-2004, 04:14 PM   #6
The Pentium Guy
Member
 
Registered: Oct 2004
Distribution: Debian Sid (Unstable)
Posts: 41

Original Poster
Rep: Reputation: 15
Ah man!! What the heck! After extracting the files, it claims that there's no such thing as:

-> make xconfig

and i'm in the /usr/src/linux/ directory. I even tried make menuconfig.
I went over and looked in that directory.. and there was a bunch of textfiles saying MakeFile and such..

Does the xconfig or menuconfig exist inside a subfolder of the linux directory?
-Thanks a lot

-The Pentium Guy
 
Old 10-02-2004, 05:11 PM   #7
The Pentium Guy
Member
 
Registered: Oct 2004
Distribution: Debian Sid (Unstable)
Posts: 41

Original Poster
Rep: Reputation: 15
For a list of folders included:

usr/
sound/
security/
scripts/
net/
mm/
lib/
kernel/
ipc/
init/
inlude/
fs/
drivers/
Documentation/
crypto/
arch/

The files in it:
REPORTING-BUGS
README
Makefile
MAINTAINERS
CREDITS
COPYING

Unfortunately I couldn't find any xconfig or menuconfig on either one of those... Is it possible that the file you linked me to was wrong?

Pent
 
Old 10-03-2004, 03:10 AM   #8
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
make xconfig | make menoconfig | make oldconfig | make whatever...

you are not supposed to see a file called xconfig or menuconfig....

there is no file to link; we (or I) told you to link /usr/src/linux to your extracted source of the kernel.

anyways, do the following as root:
Code:
cd /usr/src/linux
make xconfig
**if you don't know what I mean, specify your question, otherwise post the output to this thread...
 
Old 10-03-2004, 08:19 AM   #9
The Pentium Guy
Member
 
Registered: Oct 2004
Distribution: Debian Sid (Unstable)
Posts: 41

Original Poster
Rep: Reputation: 15
I understand what you mean man .
Just for some reason it says command or file does not exist..

I'm getting the feeling that SuSe didn't install the Make command !!
I typed in make --version and make -version, and neither work!

-The Pentium Guy
 
Old 10-04-2004, 02:49 PM   #10
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
ah -- your problem is with make
run:
which make

not found, huh?
does suse have a package manager? i've never run that build...
 
Old 10-04-2004, 05:19 PM   #11
The Pentium Guy
Member
 
Registered: Oct 2004
Distribution: Debian Sid (Unstable)
Posts: 41

Original Poster
Rep: Reputation: 15
I just realized that SuSe doesn't come with it . Not found - you're right.
I'm switching to Debian (woohoo 7 CD's.. it will DEFINATELY come with make eh?).
And I'm buying an ethernet adapter to save the trouble .

-The Pentium Guy
 
Old 10-04-2004, 05:26 PM   #12
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
well, since you're switching to debian, i won't bother looking up suse/packages for you...

on debian -- i suggest getting a network install disk as you're just going to have to update all the packages after downloading the CDs anyways...

luck.
 
  


Reply



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
Linux Antivirus products? kazmax Linux - Software 5 11-23-2005 01:35 PM
using some microsoft products with linux medic13 Linux - Software 7 06-26-2005 01:42 AM
How not to sell linux products vxc69 Linux - News 1 02-24-2005 10:30 AM
Dedicated to dropping my dependence on Microsoft Products khermans Linux - General 8 11-10-2003 12:33 PM
Microsoft cuts price on its products futurist General 16 04-03-2003 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:26 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
Open Source Consulting | Domain Registration