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:

Categories
Linux Solutions

Compressing files in Linux & Unix – Cheat Sheet

Here is a quick cheat-sheet on How To Compress files in Linux & Unix

Zip
zip archive file1 file2 file3
Compresses file1 file2 file3 into an achive with filename archive.zip

zip archive *
Compresses all files in the current directory into an achive with filename archive.zip

zip -r archive dir
Compresses the directory dir(and its subdirectories) into an achive with filename archive.zip

unzip archive.zip
Uncompresses the archive archive.zip to the current directory

unzip archive.zip -d dir
Uncompresses the archive archive.zip to the directory dir

Categories
Solutions Web

Fix Formula One Live Timing Errors

Formula One
Image via Wikipedia

With the start of new season of Formula One, a lot of viewers were left refreshing their pages because the live timing

refused to work for the first day of Practice.  The problem had to do with the old cookies of the website from the previous year’s timing widget.

To fix the problem follow this tutorial to Remove Cookies from your browser.

Categories
Chrome Firefox Open Source Solutions Web

Deleting specific Cookies in Firefox & Chrome

Sometimes when websites are updated,they tend to change the way they manage cookies.  What happens then is that there is a small possibility of certain parts of the website not functioning as the old cookies remain in the browser.  In those cases the best approach is to remove the errant cookie and let the website recreate the cookies.

Here is a quick tutorial on how to do that:

Firefox:

  • Click on Tools, then Options (or Edit | Preferences on Linux)
  • Select Privacy
  • In the Cookies panel, click on Show Cookies
  • To remove a single cookie click on the entry in the list and click on the Remove Cookie button
  • To remove all cookies click on the Remove All Cookies button
  • Voilà, you are done 🙂

Chrome:

  • Click the “wrench” icon on the browser toolbar (usually on the right extreme)
  • Click the Under the Hood tab.
  • Goto the Content settings in the “Privacy” section.
  • Click the Cookies tab in the Content Settings dialog that appears.
  • Click All cookies and site data to open the Cookies and Other Data dialog.
  • To delete all cookies, click Remove all at the bottom of the dialog.
  • To delete a specific cookie, select the site that issued the cookie, then the cookie, and click Remove.
  • Voilà, you are done 🙂