Wednesday, February 26, 2014

Networks are not scanned or refreshed when clicking on the wifi icon or Show Networks (Mac OSX)

UpdateThis is a bug. I have confirmed this with Apple today. It will be fixed in a future update. The steps below did not fix my issue. The issue reoccurs when going to the login screen and then logging in again.

When I click on the wifi icon on the Menubar, the networks are not scanned and there is no rolling radial wheel. When I click "join other network" and "scan networks" the list remains empty. This is how I remedied the issue, with help from apple:


  • Open a finder window
  • Click the "Go" menu and then "Go to folder"
  • Go to ~/Library/Preferences
  • Drag com.apple.systempreferences.plist to your desktop
  • Restart
  • Fixed!
On a side note, this was a profile issue for me. We checked that by creating a new user account and logging in with that one and the issue wasn't there.

Wednesday, January 8, 2014

apt-get extremely slow to resolve domains?

It's probably trying to do DNS resolution through ipv6 which is not configured. You can edit
/etc/gai.conf 
and add the line
precedence ::ffff:0:0/96  100
to the end of the file. This way DNS lookups are done with ipv4 prioritized over ipv6.

Tuesday, October 15, 2013

"Failed to connect to connect to FTP server" issue (Wordpress)

I set up a Wordpress installation on my web server. As soon as I tried to install a new theme/plugin, I got the message "Failed to connect to FTP server mydomain.com:21". I was certain that the address and login credentials where correct since I could connect to my FTP server with an FTP client (Filezilla).

I proceeded to set my wp-content folder's permissions to 755, as well as it's contents with:
chmod -R 755 /var/www/mywordpressfolder/wp-content/
I then changed ownership of the wp-content folder and its contents to the www-data user (apache user/group).
chown -R www-data /var/www/mywordpressfolder/wp-content/
This solved my issue. Needless to say, change mywordpressfolder with where your wordpress installation is. If your installation is not in a folder just use /var/www/wp-content/. If you get a "Permission denied/Operation not permitted" message, you probably omitted using "sudo" in front of the command.

Wednesday, April 11, 2012

Disable special characters Mac OSX such as á ä é ë (single-double quote/vowel)

Go to System Preferences -> Language and Text -> Input sources. Deselect U.S International, and select U.S.
Done.

Friday, December 2, 2011

Solve "Standard Mode: Fault outside of MS-DOS Extender." in virtualbox

I got this error when trying to install Windows 98 in Virtualbox.
Just uncheck these options:
  • "Enable VT-x/AMD-V" and 
  • "Enable PAE/NX"
Source

Monday, July 25, 2011

Toshiba bios "Yes" string

If a Toshiba Qosmio bios asks for a key string in order to make a setting change, press: 1234 [ENTER].

Thursday, June 9, 2011

Error 0x80072f8f when trying to activate MS Windows

Just fix the date/time in Windows, either by syncing with a time server, or manually.