Logged into my Linux computer today and got this error as I tried to start Chrome. Tried the basics and it did not work, searched Google and saw many others having this same issue so I decided to document the process of fixing this issue here. I’ll start with the basic stuff first then will get into the more detailed steps.
Continue reading Google Chrome – Your Preferences cannot be read
Most people connect to the internet via their ISP’s DNS servers which more than likely are not the best and more than likely is slowing down your browsing. Using a 3rd party service not only speeds up your experience online. A while ago we wrote about OpenDNS, today we’re going over Google’s DNS service.
Make sure to write down your ISP’s DNS servers.
Google Public DNS IP addresses
IPv4 addresses are as follows:
IPv6 addresses are as follows:
Making the changes
- Start the
Network and Sharing Center (this process varies by windows version)
Change adadpter settings
Local Area Connection or
Wireless Network Connection slelect
- Type in your administrator password if you are promted for it.
- Click the
- Under the
Internet Protocol Version 4 (TCP/IPv4) or
Internet Protocol Version 6 (TCP/IPv6) and click
Advanced and select the
DNS tab, write down any IP’s that are listed here for future reference in case you want to revert later on.
Use the following DNS server addresses
- Enter the IP’s from above
- Restart your computer
- Click the Apple menu ()
System Preferences and click the
- Select the connection you want to configure (
Thunderbolt Ethernet or
Display Ethernet) then click
- Select the
- Click the
+ icon to enter the IP Addresses (repeat for each address)
Apply then click
I will go over doing this in Ubuntu since that is one of the more common flavors.
System Preferences and click
- Select the connection you want to configure
Wireless tab, then select the appropriate network.
Edit, and in the window that appears, select the
IPv4 Settings or
IPv6 Settings tab.
- If the selected method is
Automatic (DHCP), open the dropdown and select
Automatic (STATIC) addresses only instead.
- If the method is set to something else, do not change it.
- In the DNS servers field, enter the IP addresses, separated by a space:
- If you are prompted for a password or confirmation, type the password or provide confirmation.
If your distribution doesn’t use Network Manager, your DNS settings are specified in
sudo vi /etc/resolv.conf
If any nameserver lines appear, write down the IP addresses for future reference. Replace or add, the following lines:
Save and exit
Restart any Internet clients you are using.
sudo /etc/init.d/networking restart
Every router uses a different user interface for configuring DNS server settings; we provide only a generic procedure below. For more information, please consult your router documentation.
Some ISPs hard-code their DNS servers into the equipment they provide; if you are using such a device, you will not be able to configure it. Instead, you can configure each of the computers connected to the router, as described above.
- In your browser, enter the IP address to access the router’s administration console.
- When prompted, enter the password to access network settings.
- Find the screen in which DNS server settings are specified.
- If there are IP addresses specified in the fields for the primary and seconday DNS servers, write them down for future reference.
- Replace those addresses with the IP addresses from above
- Save and exit.
- Restart your browser.
First Things First
First off, let’s talk about SSH keys and Security real briefly so that you can understand a bit more about what’s going on here and why it’s important. With all the issues happening in today’s digital age, everyone needs to start thinking about and taking one thing very seriously. You know, all the hacking and spying going on around us all.
One of the ways you can accomplish that is by using stronger encryption methods, in this case … SSH Keys or Public Key Cryptography. One of the major things is the key size. 1024 was common but that has long been hacked and not used anymore for websites and other public; so logically many are moving on to 2048 and even 4096, which is what I use.
SSH Keys provide a much more secure way to log into your servers than using passwords. While passwords can be easily broken by brute force attacks, SSH Keys way more difficult and if using a higher key can be almost impossible to decipher.
How does it work?
Generating a key pair provides you with a Private and a Public Key. You place the public key on a server you will connect to leaving the private key on your machine. When you SSH to your server you will not need to enter your password as your public key will be unlocked by your private key and you will be verified and allowed to get in. Continue reading SSH Private-Public Key Auth for Linux and Mac
We’ve all ran into issues with our Macs, Yosemite has issues with upgrading and networking from feedback we’ve gotten from customers and have seen personally; and if you want to roll back to Mavericks, I suggest doing a clean install. Some might even find this handy before selling your existing Mac after getting a new one.
WARNING: Performing the following steps will permanently destroy data on your drive. Make sure you have backed up ALL important data before proceeding.
Here’s how to do it:
If you are getting rid of your machine.
iTunes → click
Deauthorize This Computer.
- Enter your AppleID and password and click
- You should also deauthorize any third-party apps, such as Photoshop, that are locked to your Mac.
Turn off File Vault
System preferences → click on
Security & Privacy → open the
- Check that it says
FileVault is turned off the for the disc [main hard drive].
- If not click on the padlock icon in the bottom left, enter your password and click on
Turn Off FileVault.
Sign out of iCloud
- Open System Preferences and click on
iCloud and tap on
Sign Out Now.
- To remove all your personal data click on
Delete From Mac
Wiping and Rebuilding
Wiping the Drive
- Boot into recovery mode by holding command + R keys before pressing the power button and holding it until the Utilities window appears.
Disk Utility → click
- Choose your main Volume → click
- Click the
Erase tab → click
Disk Utility →
Quit Disk Utility.
Re-Install OS X
NOTE: You will need and internet connection to proceed, we suggest using an Ethernet connection for this.
Reinstall OS X → click
- This will start a blank download of the OS X install files.
- If you are keeping the Mac, proceed with the install by using your AppleID.
- If you are not keeping it, do not use your Apple ID so that the next owner can finish the install with their AppleID.
Ok folks, after many moons trying to fix this issue in Yosemite I finally got it… If you are running earlier versions of OSX, see here for the fix.
What am I talking about?
Append search domains for partially qualified domain names when performing DNS lookups. You know.. For example, you work in it and ssh to hosts regularly and your company uses
hostname.domain.com but you want to ssh to
hostname.sub to shave some time off your clock. With older versions you could apply a fix with mDNSResponder to work around whatever Apple decided to do there; around rolls Yosemite and they change the whole damn thing around. Continue reading Fix for broken search domain resolution in OS X Yosemite
Apple released their most recent update to their flagship OS that addresses issues many people were having to the point where some, including myself had to revert to Mavericks (sorry, did not do a write-up on that, was super busy with school and work). Basically, I was having drastic wireless connectivity issues that severely hindered my production, both at school and work. Continue reading OS X Yosemite v10.10.1 Update
We all have had that one time when your computer refuses to go to a site, or you can’t connect to something or a network. This is a result of a bad IP address or some other DNS result being cached in your system.
What is DNS caching
At it’s basic, DNS cache is simply how your computer remembers sites or networked locations and devices you’ve visited or networks you’ve connected to. It basically keeps the address that matches the URL of a site you visited for example.
How to flush
Flushing your DNS cache basically clears out all entries from your system and allows new entries to be made so that things flow smoothly. So here is how to do it on different systems.
Depending on the version of Windows you are using, the process to bring up a Command Prompt will be different but that is what you need. Basically you will want to do the following:
- For XP – Click Start -> In the Run box type cmd.exe and press Enter
- For 7 – Click Start -> All Programs -> Accessories -> right click on Command Prompt and click Run as Administrator
- Win8 and up – Simply type cmd which will bring up the search results to the right of your screen -> right click on Command Prompt and click on Run as Administrator
- Type ipconfig /flushdns and press Enter
- Open a command terminal and run the following:
- 10.8 Mountain Lion – sudo killall -HUP mDNSResponder then
- 10.9 Mavericks and up – dscacheutil -flushcache then sudo killall -HUP mDNSResponder
Open a terminal and run the following sudo dscacheutil -flushcache
A bug discovered in the widely used Bash command interpreter poses a critical security risk to Unix and Linux systems – and, thanks to their ubiquity, the internet at large.
It lands countless websites, servers, PCs, OS X Macs, various home routers, and more, in danger of hijacking by hackers.
The vulnerability is present in Bash up to and including version 4.3, and was discovered by Stephane Chazelas. It puts Apache web servers, in particular, at risk of compromise: CGI scripts that use or invoke Bash in any way – including any child processes spawned by the scripts – are vulnerable to remote-code injection. OpenSSH and some DHCP clients are also affected on machines that use Bash.
Ubuntu and other Debian-derived systems that use Dash exclusively are not at risk – Dash isn’t vulnerable, but busted versions of Bash may well be present on the systems anyway. It’s essential you check the shell interpreters you’re using, and any Bash packages you have installed, and patch if necessary.
Security expert Kenn White tweeted:
You can check if you’re vulnerable by running the following lines in your default shell, which on many systems will be Bash. If you see the words “busted”, then you’re at risk. If not, then either your Bash is fixed or your shell is using another interpreter. Continue reading Bash ‘Shell Shock’ bug blasts OS X, Linux systems wide open
Apple release their latest update today, get it for free.
- Choose Software Update from the Apple menu () to check for the latest Apple software using the Mac App Store, including this update.
- Other software updates available for your computer might appear, which you should install. Note that an update’s size can vary from computer to computer when installed using Software Update. Also, some updates must be installed prior to others.
- Fixes an issue that prevented some Macs from automatically connecting to known Wi-Fi networks
- Fixes issue causing the background or Apple logo to appear incorrectly on startup
- Improves the reliability of waking from sleep
- Includes Safari 7.0.5
For detailed information about the security content of this update, see Apple security updates.
So Mac loads a dashboard by default so you can have access to widgets; while many use them, I am not a widget person and decided to turn mine off. Not only do I not have to deal with a dash and swiping to it anymore but I get a small boost in performance since I no longer have resources going to that part of my Mac. Want to turn yours off?
Open Terminal and run this command:
defaults write com.apple.dashboard mcx-disabled-boolean true
Restart your computer
Open Terminal and run this command:
defaults write com.apple.dashboard mcx-disabled-boolean false
Restart your computer