» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with hardy + in

Howto install manually nVidia drivers in Ubuntu

Firstly, go to the official nVidia website and download the official linux drivers. Of course nv's nice and all.. but I wouldn't use it over the real thing. Once you download the driver file (into your home folder), right click on it in nautilus (file browser), click properties, then permissions, checking the box that says "allow executing the file", then type into a TTY session ctrl+alt+f1-f3 (ctrl+alt+f7 to get back to GUI) and type in

sudo /etc/init.d/gdm stop

Which will stop your x-server.. (DON'T DO ANY OF THIS UNTIL YOU KNOW THE WHOLE PROCESS, BECAUSE TURNING BACK ON YOUR GRAPHICS COMES AT THE END!)
(Also note that this will be a text-only display! Remember or write down all the commands.) then hit

ls

to list the files in your home folder. Find the one with "nvidia" in it, and hit "sudo ./*nvidia filename*" it should install the "nvidia" driver on your computer. when it asks you whether or not you want to replace the existing "xorg.conf" file, let it do so. once that's done, type in "sudo /etc/init.d/gdm start" which will turn back on the graphical interface, allowing you to login again. (sorry. it logs you out of everything but the commandline part of ubuntu. save everything before you turn off gdm.) If your controls work perfectly in regards to the mouse and keyboard, rejoice, you're done! if your mouse isn't scrolling, or it's behaving funny.. you may have to hit alt+f2 (You'll still be in graphical mode after hitting this one. it's a nice little tool.), and type in

gksu gedit

then open your xorg.conf file (Usually in the "/etc/X11/" folder), looking somewhere other than me about how to fix that, if copying your "pointer" section doesn't fix it.
(Copying the pointer section worked for me, since I had it set up right in a previous xorg.conf file..)


Now, in case of kernel update, remember that the nvidia driver will NOT work without reinstallation. This is expected, so expect it. In this case, you'll be in CLI mode. Your previous driver installer will work just fine, I like to check for updates occasionally, just to be with the newest version.

Always make sure, with a new executable comes making it executable before trying to.. well.. execute it. With GDM (the graphical display) working, simply right click the file in the file browser and click properties, set it executable. In CLI: have the file in your home directory or know the directory it's in.. Then do "cd "/path/to/driver/" before finally setting it executable. Do this with "sudo chmod a+x "{driver file name}"" (You can use the ls command to once again list it exactly).

Now, execute the file by simply typing the filename into the command line. It will say there's a previous version installed, and ask to write over it. Do so. It shouldn't need to overwrite the xorg.conf file, as the NVIDIA driver's still being used. Don't let it and save some hassle.

So basically, set the file executable in the file browser, or use sudo chmod a+x "nvidiadrivernamehere", stop gdm if it's started (sudo /etc/init.d/gdm stop), then execute it, overwriting the driver, but not the xorg.conf. Then, start GDM back up (sudo /etc/init.d/gdm start)

If you overwrite the xorg configuration file (conf) just restore the backup. Look in the file browser (using alt+f2, typing in gksu nautilus and executing to get a root file browser. Needed for editing /boot/ files.) in "/boot/grub/" in list mode for the latest thing resembling .backup or .bak1 or something, listing files by date changed. delete the new xorg.conf, changing the name of xorg.conf.bak to xorg.conf.

So, in essence,
1: Download driver. Set as executable.
2: turn off graphics, going into only command line.
3: list files, execute driver installer.
4: follow installer's instructions, allowing it to replace your xorg.conf.
5: restart gdm. Hope everything goes smoothly.
6: *contingent upon condition in last step being met* DANCE! YOU WIN!

To reinstall,

1a: change file to executable if gdm's booted up through the properties prompt.
1b: do a sudo chmod a+x {filename} if it's not.
2a: kill gdm server (sudo /etc/init.d/gdm stop in CLI (ctrl+alt+f1)) proceed to 2b.
2b: execute file. (sudo ./NVIDIA-x86-173.x.x-pkg1.run (or -x86_64-))
3: Follow prompts, letting it overwrite the old driver. Don't let it overwrite xorg.conf unless it's been changed to use another driver.
4: Start gdm. (sudo /etc/init.d/gdm start)
5: Rejoice! If it worked before, it should work now! If it doesn't, despair. Boot from a livecd if you have one, or use a computer at a library to come here and flame me. It happens frequently.

Ubuntu: Only Ubuntu

Howto Share Internet Connections in Ubuntu

Network Bridge comes in handy. Its essentially the same as ICS, only more flexible, albeit less secure. You might want to have a firewall remain on your system with it.

Normally, using a series of commands will work when bridge-utils is installed, but they're only for the current session. We want to make it permanent.


Procedure to follow

1. Get bridge-utils through Synaptic. This is the software we'll use to create the Network Bridge.

sudo aptitude install bridge-utils

Now, keep in mind to either print this out or not exit your browser, because in this next step we'll stop the Networking Services to change them.

2. Open a terminal, and type

sudo /etc/init.d/networking stop

Keep the terminal open.

3. Now we're going to edit our interfaces file:

gksu gedit /etc/network/interfaces

Replace whatever is there with:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto br0
iface br0 inet dhcp
bridge_ports eth0 eth1

Save the changes.

4. Now we'll restart the Network Services

sudo /etc/init.d/networking start

And there we go. Your computer is now set up to automatically share its internet connection without dizzying settings for more advanced set-ups!

Have fun, and note longer boot-ups will occur due to creating the network upon boot.

Ubuntu: Only Ubuntu

Howto install manually nVidia drivers in Ubuntu

Firstly, go to the official nVidia website and download the official linux drivers. Of course nv's nice and all.. but I wouldn't use it over the real thing. Once you download the driver file (into your home folder), right click on it in nautilus (file browser), click properties, then permissions, checking the box that says "allow executing the file", then type into a TTY session ctrl+alt+f1-f3 (ctrl+alt+f7 to get back to GUI) and type in

sudo /etc/init.d/gdm stop

Which will stop your x-server.. (DON'T DO ANY OF THIS UNTIL YOU KNOW THE WHOLE PROCESS, BECAUSE TURNING BACK ON YOUR GRAPHICS COMES AT THE END!)
(Also note that this will be a text-only display! Remember or write down all the commands.) then hit

ls

to list the files in your home folder. Find the one with "nvidia" in it, and hit "sudo ./*nvidia filename*" it should install the "nvidia" driver on your computer. when it asks you whether or not you want to replace the existing "xorg.conf" file, let it do so. once that's done, type in "sudo /etc/init.d/gdm start" which will turn back on the graphical interface, allowing you to login again. (sorry. it logs you out of everything but the commandline part of ubuntu. save everything before you turn off gdm.) If your controls work perfectly in regards to the mouse and keyboard, rejoice, you're done! if your mouse isn't scrolling, or it's behaving funny.. you may have to hit alt+f2 (You'll still be in graphical mode after hitting this one. it's a nice little tool.), and type in

gksu gedit

then open your xorg.conf file (Usually in the "/etc/X11/" folder), looking somewhere other than me about how to fix that, if copying your "pointer" section doesn't fix it.
(Copying the pointer section worked for me, since I had it set up right in a previous xorg.conf file..)


Now, in case of kernel update, remember that the nvidia driver will NOT work without reinstallation. This is expected, so expect it. In this case, you'll be in CLI mode. Your previous driver installer will work just fine, I like to check for updates occasionally, just to be with the newest version.

Always make sure, with a new executable comes making it executable before trying to.. well.. execute it. With GDM (the graphical display) working, simply right click the file in the file browser and click properties, set it executable. In CLI: have the file in your home directory or know the directory it's in.. Then do "cd "/path/to/driver/" before finally setting it executable. Do this with "sudo chmod a+x "{driver file name}"" (You can use the ls command to once again list it exactly).

Now, execute the file by simply typing the filename into the command line. It will say there's a previous version installed, and ask to write over it. Do so. It shouldn't need to overwrite the xorg.conf file, as the NVIDIA driver's still being used. Don't let it and save some hassle.

So basically, set the file executable in the file browser, or use sudo chmod a+x "nvidiadrivernamehere", stop gdm if it's started (sudo /etc/init.d/gdm stop), then execute it, overwriting the driver, but not the xorg.conf. Then, start GDM back up (sudo /etc/init.d/gdm start)

If you overwrite the xorg configuration file (conf) just restore the backup. Look in the file browser (using alt+f2, typing in gksu nautilus and executing to get a root file browser. Needed for editing /boot/ files.) in "/boot/grub/" in list mode for the latest thing resembling .backup or .bak1 or something, listing files by date changed. delete the new xorg.conf, changing the name of xorg.conf.bak to xorg.conf.

So, in essence,
1: Download driver. Set as executable.
2: turn off graphics, going into only command line.
3: list files, execute driver installer.
4: follow installer's instructions, allowing it to replace your xorg.conf.
5: restart gdm. Hope everything goes smoothly.
6: *contingent upon condition in last step being met* DANCE! YOU WIN!

To reinstall,

1a: change file to executable if gdm's booted up through the properties prompt.
1b: do a sudo chmod a+x {filename} if it's not.
2a: kill gdm server (sudo /etc/init.d/gdm stop in CLI (ctrl+alt+f1)) proceed to 2b.
2b: execute file. (sudo ./NVIDIA-x86-173.x.x-pkg1.run (or -x86_64-))
3: Follow prompts, letting it overwrite the old driver. Don't let it overwrite xorg.conf unless it's been changed to use another driver.
4: Start gdm. (sudo /etc/init.d/gdm start)
5: Rejoice! If it worked before, it should work now! If it doesn't, despair. Boot from a livecd if you have one, or use a computer at a library to come here and flame me. It happens frequently.

Ubuntu: OnlyUbuntu Tutorials

Howto Share Internet Connections in Ubuntu

Network Bridge comes in handy. Its essentially the same as ICS, only more flexible, albeit less secure. You might want to have a firewall remain on your system with it.

Normally, using a series of commands will work when bridge-utils is installed, but they're only for the current session. We want to make it permanent.


Procedure to follow

1. Get bridge-utils through Synaptic. This is the software we'll use to create the Network Bridge.

sudo aptitude install bridge-utils

Now, keep in mind to either print this out or not exit your browser, because in this next step we'll stop the Networking Services to change them.

2. Open a terminal, and type

sudo /etc/init.d/networking stop

Keep the terminal open.

3. Now we're going to edit our interfaces file:

gksu gedit /etc/network/interfaces

Replace whatever is there with:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto br0
iface br0 inet dhcp
bridge_ports eth0 eth1

Save the changes.

4. Now we'll restart the Network Services

sudo /etc/init.d/networking start

And there we go. Your computer is now set up to automatically share its internet connection without dizzying settings for more advanced set-ups!

Have fun, and note longer boot-ups will occur due to creating the network upon boot.

Ubuntu: OnlyUbuntu Tutorials

How to Install flock web browser in Ubuntu Hardy

Flock is a web browser that specializes in providing social networking and other Web 2.0 features built into its interface. The browser is built on Mozilla’s Firefox codebase.

(...)
Read the rest of How to Install flock web browser in Ubuntu Hardy (276 words)


© admin for Ubuntu Geek, 2008. | Permalink | 4 comments | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under General.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks

Howto Disable CTRL-ALT-DEL in Ubuntu 8.04 (Hardy Heron) Server

Any user that has physical access to the keyboard can simply use the Ctrl+Alt+Delete key combination to reboot the server without having to log on. Sure, someone could simply unplug the power source, but you should still prevent the use of this key combination on a production server. This forces an attacker to take more drastic measures to reboot the server, and will prevent accidental reboots at the same time.

(...)
Read the rest of Howto Disable CTRL-ALT-DEL in Ubuntu 8.04 (Hardy Heron) Server (61 words)


© admin for Ubuntu Geek, 2008. | Permalink | 6 comments | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under Security.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks

Howto Setup a DLINK WUA-2340 USB Wireless Adapter in Ubuntu Hardy

So you want to have a working wireless setup in Hardy and you happen to have a D-Link WUA-2340 Wireless USB adapter.



We will be using ndiswrapper to install the driver for the adapter, so we should ensure all components of it are installed:

sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9

Now would be a good time to start to download the driver, grab it from here

Now unzip the file:

cd directory where you downloaded the zip

unzip WUA2340_driver_140.zip

Now we need to setup ndiswrapper to use the driver we just downloaded.

Firstly, we need to get ndiswrapper itself setup properly.

sudo depmod -a

sudo modprobe ndiswrapper

sudo ndiswrapper -m

The preceding incantation will load the ndiswrapper module and ensure that it loads automatically at startup. To ensure the module loaded correctly now is a good time to check it:

sudo lsmod | grep ndiswrapper

You should see a couple of lines with 'ndiswrapper' in them, if you don't then the module did not load correctly. It's beyond the scope of this howto to troubleshoot that issue unfortunately.

Now that ndiswrapper is installed and loaded up we need to install the driver.

cd 20071112-WUA-2340-S0026

cd Drivers

cd WinXP_2K

sudo ndiswrapper -i netA5AGU.inf

You may get some output stating that it is changing the registers from 256 to 64, this is not an issue and you can safely ignore it.

Now make sure it installed properly:

sudo ndiswrapper -l

You should see that the driver is installed and the device is present.

Now in a perfect world, you would be done now. However network-manager in hardy will not display any wireless networks for you to connect to. Rest assured your wireless adapter is installed and working, the problem is with network-manager.

There are two ways you can go from here. The first involves setting the wireless network you want to connect to manually (this might be good if you only use your wireless connection at home). The other choice is to replace network-manager with WICD which does work properly with this setup.

The Network Administration Method

* Open System->Administration->Network
* You should see your wireless connection in the list, click the Unlock button to make changes.
* Select your wireless connection and hit the properties button.
* Deselect 'Roaming'
* Select your wireless network from the list and enter in your WPA/WEP information for the card.
* Click ok, and now you have a working wireless connection. Congrats!


Using WICD

For this method we will install WICD which is an alternative to network-manager that has the benefit of, you know, working with this adapter.

Before you start you should know:

Installing WICD will remove network-manager and ubuntu-desktop from your system. This is not an issue for day to day use but ubuntu-desktop MUST be installed for distribution upgrades to work properly (Ie, Hardy->Ibex). Before you dist-upgrade to Ibex, reinstall the ubuntu-desktop package (this will uninstall WICD).

Now that the disclaimer is out of the way, lets get going.

We need to add the WICD repository to our sources.list.

gksu gedit /etc/apt/sources.list

Append the following to the file then Save and close it:

deb http://apt.wicd.net hardy extras

Now update your packages and install WICD:

sudo apt-get update

sudo apt-get install wicd

You will be prompted if you want to install this package from an unverified repository. If you wish the installation to proceed, type Yes.

Now that WICD is installed type Alt-F2 and then /opt/wicd/tray.py to launch the tray applet. Double-clicking the applet will display a list of all wireless networks in range. Use the dropdown arrow next to your network and enter your encryption key for your network, click connect automatically at start, then click connect. Now you should be connected to your wireless network!

To make the applet load automatically at startup do the following:

* System->Preferences->Sessions
* Click Add
* Enter WICD for the name
* Enter /opt/wicd/tray.py for the command
* Enter WICD Tray Applet for the description.
* Click OK
* Click Close

Ubuntu: Only Ubuntu

Howto Install Gimpshop in Ubuntu Hardy

GIMPshop is a modification of the free/open source graphics program GNU Image Manipulation Program (GIMP), intended to replicate the feel of Adobe Photoshop. Its primary purpose is to make users of Photoshop feel comfortable using GIMP.

(...)
Read the rest of Howto Install Gimpshop in Ubuntu Hardy (229 words)


© admin for Ubuntu Geek, 2008. | Permalink | 7 comments | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under General.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks

Howto install gnome-do in Ubuntu Hardy and Gutsy

GNOME Do (Do) is an intelligent launcher tool that makes performing common tasks on your computer simple and efficient. Do not only allows you to search for items in your desktop environment (e.g. applications, contacts, bookmarks, files, music), it also allows you to specify actions to perform on search results (e.g. run, open, email, chat, play). Want to send an email to mom? Simply type “email mom.”

(...)
Read the rest of Howto install gnome-do in Ubuntu Hardy and Gutsy (248 words)


© admin for Ubuntu Geek, 2008. | Permalink | 15 comments | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under General.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks

Manage your personal accounts at home with homebank in Ubuntu

HomeBank is free software. Use it to manage your personal accounts. It is designed to easy to use. Analyse your finances in detail using powerful filtering tools and graphs.

HomeBank benefits from more than 10 years of user experience and feedback. Its development started in 1995 on Amiga computers. It is now available on GNU/Linux, FreeBSD, MacOSX and Amiga. A version for Microsoft Windows is being considered.

(...)
Read the rest of Manage your personal accounts at home with homebank in Ubuntu (253 words)


© admin for Ubuntu Geek, 2008. | Permalink | No comment | Add to del.icio.us digg
Who's linking ? Technorati BlogPulse Google
Want more on these topics ? Browse the archive of posts filed under General.

Related Articles

Ubuntu: Ubuntu Geek - Ubuntu Tutorials,Howto's,Tips and Tricks