LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help plez (https://www.linuxquestions.org/questions/linux-newbie-8/help-plez-75736/)

strider_D_3000 07-27-2003 03:17 AM

the closest one to the orginal kernel is Red Hat 9.0 (Kernel Upgrade) NVIDIA_nforce-1.0-0261.rh90up_2.4.20_9.athlon.rpm
the next one is Red Hat 9.0 NVIDIA_nforce-1.0-0261.rh90up_2.4.20_6.athlon.rpm
what do i do do i restart go into the 2.4.20-8 kernel and install one of these and see if it dectect my network card?
do i take out my ethernet card there might me some conflict cuse the nforce adapter and the old ethernet adaper might not run at the same time or some freky sh@t might happen

MasterC 07-27-2003 03:23 AM

What do you have (I'm surprised we haven't established that yet ;) )?

As root, type this, exactly like this:
cd ~ (the press return)
lspci -vv > lspci.output
And post up everything that now lives in a text file in your root's home directory, do that by typing the following:
less /root/lspci.output
And post up what you've got.

And tell me anything you can about your hardware setup, what you want to do and what seems to be the problem (I am really really amazed we haven't established any of this yet ;) ).

Cool

strider_D_3000 07-27-2003 03:26 AM

lspci not a command is it L or a pipe?

strider_D_3000 07-27-2003 03:28 AM

i just want my build in nforce newrok adapter to work so i dont need to install the old ethernet card everytime i swich os from windows to redhat

MasterC 07-27-2003 03:30 AM

;)

l <-- L
| <--- pipe

Too close I know...

That's an L though. Anyway, it's likely you have that on your system, but RH doesn't put /sbin in root's path, so try it with full path:
/sbin/lspci -vv > lspci.output

All of them are L's ;)

Cool

Muddy 07-27-2003 03:31 AM

lspci in red hat is located in /sbin
so /sbin/lspci should work

strider_D_3000 07-27-2003 03:32 AM

so what command i type now?im in the /sbin/lspci folder

MasterC 07-27-2003 03:42 AM

Alright we are gonna just **try** something then..

We have the tarball downloaded right? This one:
http://download.nvidia.com/XFree86/n....0-0261.tar.gz

And we have it untarred, correct? Go into the directory that is created:
cd nforce
And then type:
make all

Post up any errors you get from that. If it finishes WITHOUT ANY errors, very important you see it finish without any errors, then type:
make install

After that, type this:
cp /etc/modules.conf /etc/modules.conf.backup
And then edit /etc/modules.conf with your favorite text editor, for ease of use, I'll give you the exact commands to type, you just have to follow them, and make sure that you aren't typing on a line that already exists (I'll walk you through that as well).

So, as root type:
vim /etc/modules.conf

Now you should have text file opened and sitting there with all kinds of things in it. We need to go all the way down the to bottom, just arrow down until you can't any more. Keep going it's likely you'll hear a system beep when you are at the bottom, just make sure you are all the way down.

Now type:
o
This will start a new line. That's a lowercase letter O.
And this will also put us in edit mode, so be careful what you type now. Next type:
alias eth0 nvnet

That's alias, eth and the number zero: (eth0) and nvnet all lowercase.

Don't press return at the end of the line. Instead press ESC that's the escape key, and then:
SHIFT ZZ
That's the shift key and 2 letter Z's while holding down the shift key.

We then need to have a look at that file to make sure everything is good to go, so post it up.

I am mainly looking for any other references to eth0 so if you don't have the ability to post it all up (since you are likely typing all this from another box) then just post up the relevant sections referring to eth0.

Cool

MasterC 07-27-2003 03:43 AM

Quote:

Originally posted by strider_D_3000
so what command i type now?im in the /sbin/lspci folder
/sbin/lspci is the command, you just type it exactly like I have shown above. First be in your root's home directory, to get there type this exactly:
cd ~
And press return.

Then type:
/sbin/lspci > lspci.output

Cool

strider_D_3000 07-27-2003 03:53 AM

where do i find the file modules.conf to post it up

MasterC 07-27-2003 03:55 AM

OMFG... *MasterC Slaps himself in the forehead...

Just read over the Release Notes (which I SOOOO should have waaaayyyyy back...) and here's what we are gonna do:

As root, download this file:
http://download.nvidia.com/XFree86/n...0-0261.src.rpm

Make sure you are in the directory where you just downloaded it to and type this (as root):
rpm --rebuild NVIDIA_nforce-1.0-0261.src.rpm

When it's complete you'll see something similar to this (the location of the file might be different):
Wrote: /usr/src//RPMS/i386/NVIDIA_nforce-1.0-0261.rpm
So then you just need to change to the directory it writes that file to:
cd /usr/src/RPMS/i386

In the example above, and then type:
rpm -i NVIDIA_nforce-1.0-0261.rpm

And you are done....

:rolleyes:

Can you believe that? This does assume all those things work out without warnings...

Anyway, give that a go, I'll clarify anything I know I went a little fast here, just wanted to get it out to you soon.

Cool

MasterC 07-27-2003 03:56 AM

Quote:

Originally posted by strider_D_3000
where do i find the file modules.conf to post it up
If the above doesn't work, modules.conf is located in /etc, so to read it you would type:
less /etc/modules.conf

And it will open it up for reading.

Cool

strider_D_3000 07-27-2003 03:56 AM

Quote:

Originally posted by MasterC
/sbin/lspci is the command, you just type it exactly like I have shown above. First be in your root's home directory, to get there type this exactly:
cd ~
And press return.

Then type:
/sbin/lspci > lspci.output

Cool

after i type that what do i do?

strider_D_3000 07-27-2003 03:58 AM

Quote:

Originally posted by MasterC
If the above doesn't work, modules.conf is located in /etc, so to read it you would type:
less /etc/modules.conf

And it will open it up for reading.

Cool

dude is there a way to copy the msg and pase ie ctrl+c like in windows or do i have to type all that?

MasterC 07-27-2003 04:00 AM

Yeah, you just highlight and then click with the middle button on the mouse. Highlighting something is the equivilent to pressing CTRL C Then pasting is done with the mouse, both buttons if there is no middle button (the scroll counts as a middle button).

Cool

MasterC 07-27-2003 04:01 AM

Quote:

Originally posted by strider_D_3000
after i type that what do i do?
Quote:

Originally posted by MasterC
What do you have (I'm surprised we haven't established that yet ;) )?

As root, type this, exactly like this:
cd ~ (the press return)
lspci -vv > lspci.output
And post up everything that now lives in a text file in your root's home directory, do that by typing the following:
less /root/lspci.output
And post up what you've got.

And tell me anything you can about your hardware setup, what you want to do and what seems to be the problem (I am really really amazed we haven't established any of this yet ;) ).

Cool

;)

strider_D_3000 07-27-2003 04:03 AM

Quote:

Originally posted by MasterC
OMFG... *MasterC Slaps himself in the forehead...

Just read over the Release Notes (which I SOOOO should have waaaayyyyy back...) and here's what we are gonna do:

As root, download this file:
http://download.nvidia.com/XFree86/n...0-0261.src.rpm

Make sure you are in the directory where you just downloaded it to and type this (as root):
rpm --rebuild NVIDIA_nforce-1.0-0261.src.rpm

When it's complete you'll see something similar to this (the location of the file might be different):
Wrote: /usr/src//RPMS/i386/NVIDIA_nforce-1.0-0261.rpm
So then you just need to change to the directory it writes that file to:
cd /usr/src/RPMS/i386
In the example above, and then type:
rpm -i NVIDIA_nforce-1.0-0261.rpm

And you are done....

:rolleyes:

Can you believe that? This does assume all those things work out without warnings...

Anyway, give that a go, I'll clarify anything I know I went a little fast here, just wanted to get it out to you soon.

Cool

unknown option --rebuild now what?

strider_D_3000 07-27-2003 04:06 AM

#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
alias eth0 nvnet
/etc/modules.co#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
alias eth0 nvnet
/etc/modules.conf (END) alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
aliasound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 |
| :
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
alias eth0 nvnet
/etc/modules.conf (END) eth0 nvnet
eth0 nvnet
eth0 nvnetnf (END) alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
aliasound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 |
| :
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
alias eth0 nvnet
/etc/modules.conf (END) eth0 nvnet
eth0 nvnet
eth0 nvnet

MasterC 07-27-2003 04:09 AM

That's crazy. I just checked the man page, it's listed there for sure....

rpm --version

Post up what version you are using.

Cool

strider_D_3000 07-27-2003 04:09 AM

there isnt anything writen in lspci.output

strider_D_3000 07-27-2003 04:11 AM

Quote:

Originally posted by MasterC
That's crazy. I just checked the man page, it's listed there for sure....

rpm --version

Post up what version you are using.

Cool

RPM version 4.2
rpm --rebuild NVIDIA_nforce-1.0-0261.src.rpm
--rebuild: unknown option
gonna reboot and try again

MasterC 07-27-2003 04:22 AM

Quote:

Originally posted by strider_D_3000
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
alias eth0 nvnet
/etc/modules.co#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
alias eth0 nvnet
/etc/modules.conf (END) alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
aliasound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 |
| :
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
alias eth0 nvnet
/etc/modules.conf (END) eth0 nvnet
eth0 nvnet
eth0 nvnetnf (END) alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
aliasound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 |
| :
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci
alias eth0 8139too
alias eth0 nvnet
/etc/modules.conf (END) eth0 nvnet
eth0 nvnet
eth0 nvnet

Wow! That is sure, uh, different?

Let's edit a few things ok?

I'm gonna chop that up:
Code:

alias usb-interface usb-ohci
#alias eth0 8139too
alias eth0 nvnet
alias sound-slot-1 nvaudio
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

use all that instead ;)

The comments (the # signs) mean to NOT use those.

So if you do decide to use that old device again, for whatever reason, all you have to do is comment (add the # sign) this line:
alias eth0 nvnet
And uncomment (remove the # sign) this line:
#alias eth0 8139too

:)

Cool

MasterC 07-27-2003 04:32 AM

Just checked RedHat's documenation, even found a book on RPM's, and here it is:
http://www.redhat.com/docs/books/max...uild-mode.html

I wish I could figure out why yours isn't responding to that function???

....

strider_D_3000 07-27-2003 04:46 AM

maybe i have to do in in the black one ie ctrl alt f2 instead of run ->xterm nope same thing unknow option
look its almost 3am im gonna call it a night lol hope u can think of something later

MasterC 07-27-2003 04:47 AM

Maybe... It's definitely worth a shot as if we can get that to work it will by far be easier than anything we've started otherwise ;)

Cool

strider_D_3000 07-27-2003 04:49 AM

cu laters cant say 2marrow cuse it is 2marrow lol

MasterC 07-27-2003 04:52 AM

:D

Ok, hopefully we'll have better luck tomorrow ;)

Cool

strider_D_3000 07-27-2003 04:04 PM

should i reformat and reinstall redhat or should i download and use another type of linux that is reliable or we can still work with what we got?

MasterC 07-27-2003 11:31 PM

I'd stick with what we've got, however if you are nowhere on your system (meaning there is nothing there that you need to keep) and are just becoming frustrated, go ahead and reformat. It might give us something to work with, I am still at a loss as to why your rpm tool is claiming that function to be invalid...

Is there any chance you can give another distro a try? Mandrake maybe?

Cool

strider_D_3000 07-28-2003 12:05 AM

yeah i dont have anything important on the drive ill just format

strider_D_3000 07-28-2003 01:43 PM

im gonna try the rpm --rebuild NVIDIA_nforce-1.0-0261.src.rpm
command

strider_D_3000 07-29-2003 08:48 PM

i finally got time to format my computer ill start working on it tonite

strider_D_3000 07-30-2003 08:24 PM

humm after trial it seems the source driver ''--rebuild'' dont work ''--rebuild isnt a valid command''
but it seems that the tar file work im restarting right now hope it dectet my network adapter

strider_D_3000 07-30-2003 08:37 PM

yes!!! it works now!!! good old tarball :)

MasterC 08-01-2003 11:00 AM

:) Good deal ;)

Cool


All times are GMT -5. The time now is 12:32 AM.