Categories
Hardware Solutions Ubuntu

Ubuntu Check Disk for BadBlocks & Errors

Toshiba HDD2189 2.5" hard disk drive plat...
Toshiba HDD2189 2.5″ hard disk drive platters, head and actuator arm. near 1:1 macro. (Photo credit: Wikipedia)

If your system regularly does ubuntu check disk or scan disks on boot up and if it often finds errors during the check, its highly possible that you have bad sectors on your hard disk.  In such cases its highly recommended to do a disk check to detect if you have bad sectors on the disk.

Categories
Linux Solutions

Kate: Not allowing to Edit Specific Files – Solution



Recently I encountered an interesting problem with Kate. When ever I opened certain files it opened them in read only mode. The files had the necessary permissions to let me write and I could open them in nano or vim and edit them successfully.

There can be multiple reasons for this happening:

  • File is in use in some program (known to cause problems with Kate)
  • File is a PHP file and being accessed somewhere
  • File has more than 1024 characters in a line. (The limit might vary but after a point the files are opened as read only)
Categories
Android Apps Solutions

Problem Loading Widget – Solved Android Error

Problem loading Widget Error – Sometimes Widgets on the Android home page fail to load and are replaced by “Problem Loading Widget” error. The main causes of this error include:

  • Removal of the Application that gave you that widget
  • Moving of the specific (Widget) Application from Internal Memory to SD card
  • Upgrading of the Application
  • Upgrading of the core operating system (leading to reinstall of the Application)
  • Change of SD card

There is no simple way to fix this error, as it can depend on what caused the error in the first place and how the Widget was originally designed.  Here are some quick steps you can follow to recover your widget:

Categories
Linux Open Source Solutions Web

Using Static IP Address On Ubuntu



By default most unix boxes now come with dynamic IP enabled for all its networking needs. This is a very useful configuration but at times it helps to know that a system’s IP will remain the same no matter what changes occur around it. A classic example of this case can be a server.

In any case if you want to change your unix box to use static IP the following simple steps will get your task done:

Categories
Linux Open Source Solutions Web

Fixing WiFi regulatory rule in Unix

Wifi routers usually specify the regulatory rules for all devices connected to their network. In rare cases a router may go rouge and specify the wrong regulatory domain, which might effect the quality of the connection and at times may make the network unreachable even if the network says that its connected.

Below are the debug messages from the command “dmesg” in one such case: