Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
b. Make sure you have the kernel 2.4.x source code. I believe I do.
I would like you to run 'uname -r' just to check that the kernel you are running is the one you have the source to. It should be really since I doubt you have upgraded your kernel since you installed! But no harm in checking...
I dunno, but maybe you need a configured kernel source. In otherwords, go to your kernel directory and type 'make menuconfig' as root and then exit and save.
c. should be fine. You can check that the link exists by doing:
Code:
ls -l /usr/src
and checking that there is a linux-2.4 and that it points to the 2.4.22 directory.
Quote:
d. Type "make"
I get, "make: Nothing to be done for 'all'."
I am assuming I am to be in the wireless_tools.26 when I type "make"
Nope, this time its from the directory that was created when you untarred 2635ADM8211.tar.
would like you to run 'uname -r' just to check that the kernel you are running is the one you have the source to. It should be really since I doubt you have upgraded your kernel since you installed! But no harm in checking...
------------------------------------
typed
uname -r and got
2.4.22-1.2115.npt1
------------------------------------------------------
I dunno, but maybe you need a configured kernel source. In otherwords, go to your kernel directory and type 'make menuconfig' as root and then exit and save.
c. should be fine. You can check that the link exists by doing:
code:
--------------------------------------------------------------------------------
ls -l /usr/src
------------------------
I just typed
code:
-----------------------------
cd /usr/src
and then
code:
----------------------------
make menuconfig
-----------------------------
I got "Make: *** No rule to make target 'menuconfig' . Stop."
-----------------
typed
code:
--------------------------------
l /usr/src
------------------
I got
-----------------------
total 4
drwxr-xr-x 7 root root 4096 May 10 16:17 redhat
If you have a directory there called somthing like linux-2.4.22 then you have the source. Don't confuse the directory for the link called linux-2.4, which should be pointing to it.
I am not sure what the best way for you to do this is. I would definitely NOT recommend moving any files around because it might break some Red Hat stuff, I have no idea what sort of strange things Red Hat gets up to...
What you might be able to do is make a link, so that the files appear to be in both places at once. You can do this without modifying any existing files. To do this, first you need to find the right directory. The directory probably contains a file called REPORTING-BUGS, so you could search for that file:
Code:
$ locate REPORTING-BUGS
If no results are returned, it might be because your locate database is not up-to-date, so try doing updatedb as root first (this will take some minutes), then run the locate command again. If you still get no results, it's because the file doesn't exist.
The path you need is everything between the first and last slashes, inclusive /usr/src/...../, which I will refer to as /path/to/your/sources/ form now on, but you need to type in the correct path! Check that you have the right path:
Code:
$ ls /path/to/your/sources/
COPYING Makefile System.map include lib scripts
CREDITS README arch init mm vmlinux
Documentation REPORTING-BUGS drivers ipc net
MAINTAINERS Rules.make fs kernel patches.txt
(actual contents of this directory could vary slightly)
Now create a link to this directory:
It turns out I had to install gcc32 and the kernel source.
I followed the directions in step 5. I am past 5! Woo hoo!
During the compile it did warn me about tainting the kernel. Darn it I meant to copy and include it in this before rebooting, sorry. I think it was just informational.
---------------------------------------------------------
5. If you get the source code and you want to compile it by yourself.
a. Install wireless-tool by yourself.
(We recommand wireless-tools-25)
b. Make sure you have the kernel 2.4.x source code.
c. You can modify the Makefile to fit your enviroment. We recommad
you make a soft link linux-2.4 of kernel source in /usr/src/
eg. If you had kenrel source linux-2.4.20 in /usr/src/
type "ln -s linux-2.4.20 linux-2.4"
d. Type "make"
e. The file 8211.o is the ADM8211 linux driver
f. "insmod 8211.o" to test your linux driver
(If you encounter some error messages, please try "insmod -f 8211.o")
-------------------------------------------------
I may need help with the final step.
I am rebooting.
------------------------------------------------
6. Reboot your system and use the command "netconfig" to configure your
network.You may need start network using "/etc/rc.d/init.d/network start" to take effect.
You can use either iwconfig or kwifimanager(In KDE) to setup up your
wireless lan.
---------------------------------------------------------------
Thanks again, Muzzy. I counldn't have gotten this far without you!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.