Tuesday, 17 June 2014

How to set up a static IP address on Ubuntu Desktop Edition.

Note: This tutorial applies to desktop version of Ubuntu (in this case I am showing example in lubuntu, but other variants should work as well). If you develop a ubuntu server, I refer you to Ubuntu Server documentation to set static IP address.

Hello guys, after wasting an hour to find a way to set the static IP address in my machine, I figured out the cause of the problem. If you've read 'Setting up static address' in ubuntu server documentation, you know that you can do that by writing stuff to a file. However, it will not work in Desktop Edition of Ubuntu, because there is an application called 'network-manager' that keeps the same configurations and prevents the written configurations to be applied for static addressing.

So, in order to set a static IP address, you need to enter your details into that program. Usually, you will find it in settings and it's (usually) named Network Connections.

 


After finding the application, you should be able to see a list of ethernet interfaces (including wifi) and double-click on appropriate one or select one and press 'Edit'.

 



Once you've done that, you will see property tabs. Click on 'IPv4 Settings'

 


You should see a drop down list next to 'Method:' and select 'Manual'. Then you will notice that you will be able to add an address to the list. Enter appropriate settings. Remember that Gateway is a point where you can access the internet (e.g router) and Netmask is the one that usually facemask of IP addresses. Usually it looks like 255.255.255.0, but you have to check it yourself. Furthermore, DNS server is usually the same as Gateway address if you have a home router.



Once information is entered, save it and restart the computer. Now your computer should have the static IP address.

Note: Since I showed this example in Lubuntu, you should be able to find the same or similar settings on different variants of ubuntu.

Tuesday, 29 April 2014

How to install drivers for Older Intel GPU in older machines in ubuntu or fedora.




Most older hardware can be revived with linux, but some media content, such as flash may not work out of the box.


In order to fix the issue, you have to install drivers for intel processors, which are provided from Intel site.
Here is the link: https://01.org/linuxgraphics/downloads




When you download the drivers (in deb package) for appropriate ubuntu version, you just need to run deb insatller

I have some advice when dealing with the drivers:
  • In the download list, you must download deb installers that are appropriate for the version of ubuntu. Otherwise, drivers will not be installed due to dependencies issues.
  • You should have patience when there is no available installer for the version, because the intel team should provide sooner or later.
  • Furthermore, in order to watch youtube videos, you should activate html5 video support in youtube by typing html5 at the end of the youtube address. This will allow videos to be played without flash.
  • If you have got a machine that is very old, I advice to get a new older machine with a better processor, because I noticed Pentium 4 does not work efficiently with brand new websites and content.
Hope, your machine will handle the youtube videos!!!!!!!!!!!