Saturday, December 30, 2017

Tech Review: Asus RT-AC3100

After finally getting fed up with my old router dropping devices, locking up, and corrupting firmware, I decided to get a new one. Working in IT, one would think I had a good idea of what to get, but I only had a list of brands in my head to avoid. So off to the Googles for lists of good routers. I came across some various Asus routers and figured I would check their site for what they have to offer. Generally my goal is to go for a newer device to avoid upgrading for as long as possible. In this case, it was a matter of I need something that also works well.

So after a same day in store pick-up, it was time to set up a brand new router. So as far as basic setup to get going, it was so simple and quick that I don't remember any of it. Seriously, it was simple with a fully guided setup. For me, that's too boring. After it was setup, it was time to fine tune and update. The control panel for this is nice, however setting IPs manually is very annoying and was hard enough to find where to do it. There is also a rather bad disconnect between what you can do with the phone app for it and what you can do on the actual control panel.

When it comes to security, it has a guided scan for that, making it easy enough to lock down the features. The one thing that annoyed me is that if you don't go through the security stuff, it has a lot of outside access enabled. I turned off all of the dydns stuff and it's actually in its own NAT anyway, so that won't work. Reason for that is I have a business class router that gives me four separate networks I could configure, but I just use one and only really have it because I use too much internet. As far as all the security options, a quick run through is:

  • Change default login
  • Strong wifi password (mine is way too long but it keeps others from learning it)
  • Wireless encryption
  • WPS disabled
  • Ping from WAN disabled (doesn't do much in my case because the WAN is a private network)
  • DMZ disabled (WAN is private, so not much of a problem either way in my case)
  • Port trigger disabled
  • Port forwarding disabled (If you lock down your device, this doesn't matter too much)
  • Anonymous login to FTP disabled (I keep FTP disabled as a whole because it's plain text, they need to add SFTP)
  • Disable anonymous login to network shares
  • Malicious website blocking enabled
  • Vulnerability protection enabled
  • Infected device prevention and blocking
These are all good things, especially when you share a network or even have kids using it. My niece was using her new laptop she got for Christmas while she was over and I noticed she clocked on an ad which took her down a string of fake search engines. I feel having a safe network both outside and in will be quite necessary in the not so distant future.

The parental controls on this seem quite simple, I have not tested to see what catches them though. I'd imagine that I'd trip off parental controls quite often. The options are to block porn, violence, gambling and illegal stuff (sounds like a good weekend to me), messengers, social media, file sharing and streaming. Basically everything that runs into either age restrictions or COPPA.

Now the QoS stuff is my favorite. It doesn't do much on a not so heavily used network, but it has all the monitoring stuff there for you to view. It's very basic in controls and I don't know how much of an impact ia will have, but games and streaming are high priorities for me, so that's the gist of my setup. There's also further information in a traffic analyzer that can give some more insight into individual device usages.

A feature I have setup and plan to use quite a bit is the samba share. I have a 2TB external that I keep for backups, but since it is NTFS that can cause some problems. Luckily, every modern device known to man now seems to support samba, so we can dance the night away with some file transfers. I have noticed that while trying to move files off of a time machine to the hard drive, it times out quite often. I think that's just a culmination of other problems and aging hardware. You can isolate file permissions, but keep in mind that the router login will have full access to everything. You can remove its access but when I tried that, everything came apart at the seems. I couldn't write to the drive.

One feature I have enables that I think will prove to be very useful is the IFTTT options. I have my phone text me when someone connects to the network. One major security hole I see though, is the Alexa support. When you can voice command your router to do things like turn on a guest network or even administration stuff, that just seems like poor design. Voice recognition is not secure, so why add it to something you are trying to keep secure?

The last feature I want to touch on is the mobile app. It works. It's not great. It makes a good monitoring tool and the family feature lets you group devices together per person to either check their usage or quickly block someone entirely from the network. You can check on things and do some basic tasks quickly. I personally want more, but I can't fault it on that. I fault it on the fact that some mobile features are not available on the control panel as far as I can find and the same goes the other way. This is the disconnect.

I could go on for quite a while point by point with features and such, but the rest are boring. So quick overview: firewall, url filtering, keyword filtering, dual wan with fallback and loadbalancing, 3g/4g through usb devices, ipv6, vpn, WTFast integration, ssh (yay!), telnet (why?!), ping, traceroute, and nslookup. There are probably other things I missed, but whatever.

So, coverage and reliability. I live in a small house that was not designed with networking in mind. This router is made for large area coverage. My signal goes all over mu .98 acres and beyond. I have no idea where the signal ends. I have not had a device drop off for the two days I've had the router, but here's the thing. There is the AC88U that is the same 3100 class router, but with an extra network card that has 4 more ports. That one has a lot fo complaints about it just suddenly not working or things dropping off. I imagine it's a bit of user error and a bit of hardware not playing nice. This is just a guess. There were fewer complaints about that on this router, and by fewer I mean enough to chalk up to purely user error, mishandling, or actual defects on those specific devices. So I'm confident that it will hold up fine.

Now for the conclusion. Yes I would recommend it to others, even the less tech-savvy. In fact, I think it was made for the less savvy with a few bones thrown for the more technical minded. I've personally never had a problem with Asus before, but I have had problems with some of the pairings with Asus. So until the router decides to go down in a blaze of glory, I'd say it's a good deal. It's not cheap, but seeing as it is the only device that will be the backbone of most people's home network, it's something you should spend a little extra on.

Now for some after stuff of my network. I got a business class router/modem thing from Xfinity that I'm not going to check what the model is because that requires getting up. I just use one port right now that goes to the router. The router goes off to a very old switch that goes to everything else in the house. I have a newer switch, but that is in the office right now because I was working on stuff but then the RAM died and I'm too cheap and lazy to replace it right now. One of the ethernet cords goes to the entertainment center, which has an old time machine acting as a switch because reasons. I need a couple of new switches, but I'm too cheap to mess with what seems to work for now. The old switch is an HP procurve 8 port managed piece of junk and the newer one in the office is an unmanaged Cisco 8 port. I got the managed one to mess around with vlans, but I don't have anything that has a reason for that, so that's just me taking ideas from work home with me for no reason other than it's fun. Eventually I will do everything all proper, but for now it works.

Monday, October 23, 2017

Tech Review: Rexing V1P

Due to driving an hour to get to work, an hour to get home, and drive between buildings at work, I supposed it best to get a dash cam. Not to mention getting rear-ended on my way in to work not more than a few months ago. So after browsing around, I settled on the Rexing V1P for the low price and additional rear camera. I got the camera itself without doing real in-depth research, a fatal flaw of mine to jump on a reasonable price and good ratings. So here's my review after a week of owning one.

The first thing to note is that you need loop recording enabled because after an email from Rexing, you can only have a 4GB single file, which is roughly 40 minutes. No major drawback there, and having the separate 10 minute files is easier to find events. If you let it hit the 4GB file, it tells you the SD card is full and stops recording. I was also advised to avoid a SanDisk Ultra SD card, after I bought one with it because Amazon recommended it. So far, I haven't had any real problems with it, but I figured I would mention it. They recommend some Lexar SD card.

So the part I think is most important, is installation. I've now installed one in a 2010 Toyota Prius and a 2016 Toyota Rav4. Installation itself is super easy, I just did the normal charger as apposed to a hardwire because I'm still a little nervous about what the actual impact would be as far as the fuses itself and I already hard to replace a fuse for a plug and USB adapter. Now the installation was very easy, but of course it depends on your car. With both cars, I was able to pull paneling away and pop the gasket out of the runs to get the wires behind everything, including behind the airbag. I was worried if I put it in front of the airbag, it could cause a problem. To drop the power to a plug, I dropped it behind the glove box where there's already an exposed hole. To get the rear camera wire from door to door required getting a rigid wire and some tape.

To attach the front camera, rather than stick it on the windshield and worry about the 3M pad getting wrecked by the sun and heat in Georgia or needing to replace it if the windshield needs to be replaced, I bought the suction cup mount. All seemed well, but there was one final problem. My windshield has a low angle and I'm over 6ft tall. The screen has a low angle viewing and I can only seem to manage a high angle.

Despite the random problems I've run into, I've been very happy with the camera. Now I'll tack on some video for the front and rear with an example of why I need a dash cam. I pulled some clips from the front and rear for both the daytime and night/early morning.


So as a final rating for the dash cam... I would say it's great for the price with a simple install.

Tuesday, October 10, 2017

Tech Review: Denon AVR-S530BT

So, recently in the process of moving stuff from an entertainment center into one built into the backside of a closet, the failing sound system that was previously being used failed completely. It was just turning itself off at random, but now it just says "Overload" and turns off. So began the quest to find a cheap replacement that would require as little effort as possible. And that meant me not having to run new speakers or mount anything again or make cable ends.

So the first step of the quest took me to Amazon, where I was spectacularly disappointed by the prices and offerings. I have a limited budget with plenty of unexpected costs and just spent around $100 punching a hole in the wall for the start of this project already. So I decided to go on to Google and Best Buy came up as the top result. Personally, I have been avoiding Best Buy because the majority of the store just seems like a bad joke to me. My in-laws have had their crews install systems for them to be given an unmanageable mess.

You see, I have very simple standards. Get from A to B in as few steps as possible. I don't want to turn on the TV, then a system, then the sound, then select the input. I use HDMI control so that I turn on a device, it turns on the TV, the TV then routes the sound via S/PDIF optical and I didn't have to do much of anything. Now I digress back to the quest.

Upon looking at Best Buy, they had a Denon AVR-S530BT for like $250 with the right inputs and outputs I needed to do as little work as possible. The price and the effort plus a rating above 4 stars was an instant sold! By now you should realize, I didn't read up on any of the features or specs. You see, as long as the sound isn't too much treble or bass when I get it adjusted, I'm fine. Seriously, people that just crank up the bass as high as it goes to "show off" their sound system piss me off. You need to balance the bass and treble.

So fast forward to the system being home and installed. First thing to get out of the way, the auto setup is a piece of trash. It did not work. At all. That being said, the sound system works and it sounds just fine. So, let's fast forward to the features found on it.

First thing I noticed was that it was connected with an HDMI cable as well. Could it be? Could I finally have gotten a sound system that turns itself on and off with the TV and use the TV remote for volume control? In the settings I found HDMI Control, turned it on and we were in business. So the TV turns it on, off, and adjusts the volume.

The next thing to notice was the bluetooth options. That means I can play music from a phone without turning on the TV. That's okay and all, but the more interesting part was that it has a bluetooth remote control. That makes it even more worth it since my phone is generally within arms-reach... unless someone may be calling, then it's in another room where I can't hear it.

Another added benefit to the sound system is the HDMI ports on the back. The TV has long since been out of HDMI ports, but with the extra ports it is now like having even more ports! Some other features I don't really care about them being there are an AM and FM radio.

The main point and conclusion on the device it that it works well and at the price, you really can't beat it. I'd say it's a great value.

Thursday, July 27, 2017

Old Tech: Powerbook 520C

So I found this amazing piece of technology and decided to see if it still worked... and it did! It's from 1994, which means I was four years old when someone bought this. The battery has long since swollen, but the rest appears to be in great condition. Although, there is some fading on the bottom left corner.


Check it out, there's a floppy drive! I knew I kept my floppy disks around for a reason.


I can identify a SCSI, headphone, and microphone port, I assume the one left to the SCSI is some kind of a display port, but this is something I think I need a manual for.


A nice swollen battery.


Some stickers for accessibility I assume. Regardless, this thing looks cool.


So you remember when the Apple logo was a rainbow? I do. I was a little kid at the time and disliked those computers being called Macintosh because I don't like mcintosh apples. I prefer golden delicious or honey crisp.


And here is video proof it works! Enjoy the background talk. I wanted to include all the wonderful noises and clicks from the good old days.



I hope someone enjoys this. I did, seeing stuff almost as old as I am in action is interesting to me.

Saturday, July 22, 2017

Tic-Tac-Toe Haskell with Rule-Based AI

So recently I wanted to get back into programming, so I decided to dive in head first with Haskell, as it is one of my favorite languages. The aesthetic of the code with the style works great for me most of the time. After about four projects, I ran out of ideas. There was the obvious "Hello, world!", fibonacci sequence, quick sort, and a binary tree search. While these seemed great, they had no real immediate practical use for me to interact with. So I decided I should make a game. But what game would have seemingly simple enough rules to make a computer based player? Well, my two choices are Blackjack and Tic-Tac-Toe. Now Blackjack is super simple when it comes to a computer looking in, just statistics and seeing who's got the better hand. So Tic-Tac-Toe was the winner.

Now when a game of Tic-Tac-Toe is played perfectly, it's always a draw. Not necessarily fun for people to play, however it's good to know that if I get it perfectly that there is an expected outcome. With that in mind, I set out on my journey and created this monstrosity.

I chose to do rule based analysis simply because I wanted to break down the logic that way. Other methods I read about used minmax, which uses heuristics. My concern was if I mapped out every possibility as a means to the end, it's just simply path finding. I may try to adapt the rules to something a bit closer to real AI at some point in the future.

The way the rule based decisions work are as follows:
  1. Check for a move that it can win
  2. Check for any opponent wins to block
  3. If the center is available, take it
  4. If the center is taken, use the edges, otherwise use the corners
Now if we were to swap the roles, the rule for three and four would probably be different. I just haven't taken the time to work that out because it seemed like more effort than I wanted to do right now. For now, this is it.

Thursday, July 6, 2017

ChocolateyGUI Invalid Path with OneGet

So recently while browsing around some stuff about about Windows 10, I found out about OneGet. This is a package manager manager in Powershell. I think this could be super useful. So one of the package managers I added was Chocolatey. I also wanted to install the GUI for I figure it may be easier to browse packages that way. Upon installation and execution, I got met with a huge error screen along the lines of:

System.IO.InvalidDataException: invalid Chocolatey Path. Check that chocolateyInstall is correct in the app.config

So on and so fourth. After reading through the git page on this error and taking some time to consider the confusion around "how did you install chocolatey?" I realized that specifically it's not actually installed when you just add it to OneGet. So here's the fix. After you add chocolatey, you need to INSTALL it. Just like this:

Install-Package chocolatey

After that, it should run without a hitch. Hope this helps someone out there. Package managers are great, aren't they?

Sunday, May 14, 2017

Kali Live with Persistence and Updating

So recently I was trying to set up Kali Linux on a live USB fully updated. I kept running into a few problems with it that ultimately are based on how the instructions online are worded. After modifying the steps, I managed to create a fully updated Kali Linux live USB and hopefully you can set one up as well by following these instructions.

So the obvious first step is to download the most recent ISO image that you plan on using. At the time of this writing, that would be 2017.1 and I will be using the 64 bit, so my ISO file is named:
kali-linux-2017.1-amd64.iso

Starting from Windows, I use a program called Rufus to create a live USB. It's a very handy program to keep around and my go to for this stuff on Windows. At work, it's gotten disks working with less effort than all the random tools my co-workers download from the random tutorials they read and with no installation required you can keep it on removable medium and have it with you for when you need it. So download that as well, pop your USB drive in and load up Rufus. Then you need to select your ISO file.

After selecting the ISO, the drop down should say something about it being a DD image, and that's exactly what we want. Tell it to start and let the magic happen.


Starting from Linux, we are going to ignore the dd command (dd if=kali-linux-2017.1-amd64.iso of=/dev/sdb bs=512k) because that's both complicated and pointless. A much simpler way to get this done with a LOT less to remember is the cat command. Assuming the drive is /dev/sdb, we simply do: cat kali-linux-2017.1-amd64.iso > /dev/sdb
Simple, easy to remember since it's not using a different syntax style than other bash commands and straight forward. I've also read online that cat is quicker and has less overhead than dd, but I do not know enough about them to confirm or deny these claims. I just think it's a lot easier and gets the job done just as well.

Now with this drive ready to boot from, we shall move on to the next step through Kali because then we know we have the simple and easy tools we need to get the persistence set up. So boot on into Kali and select Live, NOT PERSISTENCE. We need to create the persistence partition. In the actual instructions, they list off some commands than every time I try, they do not work. Even when in Kali Live itself. The commands themselves are a bit beyond my understanding, but that seems to happen every time someone makes a "copy and paste" tutorial because they need to compensate for dynamic possibilities. I, on the other hand, think gparted is a perfectly acceptable solution for today's day in age. If you want to do this via command, I suggest you learn the parted command and do it yourself rather than copy-paste.

So first, press the windows key on your keyboard or bump the top left corner with your mouse. That should bring you to the activities view. Type in "gp" and an icon for gparted should show up, click on that to open it up.

Right click on the empty space and select New. Create an ext3 partition with the label persistence.

Now click on the apply arrow.




Now we are entering the home stretch. The command portion. Open up a terminal, it's the little black icon on the left dock. Enter in these commands:
mount /dev/sdb3 /mnt
echo "/ union" > /mnt/persistence.conf
umount /mnt

Now we reboot the computer to Live with persistence. On some random installation like this, I have run into just a black screen with a pointer. To fix that, I pressed ctrl+alt+f2, which should bring you into TTY2. Then run the command:
kill -9 $(pgrep gnome)
This then dumped me back over to TTY1 and after some time the desktop came back up on TTY3 (ctrl+alt+f3). In the meantime, I just updated on TTY2.

So to finish things off with a clean and easy update:
apt-get update && apt-get upgrade -y

Hopefully this will help anyone struggling with this process. I did notice a lot of people ran into the same problems I did, so now to list off those problems and what caused them for me:

Out of space because updates going into the disk image.
This was caused by booting into persistence and trying to do things before persistence was set up which then lead to an non-bootable USB.

Boots to a black screen with a cursor.
I don't know the cause of it, but killing all gnome related processes seems to correct it. While performing this process 

Could not write files while updating.
This was another case of not having the persistence set up properly.

Saturday, May 13, 2017

Linux ESXi Screen Resolution Will Not Change

I ran into a problem with an ESXi server at work, version 5.5 but I assume the solution will be the same on other versions. The screen resolution would not change. The solution was pretty simple. Edit the virtual machine settings and up the video memory. I found that small increases or using the recommended settings was not enough, so I set it to 32MB and it seemed to work great after that.

Tag Cloud

.NET (1) A+ (1) addon (6) Android (3) anonymous functions (5) application (9) arduino (1) artificial intelligence (2) bash (3) c (7) camera (1) certifications (1) cobol (1) comptia (2) computing (2) css (2) customize (15) encryption (2) error (15) exploit (13) ftp (2) gadget (2) games (2) Gtk (1) GUI (5) hardware (6) haskell (15) help (5) HTML (4) irc (1) java (5) javascript (20) Linux (18) Mac (4) malware (1) math (8) network (5) objects (2) OCaml (1) perl (4) php (8) plugin (6) programming (42) python (24) radio (1) regex (3) security (21) sound (1) speakers (1) ssh (1) telnet (1) tools (11) troubleshooting (1) Ubuntu (3) Unix (4) virtualization (1) web design (14) Windows (6) wx (2)