How to restore access to WordPress on home network

Recently we switched ISPs at home. I set up port forwarding on the new modem, told dotster what public IP I was then using, and that was it. Everything worked. That is, everything except my own laptop. Pinging the URL timed out consistently. The local IP worked fine so I could access my website locally but most of the WordPress theme components used the fully qualified domain name. The blog, without theme components was so difficult to navigate it was less of a hassle to actually go to my neighbors’ to work on my page.

I tried searching for fixes but was unsuccessful. Well, as usually is the case, looking at it again fresh today did the trick. I found these directions at boutell.com to simply update the hosts file on my laptop. It is fascinating how similar Windows and Linux are for these components. I never knew windows has an etc directory.

There is a risk I will need to manually disable the alpinedaisy.com line in my hosts file if I try to access the page from this laptop while on another network. That is worth it though.

Boutell did a fantastic job of explaining how and why the original problem occurred so I will just summarize what i changed. In the file C:\Windows\System32\drivers\etc\hosts I added the line:

192.168.1.150    alpinedaisy.com   # raspberry pi

Where 192.168.1.150 is my local network ip address. Then I restarted. That was it. Now my computer knows that whenever a call for alpinedaisy.com comes up it will instead call 192.168.1.150 and stay on the local network.

Success!

Which bootable media creator to use in which case

Boot-able media manipulation has taken me a while to wrap my brain around. Here are the tools I find that work best for each task, outlined for your (and my) aid.

To put ISO on a CD/DVD use: ImgBurn
To put IMG On a CD/DVD use: ImgBurn

To put ISO on a Flash/USB/MicroSD: Rufus or Win32 Disk Imager
To put IMG on a Flash/USB/MicroSD: Win32 Disk Imager or Rufus

To take IMG off of CD/DVD Media use: ImgBurn

Here are the tools:

Win32 Disk Imager: This is a free, easy to use, program. It is designed to make img application a one button process. It also applies iso images but it is not my preferred program for those (see Rufus below).

Rufus: Open source program that lets me have more control over device settings. The most helpful choice is the partition scheme. I often want to force UEFI booting so I choose one of the options that is for UEFI only. It also comes ready loaded to create FreeDOS media. The final nice feature is what I will call “smart Unix media creation”. It has caught a few errors on my Unix distro media and fixed the errors on the fly.

ImgBurn: Free program to turn a DVD or CD into an img or iso, and visa-versa. Be sure to do a File-Hash check on the downloaded executable before running.

I hope this helps you.

Why I save and backup installation media

Five years ago, I purchased a USB DVD burner/player. It came with a basic program for playing videos, which was fortunate, because that was right about when Microsoft discontinued the free Windows Media Player.  Just in case I lost the install disk I copied the DVD executable file (.exe) to a safe place so I could reinstall the DVD program whenever I changed computers. Unexpectedly, it was also much more convenient to install from the executable than searching for the disk each time.

Now, I also save executables from open source programs in case I need to reinstall them. In addition, I sometimes save the full media image as an .iso.  I collect them by type and store the images on external hard drives.

I will never know when the cyber apocalypse will come, but at least I am ready with all my programs.

My unsuccessful attempt at playing Minecraft.

In early March I spent over two weeks breaking and then rebuilding my raspberry pi webserver. I just wanted to play a game and the whole site came tumbling down.

You see, my neighbor girl, whom I was watching, was obsessed with these YouTubers who recorded themselves playing Minecraft. The videos were mildly entertaining for the first few hours but became quite annoying after that. Wouldn’t she rather play Minecraft?

I can’t install any paid apps on her little notebook pc but fortunately Minecraft comes on my raspberry pi which she can use remote desktop to access. The problem was that the game would never load. I would only get a black window.

Hm…? Probably outdated X windowing systems. I update regularly but maybe now would be a good  time to upgrade to Raspbian  Jessie. So I started that upgrade and said yes to everything. Yes, yes was not the always the correct answer.

Grinding halt. I couldn’t even get a login script… And to top it all off I discovered at this point that Minecraft for pi doesn’t work remotely. No wonder!

Fortunately, a wise person early on told me “why don’t you just start a fresh image? It won’t take very long.” So that is what I got to do.

Unfortunately I don’t keep backups of the pi because the only I currently know how is by swapping the microsd into a laptop. So even though I could not log into the pi I hoped to at least pull my website and some other files info off of if manually. First I had to teach myself about Linux partition EXT formats. Then I had to find a way to mount that type of system to my PC. I discovered that Paragon Software has a drive mounting program. I am familiar with Paragon because I like the free version of their partition manager. (After the trial period the program will only allow the user to use a few basic tools. Fortunately those are the only tools I ever need.)

Once I had it mounted in a readable format I was able to copy everything to my laptop and free up the flash drive to be reformatted. And I was off! Of course, I abandoned my attempt to load Minecraft and instead loaded WordPress. Better use of my time anyway. And my neighbor girl doesn’t watch Minecraft videos anymore anyway. Now she just plays with fidget spinners.