Choosing/Changing ports used by Rainway (for forwarding in router)

Generally speaking you probably won’t have to do this if you’re using Rainway at home, but in case you want to limit the ports Rainway uses:

  1. Open/Edit the file C:\Users\YOU\AppData\Local\Rainway, Inc\Server\settings.json
    1. You can also easily go to Rainway Tray Icon > Dev Utils > Open Cache Folder
  2. Expand the section labled “Network”
  3. Change the lowest port in the range in the section “WebRtcLower”
  4. Change the highest port in the range in the section “WebRtcHigher”
    1. I.E if you wanted your range to be 21000-21010 you’d change WebRtcLower” to 21000 and “WebRtcHigher” to 21010
  5. Save the settings.json file
  6. Open the port range in your router

Change port range in Rainway

For more tips on connection problems, you can check their site:

https://rainway.com/support/unabletoconnect/

 

Change root folder for Radarr, Sonarr, or Lidarr and remove old path (including get rid of missing path errors)

Changing the root path for your movies, TV shows and/or music isn’t difficult or time consuming, if you know where to look.

Frequently the applications will throw an error after you move your media and delete the old path saying something similar to “missing root folder”. If all your movies and TV shows are found, that error only affects anal retentiveness. But it drove me nuts, so I had to figure out how to fix it.

Radarr add the new path:
1. Select the “Movies” page
2. Select the “Movie Editor” tab near the top of the Movies page listing
3. Click the “Select All” button near the top (currently blue colored but that could change in later versions.)
4. Change the “Root Folder” selection at the bottom to “Add a different path”
5. Click the (currently blue colored) folder near the right of the selection box, and chose /mnt/unionfs/whateverYourMovieFolderIs
6. Scroll down after the list of movie folders is shown and click “Ok”
7. You’ll be returned to the path selection screen – click the (currently green colored) check box to set your new path
8. Confirm the new path is now in the “Root Folder” box and click the (currently blue colored) “Save” button – and WAIT FOR COMPLETION.
– You should see a pop-up box after some time that says “Done Saving”.

Radarr to remove the old path (AFTER you’ve mass changed the movies to the new one!)
1. Go to “Add Movies” page
2. Start typing in a new movie (you’re not actually going to add it, just choose one you don’t have like Ishtar or Gigli)
3. In the “Path” Section, press the drop-down arrow to choose another path.
-The new one you’ve mass changed everything to AND the old one should show up as options.
4. Press the red “x” at the right of the old one.
5. Click the “Close” button.
6. Stop/restart the Radarr docker container.
7. Et voila

For “old” Sonarr it’s the same steps except obviously its the TV pages instead of Movie pages

Sonarr V3/beta (that is the default in 8.x) and/or Lidarr add the new path:
1. Select Series -> Mass Editor for Sonarr (v3/beta) OR Artist -> Mass Editor for Lidarr
2. Click the white box at the top left to select ALL series (Sonarr) or artists (Lidarr)
3. Change the “Root Folder” selection at the bottom to “Add a new path”
4. Select the folder for your TV shows or Music (i.e. /mnt/unionfs/YourTelevisionFolder or /mnt/unionfs/YourMusicFolder)
– When you see the list of folders choose “OK”
5. You’ll be asked if you want to move the series/artist folders to the new location. CHOOSE THE RED “Yes, Move the Files” button.

Sonarr v3/beta and/or Lidarr remove the old path (AFTER you’ve mass changed to the new one!)
1. Go to Series -> Import for Sonarr OR Artist -> Import for Lidarr
2. Click the black “x” at the end of the home path you want to remove (Again – AFTER you’ve mass moved everything!)
3. Stop/restart the Sonarr or Lidarr docker container.

Creating SSH key and using MobaXterm as remote access to Google Compute Engine

MobaXterm is my go-to remote access client from Windows. I prefer it to PuTTY for a number of reasons, which I won’t go into detail here, but include better GUI, better saved session information, clearer session info, macros, etc.
Ironically, I find using PuTTY (puttygen specifically) to *create* the key pair is the easiest process.
It’s free, and can be used as a Portable App or installed directly. https://mobaxterm.mobatek.net/

Anyhow – here’s how to set up your SSH keys to use it to SSH directly into your GCE rather than connecting through another PG instance.

—————————–

Creating SSH user for external app access. (This part is useful regardless of the client you use.)

1. Install PuTTY: https://www.putty.org/
2. Open “Puttygen”
3. Select the “RSA” button (ensure # of bits is set to 2048)
4. Click on generate and follow the instructions (move your mouse around to generate random info)
5. In the Key Comment textbox, put your email address
– it doesn’t matter what email you use, however the part BEFORE the @ symbol will be your login name. I.E. if you use testguy@google.com your SSH login will be testguy.
– Note that without some changes you can’t SSH directly in as root – and you don’t want to. So make sure your user has SU privileges or just switch to the root user after you log in (su root) – but make sure you’v set the root password first or that won’t work either!
6. Save your private key somewhere – you’ll use this location and key later in MobaXTerm
7. Copy all of the text from the top, greyed-out textbox – this is your PUBLIC key
!- this will be entered into the GCE Cloud Platform SSH section later, so don’t close PuttyGen yet in case you need to copy it again-!

Adding the key for use in Google Computer Engine – the recommended way (via Google Cloud Platform web interface.)

1. Go to your GCE “Google Cloud Platform Console”: https://console.cloud.google.com/?_ga=2.147913586.-473854088.1546545151
2. Select Compute Engine -> VM Instances
3. Click the name of your VM you want to create the SSH account on.
4. Click “Edit” at the top
5. Scroll down to “SSH Keys”
6. Click the box that says +Add Item
7. Paste the selection from PuttyGen – your public key – into the white box.
– it should show the username from the email address you used to create the key
– Be sure to follow the instructions carefully. Your key should start with “ssh-rsa AAAA…” not “— BEGIN SSH2 PUBLIC KEY”
– More specifically, it should be in the “id_rsa.pub” format if you’re using it from a file instead of copy/paste like I suggest.
8. Scroll down and select “Save”

Adding key to MobaXTerm

1. Create (or Edit if already created) the SSH Session settings for your GCE SSH connection.
– I assume you know how to create an SSH session in MobaXterm, if not – that’s a different set of instructions. 🙂
2. Go to “Advanced SSH Settings”
3. Click the box for “Use private key” and choose the file you saved earlier when creating the private key.
4. SSH into your GCE, as the user you created. SU to root as needed.

Windows 10 hotspot and Killer Wireless (including Alienware laptops)

For a number of years, Windows 10 security settings and the drivers it certifies have stymied some WiFi adapters from working as hotspots (i.e. sharing a wired/LAN connection through your computer’s/laptop’s WiFi adapter so other devices can connect to the Internet through your computer.)

Killer Wireless adapters are definitely susceptible to this issue

Bottom line up front: You need to “roll back” your Windows 10 driver to the Windows 8.1 version for it to work cleanly and consistently.

If you have a Killer Wireless AC 1525 or 1535 you can download the driver here: 11AC1525-1535 Win8.1 driver

I understand if you don’t trust a driver from my site (or if you have a different WiFi NIC) you can [edit: as of 6 Aug 2018] also get them from Killer’s website. You just have to do some creative searching for older drivers there.

If you want to confirm the ZIP file of the driver I’ve uploaded hasn’t somehow been changed by someone else (you still have to trust my original file, of course) the SHA1 text to compare the downloaded file is: 28F0219598DC9F6F2E0A18C8B52BB144A6CD91C3 or you can download that file here too.  11AC1525.zip SHA1


One way to confirm a suspicion that your WiFi driver is the culprit – for example, you’ve been getting errors from your devices that they can’t pull an IP from your shared connect (DHCP isn’t working – is to run the following command from a Command Prompt (doesn’t have to be admin.)

netsh wlan show drivers

 

This will give you a relatively large readout of your WiFi driver’s capabilities. They key verbiage to look for is:

Hosted network supported : Yes

This is usually about 9-12 lines down, after the driver info and radio types supported.

 

If it says “no” there is a good chance your WiFi will have issues using the built-in Windows 10 Hotspot feature, and you should try installing the Win 8.1 version if it doesn’t work.

Add per-game controller configs for Dolphin, and make the Dolphin folder portable

This will explain how to make two key changes/improvements to your Dolphin emulator, regardless of what front end you utilize. I happen to use and am a big fan of Launchbox (specifically the BigBox portion). I can duplicate the whole Launchbox folder plus all the emulators and ROMs between my PCs. However, some emulators like to place configuration files in your personal Windows directories rather than store them locally in their own, making it more difficult to duplicate between computers. Dolphin is one such application, but this will fix the problem.

Nothing I’m showing below is undocumented on the Dolphin site. It’s simply a little confusing, so hopefully this will help make it easier to implement.

Disclaimer: Below instructions are using the latest version of Dolphin (as of 22 APR 2018 that is 5.0-7062).

 

How to make your Dolphin install portable:

Note: before this step I recommend you note/document any specific settings you had (graphics specifically). Although I explain how to copy your old settings back to the new folder that will be created inside the Dolphin directory, I found that not all the settings actually copied over.

First, add a blank text file to your Dolphin directory called “portable.txt”. This will force Dolphin to save all the config files to the Dolphin directory under a folder named “User” rather than in the windows user documents directory.

Once you’ve done this and run Dolphin once, you can copy your old files from your Documents directory (My Documents\Dolphin Emulator\*.*) to the dolphin\User directory that was created to make it portable. You may have to recreate some of your settings even after copying them over. I had to re-do my video settings.

For official documentation on this see: https://dolphin-emu.org/docs/guides/controlling-global-user-directory/

 

How to load per-game controller configurations:

Create and save your per-game controller settings:

  1. Under “Controllers – Wii Remote 1 (Configure)” set your configuration for the game.
  2. Save the configuration profile by giving it a name (preferably either generic i.e. “Sideways” or “vertical” or related to the specific game) and press “save”
  3. Right click on the game in the Dolphin menu list of games and select “Properties”
    1. Note that you must have specified the game directories in Dolphin’s settings for it to find and list the games!
  4. In the game properties menu there is a button in the lower left labeled “Edit User Config”. Select that to edit the config for that game.
    1. Note that you must specify your text editor in Dolphin’s settings for it to open the .ini (text based) file for editing.
  5. There may already be some pre-set conditions. Just add the control settings at the end, or overwrite anything in [Controls] if already there.
  6. The text you add will be [Controls] on one line and the next will be the WiimoteProlfileX (where X= the player # of the controller you are setting) = config file you set in step 2.
    1. The instructions are located at How-to set game ini settings per game.
    2. Do not add the .ini to the end of the config when you type it. Just the name of the config file.
    3. Basically you just paste the following into the ini file you’ve opened for editing:

[Controls]
WiimoteProfile1 = DKCountry

Replace the name after “WiimoteProfile1” (I used DKCountry in the example) with whatever you saved the controller config as in step 2 above.

Chromecast announces what is playing to and allows control from ALL ANDROID devices on your LAN

The solution for this is fairly simple. Thanks to the How-To Geek site and their simple instructions.

Summarized the resolution is:

  1. Open the Google Home appGoogle Home
  2. Click the three vertical dots in the corner of the device you want to change the settings for – NOT the app itself.
  3. Click on “Settings”
  4. Near the bottom of the screen when you first open, there is a sliding button that controls “Let others control your casted media” – Turn this off.

 

Note the description for this fantastic little feature, that is enabled by default. Thankfully, when my 14 year old daughter got the media control bar popping up on her phone, the only damage was she kept pausing it because she couldn’t figure out what or why it was happening. I kept trying to figure out why my stream seemed to be buffering and pausing. Also thankfully it was an innocuous stream of The Arrow and not something more…uncultured.

Let me state this again. This feature is enabled by default. WTF, Google?

Why would you think my default preference would be for everyone on my network to suddenly see what I am watching, and control it without me knowing or giving them permission?