LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-26-2007, 11:41 PM   #1
cbsimpson
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Getting Online in Fedora Core 6


I just did a clean install of FC6 on a newly built machine and I'm trying to get online but have so far met with little success. I am running the x86_64 version and kernel 2.6.18-1.2798.fc6. My ONLY way to get online is over a wireless network, I do not have an accessible wired network. I have a working Mac/Windows Boot Camp laptop that is online. I bought a Wireless USB adapter with the Ralink RT73 chipset and need to get it working. Problem is, all the instructions I find talk about using yum or give instructions that assume that I know a lot about working in the terminal. I would really appreciate instructions that actually tell me what to type to make this work. I can follow directions just assume I know nothing about command lines, I've lived in the GUI my entire life.
 
Old 09-27-2007, 12:37 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Perhaps if you posted the instructions you don't understand or a link to those instructions ... If posible, tell us what you find confusing.
 
Old 09-27-2007, 11:50 AM   #3
cbsimpson
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Here are the instructions I tried to follow

* plug in the hardware and verify that the system recognizes it. “dmesg”
* get the specific hardware details with “/sbin/lsusb,” it should look something like this”
o lsusb
+ Bus 005 Device 002: ID 148f:2573 Ralink Technology, Corp.
* from the above command we can see that it’s a Ralink 2573 model adapter, as we allready know we’re dealing with this chip set integrated on a USB adapter. We are very much in luck because Ralink releases a lot of there code and is a friend to the Open Source community.
* Next we can get the most supported and full featured version of the Ralink driver at http://rt2×00.serialmonkey.com/. While we can also get a version of the driver directly from Ralink however there have been reports of instability.
* Make sure that you download the 73 version of the driver.
o http://rt2×00.serialmonkey.com/rt73-cvs-daily.tar.gz
* as with most, extract the driver, configure it and install it
o tar xvf rt73-cvs-daily.tar.gz
o cd rt73.x.x
o ./configure
o make
o make install
+ optinally you can do a “make install-fedora” however it can sometimes cause other issues
* next insert the module
o first copy the newly created module to the proper directory
+ cp rt73.ko lib/modules/{kernelrev}/drivers/net/Wireless
o now activate the module
+ /sbin/modprobe rt73
* and that’s it, you should now be able to test you’re newly installed wireless adapter.
o /sbin/iwconfig
+ This lists the available wireless adapters, you should see something like rausb0 listed
o /sbin/iwlist rausb0 scan
+ Does a simple scan of the environment looking for AP’s broadcasting an essid
o If you would like to test kismet with the adapter
+ yum -y install kismet
+ /sbin/iwconfig rausb0 mode monitor
+ kismet -c rt2500,rausb0,kismet

now when I cd to the uncompressed folder and type ./configure it gives me an error message.

then I have no idea what this means when it says "make make install" what exactly do I type. then what does insert the module mean and what is the proper directory to copy the newly created module to. what does the line "+ cp rt73.ko lib/modules/{kernelrev}/drivers/net/Wireless" mean and also how do I "activate the module".

if someone could just add some detail to these instructions, tell me what to type?
 
Old 09-28-2007, 01:17 AM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by cbsimpson View Post
now when I cd to the uncompressed folder and type ./configure it gives me an error message.
If you can't get this to work, then everytihing else is irrelevant, so we need to start here. Can you post the error message?

Quote:
then I have no idea what this means when it says "make make install" what exactly do I type.
You probably got this right, but it didn't work because the confiugre step didn't work. But just to be absolutely clear, what you type is:

Code:
make
make install
The make install command needs to be executed as root, so if you are still a regular user, type su (and give root's password when prompted) before make install. I would generally run configure and make as a normal user and su to root for make install, but the normal user, of course, must have write permissision for the directory you ared doing this in.

Quote:
then what does insert the module mean and what is the proper directory to copy the newly created module to. what does the line "+ cp rt73.ko lib/modules/{kernelrev}/drivers/net/Wireless" mean
As best as I can figure out, "insert module" simply refers to the cp (copy) command that follows. {kernelrev} simply referst to your current kernel revision, which you can find out by typing the command:

Code:
uname -r
It might help you understand what you are doing (and hence make the commands a little less mysterious) if I give a brief explanation ... Linux can dynamically load and unload "kernel modules" while it is running to give it more or less fucntionality. (This removes the need to compile every conceivable thing into the kernel, which could result in a huge kernel.) Device drivers are usually compiled as kernel modules (frequently just called "modules"), which is what (when it finally works!) you just did. Each kernel version has its own directory try in /lib/module for the modules that were compiled for it. I sugest you look at this by typing

Code:
ls /lib/modules
If you just have one version of the Linux kernel on you machine, you will only see one directory. Otherwsise you will see one for each kernel version. The cp command copies your newly compile kernel into the correct directory.

So if (for example) uname -r returned 2.6.17-3, you would type:

Code:
cp rt73.ko lib/modules/2.6.17-3/drivers/net/Wireless
Quote:
and also how do I "activate the module".
Again, as best as I can figure, "activating the module" simply refers to loading the module into the running kernel with the command:

Code:
/sbin/modprobe rt73
Both the cp command and the modprobe command command need to be run as root. In other words, you can do the ./configure and make commands as a normal user and then you must become root (using su) to run the make install, cp and modprobe commands. And now that I review this, this sequence of commands sounds a little weird, because usually make install will copy any modules where they need to be, and you wouldn't have a cp command. So I don't know what to tell you about that -- I guess just follow the instructions, but it does seem strange.

But first, you must get the ./configure step to work, so please post the error message that that is giving you.
 
  


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
No Video bios modes for chosen depth in Fedora Core 6 in Fedora Core 6 bubus_world Fedora - Installation 3 10-20-2008 10:30 AM
Setup Fedora core 3 & Redhat 7.2 software development environment under Fedora core 5 powah Fedora 1 06-16-2006 10:25 AM
Upgrade Fedora Core 4 (FC4) to Fedora Core 5 (FC5) hangs vogelap Fedora - Installation 10 05-22-2006 09:00 AM
how to get online with fedora core 2? natm Linux - Hardware 2 09-22-2004 08:10 AM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM

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

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