How to Fix Slow/Erratic Wi-Fi Problem in Ubuntu 12.04 LTS?

How to Fix Slow/Erratic Wi-Fi Problem in Ubuntu 12.04 LTS?
  • First, you need to install Wicd from Ubuntu Software Center.
  • Search for Wicd network manager in Ubuntu Software Center.
  • After Wicd installation is complete, search for ‘network-manager’ in Ubuntu Software Center and remove it before going any further.
  • Now, open Wicd from Unity Dash (see screenshot above). Wicd will automatically detect the available networks around. Simply enter the credentials and CONNECT.
wicd network manager
  • And when you tick “Automatically connect to this network” option, Wicd will be added to your Startup Applications list. And you’re good to go.
  • OR if you prefer command line, all you need to do is the following:
sudo apt-get install wicd
sudo apt-get purge network-manager

Installing OpenGL Development Environment in Ubuntu

1. Download OpenGl liberies

sudo apt-get install freeglut3 freeglut3-dev
sudo apt-get install binutils-goldc
sudo apt-get install libglew1.5

2. Create a test file (test.c):

#include 

//Drawing funciton
void draw(void)
{
  //Background color
  glClearColor(0,1,0,1);
  glClear(GL_COLOR_BUFFER_BIT );
  //Draw order
  glFlush();
}

//Main program
int main(int argc, char **argv)
{
  glutInit(&argc, argv);
  //Simple buffer
  glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB );
  glutInitWindowPosition(50,25);
  glutInitWindowSize(500,250);
  glutCreateWindow("Green window");
  //Call to the drawing function
  glutDisplayFunc(draw);
  glutMainLoop();
  return 0;
}

3.Compile the file linking the OpenGL/Glut libraries:

gcc -lGL -lglut -lGL -lGLEW test.c -o test 

or

g++ -I/usr/include -L/usr/lib -lglut -lGL -lGLU -lGLEW 

4. Configuring with eclipse

  1. Donwload and ADD CDT plugin for eclipse. Download Link
  2. After installing CDT, go to eclipse’s Menu, Projects->Properties
    From leftside bar, Expand C/C++ General->Path & Symbols
  3. Go to libraries add this four lib one by one ( glut, GL,GLU, GLEW ) .
  4. Now try to build and compile your code

NTFS Partition Mount in Ubuntu

1. First unmount the ntfs partition.

 sudo umount (mount point path) 

2. Then edit /etc/fstab

 sudo gedit /etc/fstab 

3. Identify your partition UUID with blkid

 sudo blkid 

4. And add or edit a line for the ntfs partition

 # change the "UUID" to your partition UUID , change uid,gid to your own userId,groupId or remove those for root.
UUID=12102C02102CEB83 /media/windows ntfs-3g auto,users,permissions,uid=ir,gid=ir 0 0 

5. Make a mount point (if needed)

 sudo mkdir /media/windows 

6. Now mount the partition

 mount /media/windows 

Or

 mount -a 

The options I gave you, auto, will automatically mount the partition when you boot and users allows users to mount and umount.
You can then use chown and chmod on the ntfs partition.