IPv6 Problems with Ubuntu 9.10 Karmic Koala
I had a strange problem with the recent upgrade of Ubuntu. I originally did the upgrade at home in Oklahoma on AT&T's network and never noticed any problem. But then I went to Minnesota for the holidays and started having crazy internet problems. Most of the time I could not get any websites to pull up but I could always open up a console and ping it. I did some digging around and apparently if your ISP does not fully support IPv6 you will run into similar problems. There are also a few things you can do to disable IPv6 from your system. But if your like me and do not like to disable things that should not need to be disabled you can try my solution.
I registered for a free account on OpenDNS. This is not an advertisement for them. But it is an awesome service, and their domain name servers do support IPv6. Although there were many cool features even in the free account I still stopped using it as soon as I got back home. It is just a few milliseconds faster to resolve through AT&T than OpenDNS when you are on their service.
So if you upgrade to Ubuntu 9.10 or any release after this I'm sure. And if your start having problems resolving hostnames. Consider OpenDNS before modifying your system configurations.
Add a file extension to gedit in Ubuntu
I needed .ctp files to open with PHP syntax highlighting in gedit. After searching around online for a while I found the answer on the ubuntu forums.
Add
to the
declaration in the /usr/share/mime/packages/freedesktop.org.xml file and then run:
in the console. Restart gedit and now everything works great!