Oh, I wish I was a Linux Geek.... HELP!!!!

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

Oh, I wish I was a Linux Geek.... HELP!!!!

Postby Markus » Sun Nov 13, 2005 12:06 pm

Ok... you may remember my post about finding a hidden folder (C:/Uploads) in my computer. Well, it turns out, that was the start of a worm, which slowly ate away at my 30 gig harddrive, changed my cmd prompt commands, and basically destroyed almost my entire system.

So, to the point, I am now using ubuntu and I am trying to install drivers for my Nvidia GeForce 4 MX440 card, but I am about as lost as a fish in the desert.:comp:

I tried the linux boards and the nearest thing i could find didnt cover every prompt and all that. I literally need EVERY command spelled out.

Now, anyone who feels like giving me an awesome birthday present and teaching me how to to this will be my friend forever :sweat:
Imperfect.
Flawed.
Forgiven.
User avatar
Markus
 
Posts: 117
Joined: Mon Jul 04, 2005 10:03 pm
Location: Elk Grove, CA

Postby shooraijin » Sun Nov 13, 2005 5:47 pm

This really will depend on what version of Ubuntu. Unfortunately, I don't know much about Ubuntu in general. However, can you not get *any* display in X?
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby Icarus » Sun Nov 13, 2005 7:39 pm

First, I'd try "man -k Nvidia |less" and see what that turns up. It will list most of the man pages that mention Nvidia. If you find one that looks promising, write down its name and do "man _name_"

If you don't have the right module yet, get online (if you don't have a text based browser, run "apt-get --install elinks") and download it. From there, THISshould take care of it.

Notes:
Some of the commands will have to be done without graphics, so if you have X running, press CTRL +ALT+ Backspace twice (just once if it doesn't autostart) quickly to cancel it. Once you're out of X, you'll need to have two virtual termnals running, one as root to follow the instructions, and another to read them. Press Alt+F1 and Alt+F2 to switch.

As Nvidia may have updated the drivers (the instructions are based on a 2.4 kernel, so they are a bit old), instead of typing the version numbers as is, press Tab after the major file name (i.e. Nvidia_kernel or ..._glx). If you want to save some typing press it after the Nv, and then after the k or g. Auto completion is fun.

Finally, don't be afraid of the man pages. They can really help you learn about the programs you need. Reading "man man" is how I learned about the man -k trick. Don't be afraid to play around a little. Just not as root.

Hope this helps, if not let me know.
The Forsworn War of 34

††
User avatar
Icarus
 
Posts: 1477
Joined: Sun Nov 09, 2003 5:00 am
Location: 34

Postby LorentzForce » Mon Nov 14, 2005 1:13 am

Easy. Because I use Ubuntu too, and use the same graphics card!

Open up a terminal and type in the following.

Code: Select all
sudo apt-get install nvidia-glx nvidia-kernel-common


When you're done, do this...

Code: Select all
sudo gedit /etc/X11/xorg.conf


You'll open up the text editor with some funny configuration file loaded. This is the X config script, more details on editing this is found by typing "man xorg.conf". Anyway, look for something that says something like the following;

Code: Select all
Section "Device"
   Identifier   "NVIDIA Corporation NV17 [GeForce4 MX 440]"
   Driver      "nvidia"
   BusID      "PCI:1:0:0"
EndSection


You might notice that your Driver configuration is not nvidia, but more likely nv or vesa. Change it to "nvidia", and save.

Now, restart X by pressing Ctrl+Alt+Backspace all at once.

If everything happened well and well, you should be seeing the nVidia logo in your startup, and everything would be all good.
Image
User avatar
LorentzForce
 
Posts: 1263
Joined: Sun Jun 01, 2003 3:18 am
Location: Between B and E

Postby Markus » Mon Nov 14, 2005 12:35 pm

LorentzForce wrote:Easy. Because I use Ubuntu too, and use the same graphics card!

Open up a terminal and type in the following.

Code: Select all
sudo apt-get install nvidia-glx nvidia-kernel-common


When you're done, do this...

Code: Select all
sudo gedit /etc/X11/xorg.conf


You'll open up the text editor with some funny configuration file loaded. This is the X config script, more details on editing this is found by typing "man xorg.conf". Anyway, look for something that says something like the following]Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection[/code]

You might notice that your Driver configuration is not nvidia, but more likely nv or vesa. Change it to "nvidia", and save.

Now, restart X by pressing Ctrl+Alt+Backspace all at once.

If everything happened well and well, you should be seeing the nVidia logo in your startup, and everything would be all good.


:angel: THANK YOU ANGEL WEARING JEANS!!:angel:
Imperfect.
Flawed.
Forgiven.
User avatar
Markus
 
Posts: 117
Joined: Mon Jul 04, 2005 10:03 pm
Location: Elk Grove, CA

Postby Markus » Mon Nov 14, 2005 12:46 pm

One other thing...sorry...
My friend had me dl this driver:

NVIDIA-Linux-x86-1.0-7676-pkg1.run

its from the nvidia website.

any idea how to install it? The instructions on the website were no help... again:?:
Imperfect.
Flawed.
Forgiven.
User avatar
Markus
 
Posts: 117
Joined: Mon Jul 04, 2005 10:03 pm
Location: Elk Grove, CA

Postby blkmage » Mon Nov 14, 2005 2:40 pm

By following the steps that LorentzForce posted, you will have installed the driver from the Ubuntu repositories so you don't need to download that driver and install it. Apt does it all for you.
User avatar
blkmage
 
Posts: 4529
Joined: Mon May 03, 2004 5:40 pm

Postby Markus » Mon Nov 14, 2005 9:39 pm

blkmage wrote:By following the steps that LorentzForce posted, you will have installed the driver from the Ubuntu repositories so you don't need to download that driver and install it. Apt does it all for you.

:dance:Thank you all for your help!:dance:
Imperfect.
Flawed.
Forgiven.
User avatar
Markus
 
Posts: 117
Joined: Mon Jul 04, 2005 10:03 pm
Location: Elk Grove, CA

Postby Markus » Wed Nov 16, 2005 11:14 am

Ok... now I need instructions on how to translate all the lingo that is used here. I just flat dont know the commands to do option 1 (I dont even know how to run a program from the terminal), and I have been trying to look for the file that they mention below in option 2 for the last 2 hours, but it doesnt seem to want to be found...

Thank you again for your tolerance of my being brand spanking new to Linux.:sweat:

This is a copy/paste from the Cedega forums, it you need an explaination of what that is, feel free to ask.

Two work arounds have been discovered for the mouse selecting issue that has occurred since the World of WarCraft 1.5.1 patch.

1) This workaround may not work on all distros, may prevent other games (such as Half-Life 2) from running but should not cause a speed decrease.
open a console/terminal window and run
export WINEPRELOADER_SETVALEGACY="no"
then launch Cedega or Point2Play from the same terminal window.
This would need to be set each time you open a new terminal window to play the game.

2) This workaround should work for all users on all distros but may cause a frame rate drop.
Edit the World of WarCraft configuration file with your favorite text editor:
command line users: /home/USERNAME/.transgaming/config
Point2Play users: /home/USERNAME/.point2play/configuration_profiles/NAME_OF_WOW_CONFIG
Add the following section to the config file:
[AppDefaults\\wow.exe\\memory]
"MemoryLayoutOverride" = "0x10000000"
This change will remain persistent as long as you continue to use that configuration file for World of WarCraft. This change may need to be removed for future versions of Cedega.
Imperfect.
Flawed.
Forgiven.
User avatar
Markus
 
Posts: 117
Joined: Mon Jul 04, 2005 10:03 pm
Location: Elk Grove, CA

Postby blkmage » Wed Nov 16, 2005 3:36 pm

The file you're looking for is in your home folder, which is in /home/USERNAME, USERNAME being whatever your username is.

Now, files and directories beginning with a dot, like .transgaming are hidden. That means that you won't find them in your file browser without telling it to show hidden files. The file you're looking for, is in this hidden folder ".transgaming". The file's name is config.

You would edit the file called "config" which is in the hidden folder ".transgaming" which is in your home folder.
User avatar
blkmage
 
Posts: 4529
Joined: Mon May 03, 2004 5:40 pm

Postby Markus » Wed Nov 16, 2005 5:18 pm

blkmage wrote:The file you're looking for is in your home folder, which is in /home/USERNAME, USERNAME being whatever your username is.

Now, files and directories beginning with a dot, like .transgaming are hidden. That means that you won't find them in your file browser without telling it to show hidden files. The file you're looking for, is in this hidden folder ".transgaming". The file's name is config.

You would edit the file called "config" which is in the hidden folder ".transgaming" which is in your home folder.

Ok...
Only one problem, there still isnt anything there...
i changed it to view invisible files, and still no dice... all thats in that folder is my desktop and two CAA background files:drool:
Imperfect.
Flawed.
Forgiven.
User avatar
Markus
 
Posts: 117
Joined: Mon Jul 04, 2005 10:03 pm
Location: Elk Grove, CA

Postby shooraijin » Wed Nov 16, 2005 5:34 pm

In a terminal window, type these two commands:

Code: Select all
cd
ls -al


and paste what you get back.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby Markus » Wed Nov 16, 2005 5:44 pm

shooraijin wrote:In a terminal window, type these two commands:

Code: Select all
 cd
 ls -al
 


and paste what you get back.

cd did nothing

for some reason cut/paste didnt work, attached is a screenshot of what came up

Edit: oops, i was using ctrl-c and ctrl-v... doesn't work in terminal
You do not have the required permissions to view the files attached to this post.
Imperfect.
Flawed.
Forgiven.
User avatar
Markus
 
Posts: 117
Joined: Mon Jul 04, 2005 10:03 pm
Location: Elk Grove, CA

Postby Markus » Wed Nov 16, 2005 6:03 pm

here it is:

markus@Markus:~$ cd
markus@Markus:~$ sudo cd
Password:
sudo: cd: command not found
markus@Markus:~$ ls -al
total 672
drwxr-xr-x 22 markus markus 4096 2005-11-16 17:17 .
drwxr-xr-x 3 root root 4096 2005-11-12 05:27 ..
-rw------- 1 markus markus 1673 2005-11-16 14:47 .bash_history
-rw-r--r-- 1 markus markus 414 2005-11-12 05:27 .bash_profile
-rw-r--r-- 1 markus markus 2227 2005-11-12 05:27 .bashrc
-rw-r--r-- 1 markus markus 224433 2005-11-15 22:21 Blood_Elf.jpg
drwxr-xr-x 7 markus markus 4096 2005-11-15 19:34 .cedega
-rw-r--r-- 1 markus markus 1011 2005-11-16 14:32 .cedegarc
-rw-r--r-- 1 markus markus 264496 2005-11-14 22:31 DeepBlue.jpg
drwxr-xr-x 2 markus markus 4096 2005-11-16 07:54 Desktop
-rw------- 1 markus markus 26 2005-11-12 15:40 .dmrc
-rw------- 1 markus markus 16 2005-11-12 15:40 .esd_auth
drwxr-xr-x 6 markus markus 4096 2005-11-14 22:57 .evolution
drwx------ 4 markus markus 4096 2005-11-16 13:34 .gaim
drwx------ 5 markus markus 4096 2005-11-16 17:11 .gconf
drwx------ 2 markus markus 4096 2005-11-16 17:42 .gconfd
-rw-r----- 1 markus markus 0 2005-11-16 07:50 .gksu.lock
drwxr-xr-x 3 markus markus 4096 2005-11-12 15:40 .gnome
drwx------ 6 markus markus 4096 2005-11-14 22:57 .gnome2
drwx------ 2 markus markus 4096 2005-11-12 15:40 .gnome2_private
srwxr-xr-x 1 markus markus 0 2005-11-16 08:59 .gnome-system-monitor.marku s
drwxr-xr-x 2 markus markus 4096 2005-11-12 15:40 .gstreamer-0.8
-rw-r--r-- 1 markus markus 88 2005-11-12 15:40 .gtkrc-1.2-gnome2
-rw------- 1 markus markus 1260 2005-11-16 17:10 .ICEauthority
drwxr-xr-x 2 markus markus 4096 2005-11-13 10:18 .icons
drwx------ 3 markus markus 4096 2005-11-13 11:39 .local
drwx------ 3 markus markus 4096 2005-11-12 15:40 .metacity
drwx------ 4 markus markus 4096 2005-11-15 22:20 .mozilla
drwxr-xr-x 3 markus markus 4096 2005-11-12 15:40 .nautilus
-rw------- 1 markus markus 456 2005-11-16 17:14 .recently-used
srwxr-xr-x 1 markus markus 0 2005-11-16 17:14 .sound-juicer.markus
drwxr-xr-x 2 markus markus 4096 2005-11-13 10:18 .themes
drwx------ 3 markus markus 4096 2005-11-13 10:05 .thumbnails
drwxr-xr-x 4 markus markus 4096 2005-11-14 22:06 .transgaming_global
drwx------ 2 markus markus 4096 2005-11-16 17:17 .Trash
drwx------ 2 markus markus 4096 2005-11-12 15:40 .update-notifier
-rw------- 1 markus markus 117 2005-11-16 17:10 .Xauthority
-rw-r--r-- 1 markus markus 11145 2005-11-16 09:08 .xscreensaver
-rw-r--r-- 1 markus markus 42947 2005-11-16 17:43 .xsession-errors
Imperfect.
Flawed.
Forgiven.
User avatar
Markus
 
Posts: 117
Joined: Mon Jul 04, 2005 10:03 pm
Location: Elk Grove, CA

Postby blkmage » Wed Nov 16, 2005 6:38 pm

The file you're looking for might be in .cedega or it might be in .transgaming_global
User avatar
blkmage
 
Posts: 4529
Joined: Mon May 03, 2004 5:40 pm

Postby shooraijin » Wed Nov 16, 2005 8:01 pm

cd changes directories. 'cd' by itself just goes to your home directory; I threw it in to make sure you were where we wanted to be.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 164 guests