Wikiposts
Search

Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

RedHat Linux question

Thread Tools
 
Search this Thread
 
Old 19th June 2004 | 20:36
  #1 (permalink)  
Thread Starter
25 Anniversary
 
Joined: Nov 2000
Posts: 2,018
Likes: 73
From: Pewsey, UK
RedHat Linux question

I've got RHL 9.0 - don't ask why I've not got Fedora.

I've got the source code for the Prism54 (wireless card chipset drivers) but I think they're in source form.

Anyone got a pointer for a reasonably competent Unix bod on what I need to do next ?

I'm downloading the SRPM iso files as I type . . .
The Nr Fairy is offline  
Old 20th June 2004 | 08:23
  #2 (permalink)  
Evo
20 Anniversary
 
Joined: Sep 2002
Posts: 1,650
Likes: 0
From: Chichester, UK
OK, as nobody else has answered...

First off, i'm a bit confused by

I'm downloading the SRPM iso files as I type . . .
.iso files are for burning onto CD, SRPMs are source RPMs. I'd expect you to get something called filename.src.rpm.

Assuming you have got a .src.rpm, become root, then type

rpmbuild --rebuild filename.src.rpm

this will build the package and, assuming the build worked, it will create filename.rpm - it may be somewhere like /usr/src/packages/RPMS or in the working directory, depends what RedHat are doing these days. The build output should give you a hint as to where the rpm was created. Go there, then type

rpm -ivh filename.rpm

Which should say something like

Preparing... ######################## [100%]
1: filename ######################## [100%]

And there you go
Evo is offline  
Old 20th June 2004 | 09:13
  #3 (permalink)  
Thread Starter
25 Anniversary
 
Joined: Nov 2000
Posts: 2,018
Likes: 73
From: Pewsey, UK
The SRPM iso files are the CD images for all the source - I presume.

So all I need do is find the right sources (once I've burned the CDs) which the Prism driver depends on for the kernel, then install the Prism ones, then it ?should? work ? But it's not quite that simple, I think . . .
The Nr Fairy is offline  
Old 20th June 2004 | 10:36
  #4 (permalink)  
Evo
20 Anniversary
 
Joined: Sep 2002
Posts: 1,650
Likes: 0
From: Chichester, UK
Is there any kind of README on the .iso? That should help you work out what to do

You don't have to burn the .iso to a CD. On Linux you can mount it on the loopback filesystem, as root it's something like

mount -t iso9660 -o ro,loop=/dev/loop0 filename.iso /mnt/iso

(that's from memory - I don't have a Linux box to hand to check it)

filename.iso is the filename of the .iso and /mnt/iso is the mountpoint (you may have to create it). When you are finished looking at the files, unmount with

umount /mnt/iso

My guess is that the SRPMs will create a loadable module is /lib/modules - you can then load it with modprobe ... or is it insmod, I forget
Evo is offline  

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.