Labels

Tuesday, December 23, 2014

Rearranging the Network for Fun

Well how annoying.  I haven't been blogging to this page for a while so I might want to catch up with what has been going on in the network at home.  I recently added a Personal Weather Station (PWS) and a Cisco router to the mix.  I find that once again I am not really trusting of the Verizon folk and I want to keep separate from them as much as is possible.

I did some wiring changes to the 4th switch so that the router only needs 2 wires through the wall; one from the switch in the side room (connected to the other 3 switches, with trunk lines) and one directly from the Verizon FIOS ActionTec router (as the WAN input).  The PWS is connected from a Raspberry Pi to a 3rd wire into the side room and into the 4th switch where it goes into a port with a "patch" VLAN that keeps the flow of information outside of my home network.  This "patch" VLAN then goes from switch #1 to the ActionTec.  Thus, I only have two connections now to the ActionTec.  I have effectively isolated the traffic from the PWS from everything else (as long as the switch on the ActionTec router acts like a switch).

I am also in the process of standing up a Ceton InfiniTV 6 to replace my HD HomeRun Prime.  The difference is 6 tuners instead of 3, and this is a pooled device; meaning I just grab one of the tuners from whatever is connected to it.  Since I really don't believe that my ZTec will be able to keep up with 6 tuners, I am going to stand up a Windows VM in the Mac Mini to host the Windows Media Center to the two Ceton Echo WMC extenders.

I might also use the 1 to 1 NAT capability of the Cisco router so that I can access all media devices from the subnet on the ActionTec.  This will simplify the use of iPhone/iPad apps to control the media devices.

I have some time this weekend to start making all of this work together.  Hopefully, I can get it into some form that will be acceptable to the wife and we can start getting rid of the FIOS Stb and VCRs to save some rental fees ($33 each month).

Friday, December 12, 2014

Stupid RPi Tip #5 - Conversion of SD Cards

I was able to convert an SD card from an RPi B (my work MediaPi) to a micro-SD card for an RPi B+.  I had gone through the trouble of putting some drivers on the regular 8GB SD card and I didn't want to lose the configurations that had already been done when converting over to an RPi B+.  The key to all of this was the use of Win32 Disk Imager and raspi-config.  The normal use of the Win32 Disk Imager is explained below:

Using Win32 Disk Imager
-----------------------------------
*** extracting an image file from an SD card ***
-- launch Win32 Disk Imager
-- load SD card
-- switch dropdown on right to the SD card that was loaded
-- select the file folder icon
--- go to the directory that you want and set a file name <filename>.img
--- click OK
-- you should see the location for the image file filled in, and Device being SD card
-- click on the Read button
-- when the file is finished, exit the program
-- you now have an image file of the SD card

-----------------------------------
*** pushing an image file to an SD card ***
-- launch Win32 Disk Imager
-- load SD card
-- switch dropdown on right to the SD card that was loaded
-- select the file folder icon
--- go to the directory with the image file, select it
--- click OK
-- you should see the location for the image file filled in, and Device being SD card
-- click on the Write button
-- when the file is finished writing to the SD card, exit the program
-- you now have an SD card with the image written on it


I followed the directions above marked "extracting an image file from an SD card" with the 8GB SD card to make an image.  I then followed the "pushing an image file to an SD card" with the 16GB micro-SD card to copy that image.  Once the RPi B+ system booted up, I then used raspi-config to expand the image to fill the entire micro-SD.  Problem solved - now back to troubleshooting.  I think I am now going to work on an SSH tunnel back to my house.

Thursday, December 11, 2014

Weather Station Project #12 - Weather Station Still Holding Up

Maybe I'm paranoid but I do check on the weather station every once in a while. This involves looking at apps on my iPad to make sure that everything is working and the station is updating. It just seems that I have missed something because the data stream is running so well.

I still have to get around to making the sensors work and integrating it into the Weather Underground data stream. Now that it is winter and around Christmas time, the development will have to wait until I am able to have time. Right now I have a ton of things going on at work and I have family responsibilities.

I do wish everyone who comes across this little blog a fond Merry Christmas!

Tuesday, December 9, 2014

Got WiFi adapters TL-Link WN725N to Work

After getting the Netgear wifi adapters to work with my bring-to-work RPi box, I took them out and put them on the RPi at the back of my new ASUS touchscreen.  I then went to MicroCenter and got a couple more, this time they were TL-Link WN725N.  Well, when I booted the RPi box up it didn't work.  Simple explanation is that the native drivers were not usable.  So I got one of the Netgear wifi adapters and put it on the RPi box, to at least get WLAN0 working and connected through my DIR-505L wireless router.  After an update of the software on the RPi, I then started looking for a solution and found it at http://raspberrypi.stackexchange.com/questions/23338/tl-wn725n-v2-driver-needed-for-linux-3-12-28.   The solution was found on Gordon's site and the following worked great:

wget gordon.d4rc.net/8188eu_3.12.28.zip
unzip 8188eu_3.12.28.zip
sudo cp rtl8188eufw.bin /lib/firmware/rtlwifi
sudo install -p -m 644 8188eu.ko /lib/modules/3.12.28+/kernel/drivers/net/wireless
sudo insmod /lib/modules/3.12.28+/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
sudo reboot

Thanks Gordon for the tip!  Although the GordonSys site is no longer there.