LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-30-2007, 01:28 AM   #1
mtravis
LQ Newbie
 
Registered: Oct 2007
Posts: 20

Rep: Reputation: 0
RHEL - kernel-devel, repos and cml tools.


Hey,

I just purchased Red Hat Enterprise Linux, desktop, two days ago, and so far I am very satisfied. It seems like a firm distro, and it sure is fast and easy to use.

There was a few things "missing" from what there usually is in other distros, and I was hoping that with your help I could fix these problems and enjoy RHEL even more.

The first thing is: As I am trying to install ndiswrapper - I ger a problem with "kernel-devel" not being found, now I am told that with "workstation" included in my RHEL subscribtion I would have this, but I am sure there is another way of getting kernel-devel?

Second: iwconfig, ifconfig, fdisk -l, lsusb, lspci and so on, are not functional, what tools do I need to install?

Third: Trying to install Opera, it complains about libstdc (sorry if it's written wrong, can't remember exactly) not being there, all though it claims to be installed.

Fourth: Repos; I remember in Debian how easy it was to add repos in the apt/sources.list file to get more software, as well as third-party software. Could this be done in RHEL as well, and where can I find a repo that contains up-to-date software, and a lot of it?

That's all for this time, I hope some of you might find some time to answer and help me in any way!

All help is appreciated!

I know these questions might be laying around in this vast collection of threads, but I couldn't locate any of them by searching, neither with Dr. Google.

Thanks!
 
Old 10-30-2007, 08:30 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Quote:
Originally Posted by mtravis View Post
Hey,

I just purchased Red Hat Enterprise Linux, desktop, two days ago, and so far I am very satisfied. It seems like a firm distro, and it sure is fast and easy to use.

There was a few things "missing" from what there usually is in other distros, and I was hoping that with your help I could fix these problems and enjoy RHEL even more.

The first thing is: As I am trying to install ndiswrapper - I ger a problem with "kernel-devel" not being found, now I am told that with "workstation" included in my RHEL subscribtion I would have this, but I am sure there is another way of getting kernel-devel?
One can log in to RHN and manually download and install the kernel-devel and kernel-headers rpm packages (both are required for the dkms-ndiswrapper rpm package ,see below)

https://rhn.redhat.com/network/softw...NVREA&cid=6945
https://rhn.redhat.com/network/softw...NVREA&cid=6945

Quote:
Second: iwconfig, ifconfig, fdisk -l, lsusb, lspci and so on, are not functional, what tools do I need to install?
Yes they are functional, perhaps they are not in your path???
Example:
$ which iwconfig
/sbin/iwconfig

Quote:
Third: Trying to install Opera, it complains about libstdc (sorry if it's written wrong, can't remember exactly) not being there, all though it claims to be installed.
Use yum to assit you, for example:
yum whatprovides <something_here>
yum install compat-libstdc++

Quote:
Fourth: Repos; I remember in Debian how easy it was to add repos in the apt/sources.list file to get more software, as well as third-party software. Could this be done in RHEL as well, and where can I find a repo that contains up-to-date software, and a lot of it?
See: http://wiki.centos.org/Repositories

This will help with the ndiswrapper issue, after installing the rpmforge-release package simply type as root:

yum install dkms-ndiswrapper

.

Last edited by Lenard; 10-30-2007 at 08:32 AM.
 
Old 10-31-2007, 06:02 AM   #3
mtravis
LQ Newbie
 
Registered: Oct 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks a lot! Just by answering the way you did you improved the satisfaction even more!

About ndiswrapper: I got a fatal error saying the module ndiswrapper is not found, I tried with the correct path /usr/sbin - well, unless you wanna go in on that further you could advice on how to get a RaLink card working, it has the RT2500 chipset - I found a how-to for CentOS 5, and I assume that how-to could work on RHEL 5 as well, since they are built on the same foundation(?).

I will concider using RHEL on a laptop with that specific wireless card.

Hope you might be able to help!

Thanks a lot!
 
Old 10-31-2007, 08:31 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You can try this driver instead: http://rt2x00.serialmonkey.com/wiki/index.php/Downloads
 
Old 10-31-2007, 12:42 PM   #5
mtravis
LQ Newbie
 
Registered: Oct 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks again! I was in to that site earlier, but was not able to find any how-to's? Do you know of any?

I got a problem with a folder with 2.6.18.5rl not being found, kernel-related I guess?

By the way, do you have any idea about the ndiswrapper not being found?
 
Old 10-31-2007, 02:32 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
See: http://www.linuxquestions.org/linux/...iver_in_Fedora
 
Old 11-01-2007, 02:45 AM   #7
mtravis
LQ Newbie
 
Registered: Oct 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks! I am able to send network information, but I can not receive anyhting, all though I am able to locate my network SSID. The connection is set up through a WPA connection. Do I need to configure it manually with if/iwconfig? If so, how are WPA connections managed? I am only familiar with configurating WEP-connections from the command-line.

Thanks!
 
Old 11-01-2007, 07:23 AM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
First make sure you can establish a connection without encryption, after this is done you can enable WPA again. There are a large number of threads on this forum discussing WPA configuration/setup, also one can use goolge for assistance, for example;

http://linux.byexamples.com/archives...r-wifi-access/
 
Old 11-05-2007, 05:03 AM   #9
mtravis
LQ Newbie
 
Registered: Oct 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Lenard,

Thanks again. All though that didn't quite help, I am back with the ndiswrapper issue. On RHEL5 I was able to install ndiswrapper, and the drivers for my wireless USB device. During modprobe, I get "FATAL error: module ndiswrapper not found" - and that is no matter what procedure I choose to use.

I have done this so far:

#/usr/sbin/ndiswrapper -i mydriver.inf
#cp /path/to/mydriver.inf /etc/ndiswrapper
#/usr/sbin/ndiswrapper -m
#modprobe /usr/sbin/ndiswrapper
#FATAL error: module ndiswrapper not found.

What is going wrong here? And how do I enable ndiswrapper?

One more thing, on iw/ifconfig shows wlan0 - but the network manager does not - so I am bascially not able to configure that connection.

Any ideas?

Thanks!
 
Old 11-05-2007, 06:51 AM   #10
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Then as root simply create an ifcfg-wlan0 file, example below;

Code:
TYPE=Wireless
DEVICE=wlan0
HWADDR=
BOOTPROTO=dhcp
IPADDR=
NETMASK=255.255.255.0
GATEWAY=
DHCP_HOSTNAME=
DOMAIN=
ONBOOT=yes
ONHOTPLUG=no
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
ESSID=
CHANNEL=
MODE=
RATE=
Make sure that you also have a line entry in the /etc/modprobe.conf file like:

alias wlan0 ndiswrapper

.
 
Old 11-05-2007, 08:27 AM   #11
mtravis
LQ Newbie
 
Registered: Oct 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks.

Where do I create this ifcfg-wlan0 file?

Will that fix the problems with the module for ndiswrapper not being found?
I will try this as soon as I get home from work. Will let you know how it went!
 
Old 11-05-2007, 11:56 AM   #12
mtravis
LQ Newbie
 
Registered: Oct 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Ok, this is what I get:
"Determining IP information for wlan0... failed; no link present. Check cable?"
When I try to activate the connection. The device stops falshing with the lights when I come to this point of IP receiving.

What could be wrong? I've tried to manually add the IP address to the config file, but to no luck as you can see.
 
Old 11-05-2007, 12:44 PM   #13
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
The ifcfg-wlan0 file goes into the /etc/sysconfig/network-scripts directory.

Edit the ifcfg-wlan0 file then, example changes:

BOOTPROTO=
IPADDR=192.168.1.11
NETMASK=255.255.255.0
GATEWAY=192.168.1.1

Since your using a static IP address the BOOTPROTO line should be blank or the value to be none, example;

BOOTPROTO=none

The GATEWAY line is the insternal IP address of your wireless router, some wireless routers and not very Linux friendly and this value may be required.

Please adjust the IPADDR and GATEWAY lines to your actual needs.

In addition some wireless routers also require the ESSID line value to be filled in, example:
ESSID=MyRouter
 
Old 11-05-2007, 01:37 PM   #14
mtravis
LQ Newbie
 
Registered: Oct 2007
Posts: 20

Original Poster
Rep: Reputation: 0
I tried that, still no luck. It does not, however, complain about the IP not being found, now, the SELinux alert pops up, I think it might be denying the wlan0 config file. I tried to run #dhclient wlan0 from a terminal and that message came up.

Secondly, maybe I am not quite correct about the IPADDRESS and the correct GATEWAY - how can I find out what is really the correct entries?
 
Old 11-05-2007, 02:05 PM   #15
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
It would help if you could post the output from the commands you use in the future.

As root type: iwlist wlan0 scan

For the IP address and Gateway info contact your system administrator or review your manual for the router or use the routers built in web interface.
 
  


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
Fedora 7 doesn't install with devel tools or gcc? comcastuser Fedora - Installation 5 08-17-2007 11:36 AM
qt devel tools 4.2 Fond_of_Opensource Linux - Desktop 1 07-24-2007 02:52 AM
bwm-tools in RHEL 4 AS spice_prash Linux - Software 3 04-21-2007 11:03 AM
How do I install apt-get without package program or devel tools? joshfields Linux - Software 2 06-05-2006 04:36 PM
finding glibc-static-devel for mandrake linux 9.1 for modules-init-tools jarin scott Linux - Software 0 01-29-2005 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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