error Archives - Kontroversial Keith https://www.keithwatanabe.net/tag/error/ Hitting Where It Hurts and Making the Universe Like It Sun, 20 Nov 2016 12:01:00 +0000 en-US hourly 1 https://wordpress.org/?v=7.0.2 81900562 Weird Vagrant Error Warning: Authentication failure. Retrying… https://www.keithwatanabe.net/2016/11/20/weird-vagrant-error-warning-authentication-failure-retrying/ https://www.keithwatanabe.net/2016/11/20/weird-vagrant-error-warning-authentication-failure-retrying/#respond Sun, 20 Nov 2016 12:01:00 +0000 http://www.keithwatanabe.net/?p=2614 I had shutdown my VirtualBox/Vagrant for a while and possibly had a system upgrade or messed around with my SSH

The post Weird Vagrant Error Warning: Authentication failure. Retrying… appeared first on Kontroversial Keith.

]]>
I had shutdown my VirtualBox/Vagrant for a while and possibly had a system upgrade or messed around with my SSH keys. Either way, upon starting up again, I found that I no longer could use my SSH key to login. Not sure what happened, but here’s what I did to resolve the issue.

The issue is described over on github where you can see the full article. But for myself, I’m using Vagrant 1.8.1 which is a little older than what’s proposed as a solution in the article. Nonetheless, I managed to fix it with the suggestions. The gist of the solution goes like this:

    • Go into your vagrant box manually. You will need to use “vagrant” as your password if you never bothered changing it.
    • From your root vagrant directory, run the commands:
      wget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O .ssh/authorized_keys
      chmod 700 .ssh
      chmod 600 .ssh/authorized_keys
      chown -R vagrant:vagrant .ssh
    • logout out of the box and run vagrant halt
    • Locate your Vagrantfile (on my mac, it’s under ~/Homestead/Vagrantfile) and add the “config.ssh.insert_key = false”. It might look like the following:
require 'json'
require 'yaml'

VAGRANTFILE_API_VERSION = "2"

homesteadYamlPath = File.expand_path("~/.homestead/Homestead.yaml")
afterScriptPath = File.expand_path("~/.homestead/after.sh")
aliasesPath = File.expand_path("~/.homestead/aliases")


require_relative 'scripts/homestead.rb'

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
        if File.exists? aliasesPath then
                config.vm.provision "file", source: aliasesPath, destination: "~/.bash_aliases"
        end

        Homestead.configure(config, YAML::load(File.read(homesteadYamlPath)))

        if File.exists? afterScriptPath then
                config.vm.provision "shell", path: afterScriptPath
        end
        config.ssh.insert_key = false
end
  • Run vagrant up

After these things, the warning should go away.

The post Weird Vagrant Error Warning: Authentication failure. Retrying… appeared first on Kontroversial Keith.

]]>
https://www.keithwatanabe.net/2016/11/20/weird-vagrant-error-warning-authentication-failure-retrying/feed/ 0 2614
Alienware Aurora R4 Wireless Failure https://www.keithwatanabe.net/2012/12/01/alienware-aurora-r4-wireless-failure/ https://www.keithwatanabe.net/2012/12/01/alienware-aurora-r4-wireless-failure/#respond Sat, 01 Dec 2012 15:53:53 +0000 http://www.keithwatanabe.net/?p=446 Last night, my wireless card on my Alienware Aurora R4 seemed to have failed without warning. Not sure exactly what

The post Alienware Aurora R4 Wireless Failure appeared first on Kontroversial Keith.

]]>
Last night, my wireless card on my Alienware Aurora R4 seemed to have failed without warning. Not sure exactly what happened but my system could not detect it. It freaked me out because I had done nothing and could not use any of the Windows diagnostic tools to recover it. Looking at the Device Manager, I could not see it neither.

What I found out is that the Alienware Aurora R4 has a rather common issue where you need to disconnect both the wireless and Bluetooth cables inside then re-connect them. It was a bit of a pain to do this since the cables are quite small and require tiny hands to perform the operation. However, after reconnecting both cables and powering back my Alienware Aurora R4, my wireless network came back.

This is a very strange error. I cannot think of anything that would cause this issue. The only thing that may have occurred is the fan since it’s the closest moving component. But even then that makes little to no sense as it’s far enough where it should not affect the wiring.

The post Alienware Aurora R4 Wireless Failure appeared first on Kontroversial Keith.

]]>
https://www.keithwatanabe.net/2012/12/01/alienware-aurora-r4-wireless-failure/feed/ 0 446