Boxee and 7MCE

Looking for a way to get access to more content through Windows 7 Media Center? Maybe you’d like a good way to jump back and forth between Boxee and Media Center with just a click of the remote? Today we show you how to get access to Boxee through Media Center with Boxee Integration 1.0.

Installing Boxee

Download and install the current version of Boxee. (See download link below) The install is very straightforward, just take the defaults. You’ll also need to register for a Boxee account, if you don’t already have one.

sshot139 thumb Boxee and 7MCE

If you have Windows Firewall enabled and this is the first time you’re running Boxee, allow it to access your network.

sshot20100301003544 thumb Boxee and 7MCE

Boxee Integration 1.0

Close out of Windows Media Center, then download and install the Boxee Integration application. It’s also a simple install. Just take the defaults and click “Finish.”

sshot49 thumb Boxee and 7MCE

Restart Windows Media Center and you’ll see a Boxee tile on your main interface.

sshot513 thumb Boxee and 7MCE

Click on the Boxee tile to launch it. You will be prompted to enter your username and password. Select the “Remember password” option if you don’t want to have to enter your login credentials each time.

sshot68 thumb Boxee and 7MCE

You’ll be prompted to set screen calibration. You can do so now, or click “Skip.”

sshot710 thumb Boxee and 7MCE

Boxee will open up in full screen. From here you can enjoy all your favorite Boxee content.

sshot20100301004125 thumb Boxee and 7MCE

When you exit Boxee, Windows Media Center will restart in Full Screen mode. It is not completely seamless. You will see the desktop and a command box flash for a few seconds before Media Center opens.

Conclusion

This a great way to get access to some popular apps that aren’t currently available in Media Center like Pandora, LastFM, and MLB.TV. Unfortunately, Boxee Integration does not work on extenders.

Links

Download the latest version of Boxee

Download Boxee Integration 1.0

  • Share/Bookmark
Posted in Secuirty | 2 Comments

Add / Manage shares in WHS

Windows Home Server comes with some shared folders in different categories by default, and chances are you’ll want to create your own as well. Today we show you how to create your own shared folders, manage permissions, enable folder duplication, and more.

Note: For this article we’re accessing the Home Server Shared Folders from Windows 7.

Default Shared Folders

After installing Windows Home Server you’ll notice that the default shared folders are Music, Photos, Public, Recorded TV, Software, and Videos. These folders cannot be deleted, but we can create our own folders if needed. We can also go through and change permissions and view folder histories.

1defaults thumb Add / Manage shares in WHS

Accessing Shared Folders

You can access your shared folders on the server a few different ways. One is to double-click the Shared Folders on Server icon that was created on the Desktop when you installed WHS Console.

sshot20100224183916 thumb Add / Manage shares in WHS

Or right-click on the WHS Console icon in the tray and select Shared Folders.

12folder thumb Add / Manage shares in WHS

Open WHS Console and under Shared Folders right-click and Open the folder you want.

13folder thumb Add / Manage shares in WHS

You can also go into Network and double-click on the Home Server icon…

14server thumb Add / Manage shares in WHS

Which ever method you use, it’ll open the Shared Folders directory and you can begin browsing through your data.

15server thumb Add / Manage shares in WHS

Add New Folder

Adding a new folder is pretty straight-forward. Open Windows Home Server Console and under Shared Folders click Add from the toolbar or right-click an empty area in Shared Folders and select Add from the context menu.

2add thumb Add / Manage shares in WHS 3add thumb Add / Manage shares in WHS

Either way it will pop up the Add a Shared Folder wizard where you type in the name for the folder and give it a description if you want to. You’ll need to decide if you want to enable folder duplication or not. With it enabled, it duplicates the folder and files contained in it across multiple drives on the server. It will take twice as much space on the total storage of your server and can take a while for the process to complete. In this example…these files are going to be large video files, and we don’t need to create a duplicate.

4add1 thumb Add / Manage shares in WHS

Next we need to select the type of access each user will have for the new folder. The types of access are as follows…

  • Full – The user can view, add,.modify, and delete files in the shared folder.
  • Read – The user can view files in the shared folder, but cannot add, modify, or delete files.
  • None – The user can’t view, modify, or delete anything in the shared folder…they have no access.

5add1 thumb Add / Manage shares in WHS

The folder has been successfully created and you can close out of the wizard and start adding files.

6add thumb Add / Manage shares in WHS

Now in Windows Home Server Console we can see the created folder named DVD Movies. We also see the Description, it’s currently empty, Duplication is off, and a status of Healthy.

7add thumb Add / Manage shares in WHS

Delete a Shared Folder

If you ever find that you need to delete a shared folder you created, right-click the folder and select Remove from the menu.

17server thumb Add / Manage shares in WHS

Then click finish on the warning message if you’re sure you want to delete it. Remember that if a folder is duplicated, that will be deleted as well. Also you can’t delete the folders that were included by default by WHS.

16server thumb Add / Manage shares in WHS

Change Folder Properties

We can also go back and change the properties and user access to the folders at any time. In this example we created a Documents shared folder and want to enable Folder Duplication and change user access. Just right-click the folder and select Properties.

8add thumb Add / Manage shares in WHS

The Properties window appears and under the General tab we want to mark the box next to Enable Folder Duplication. You need at least 2 drives on your server to enable folder duplication. What it does is automatically duplicate the folder and its contents over to another drive. It also syncs the folder with the duplicate. So for example if you take a file out of the folder, that is updated in the duplicate as well.

This is very handy incase one of the server drives fail, you’ll still have access to the folder contents. Remember that duplication takes twice the amount of space of total storage space. You might want to use this feature for your most important files and documents.

9add thumb Add / Manage shares in WHS

Click on the User Access tab to change the type of access each user has to the folder.

10add1 thumb Add / Manage shares in WHS

You’ll get a message reminding you that the new permissions won’t go into effect until the user logs off then back on to the machine.

11add thumb Add / Manage shares in WHS

If a user tries to access a file that you haven’t assigned rights to, they’ll get a File Access Denied error message.

22hist thumb Add / Manage shares in WHS

You can also check out folder history and see how it has grown over time. Right-click a particular and select History…which brings up a screen showing what’s been going on. You can choose to display week, month, year, or a full history.

18hist thumb Add / Manage shares in WHS

If you try to view the history of a folder that hasn’t had enough time to accumulate any, you’ll get the following error. A folder needs to be in operation for a minimum of one week.

90add thumb Add / Manage shares in WHS

Conclusion

Windows Home Server is an excellent way to centralize all of your data, and access it from different machines throughout the house or small office. Managing the shared folders on the server will be one of the main administrative functions you’ll need to do. You’ll be able to administer user account access to the folders on the network and over the web. The Folder Duplication feature is a great way to ensure there is redundant backup of your most important files.

This guide should help get you started with using and understanding shared folders on your home server.

  • Share/Bookmark
Posted in Mircosoft | Leave a comment

Using System Restore to recover Windows 7

When using your new Windows 7 machine there might be times when something goes wrong with a driver or an app and Windows becomes unstable. Today we’ll show a complete System Restore process on a Windows 7 computer where the Office 2010 Uninstall went awry.

We recently had one of our computers in the lab take a turn for the worse after trying to do a complete uninstall of Office 2010 beta. It didn’t go the way we had hoped and experienced a hard time getting 2010 or 2007 reinstalled. It also caused some other apps that are associated with Office to error out and act unstable. Rather than spend hours researching Knowledgebase articles and tinkering with the Registry, we turned to restoring the system back to an earlier state with System Restore. In this article we thought we’d remind you about the importance of System Restore, and walk you through the restore process in Windows 7.

Recover from a Restore Point

First type system restore into the search box in the Start menu and hit Enter.

1restore thumb Using System Restore to recover Windows 7

That opens the System Restore wizard and from here you can choose the recommended restore point,which is the most recent one…Or you can choose a different restore point, which for our situation we need to do. Select the radio button next to Choose a different restore point then click Next.

2restore thumb Using System Restore to recover Windows 7

Now you get a list of different restore points and the description of what was taking place when it was created. We tried several attempts to install / uninstall Office 2010 Beta on this machine so there are several of those points listed as you can see. We need something later, so in this instance we want to click on the box next to Show more restore points.

3restore thumb Using System Restore to recover Windows 7

Now scroll through and determine which restore point you want. For example, we know our system started being unstable at the time of trying to get rid of Office 2010…so we’ll pick a restore point that is a couple days before that when everything was working successfully.

5rstore thumb Using System Restore to recover Windows 7

When you pick a restore point, another thing you should do is click the button to Scan for affected programs.

8restore thumb Using System Restore to recover Windows 7

The scan will kick off and determine what will be affected by the restore point you choose.

6restore thumb Using System Restore to recover Windows 7

Then it brings up the results. It shows which programs and drivers that will be deleted…And what programs will be restored (though they may not work correctly and need to be reinstalled). This is goo information to know when selecting a point to recover. If some important drivers or programs would be deleted, you might want to try another restore point. Although, you may not always that luxury and will have to go with the one that works.

7restore thumb Using System Restore to recover Windows 7

Confirm the restore pint and click Finish.

9restore thumb Using System Restore to recover Windows 7

Click Yes to the message saying that it can’t be undone until it has completed, or cannot be undone if running it from Safe Mode.

10restore thumb Using System Restore to recover Windows 7

The System Restore process begins…

11restore thumb Using System Restore to recover Windows 7

You’ll see a series of messages display while the process completes and different things are being restored. The amount of time it takes to complete will vary between computers.

rest thumb Using System Restore to recover Windows 7

After returning from the restart, you’ll have a message advising it was completed successfully and the time and date it was restored to.

12restore thumb Using System Restore to recover Windows 7

Now, your system should be functioning exactly how it was during the time it was restored to. You’ll still have all of your documents, but might be missing a couple of programs that you’ll just need to reinstall again.

Conclusion

Although often overlooked, it’s very important to create and maintain System Restore Points for the overall health of your system. It can make life much easier if something bad happens and you need a quick way to get your machine working again. A lot of times some programs and some Windows Updates will create a Restore Point for you automatically but not always.

  • Share/Bookmark
Posted in Secuirty | Leave a comment

Geek Screensaver

SysInternalsBluescreenbluescreen screensaver 27952 thumb Geek Screensaver

The Blue Screen of death has been a geeks favorite template for screensavers, websites, photos, software, and more.

Get this great screensaver made by Sysinternals (Microsoft) and enjoy the geekyness.

http://technet.microsoft.com/en-us/sysinternals/bb897558.aspx

  • Share/Bookmark
Posted in Secuirty | Leave a comment

IP-Blocklist

image thumb2 IP Blocklist

I love writing applications and script. I wrote an IP-Blocklist package for the pfsense router. There is no PeerGuardian2 available for freeBSD so I made one.

This package is really sweet because you can upload list URLs and add manual IPs to block. The IPFW adds a drop entry for each IP. A perl script converts the addresses from the URL list to a ipfw friendly command.

#!/usr/bin/perl -w
use strict;

if($#ARGV != 1) {
    print("Usage: $0 <input file> <output file>\n");
    exit(1);
}

my ($line,$title,$iprange,$cidr);
my $i = 30000;

open(INFILE,’<’,$ARGV[0]) or die("Could not open input file $ARGV[0]");
open(OUTFILE,’>>’,$ARGV[1]) or die("Could not open output file $ARGV[1]");

foreach $line (<INFILE>) {
    chomp($line);
    $line =~ s/:((\d{1,3}[-\.]*){8})//;
    $iprange = $1;
    print OUTFILE "#$line\n";
    foreach $cidr (split(/\n/,range($iprange))) {
        print OUTFILE "ipfw -q add 1000 drop ip from any to $cidr\n";     
        #$i++;
        print OUTFILE "ipfw -q add 1001 drop ip from $cidr to any\n";     
        #$i++;
    }
}

close(INFILE);
close(OUTFILE);

sub ntoa {
    return join ".",unpack("CCCC",pack("N",shift));
}
sub aton {
    return unpack ‘N’, pack ‘C4′, split/\./, shift;
}
sub deaggregate {
    my $thirtytwobits = 4294967295;
    my $start = shift;
    my $end = shift;
    my $base = $start;
    my ($step,$output);
    while ($base <= $end) {
        $step = 0;
        while (($base | (1 << $step)) != $base) {
            if (($base | (((~0) & $thirtytwobits) >> (31-$step))) > $end) {
                last;
            }
            $step++;
        }
        if($step == 0) {
            $output .= ntoa($base);
        }else{
            $output .= ntoa($base)."/" .(32-$step);
        }
        $output .= "\n";
        $base += 1 << $step;
    }
    return $output;
}
sub range {
    my ($address,$address2) = split /-/, shift;
    $address = aton($address);
    $address2 = aton($address2);
    return deaggregate($address,$address2);
}

Using this I can process the over 225 thousand line lists in a matter of minutes. The really long lists take more than an hour but it pays off. Now you can block spam, hackers, and bogon addresses.

image thumb IP Blocklistimage thumb1 IP Blocklist

There are some limits though.

Lists can have any extension BUT if the list is compressed only .gz is supported.
Long lists take a very LONG time to process. A level1 list (225,000 lines) will take over 1h or more
The Firewall entries are lost on several occasions (when config.inc is processed) such as Rebooting, restarting the WebGUI, restarting SSH, etc…

IP-Blocklist

pfsense.org

  • Share/Bookmark
Posted in Secuirty | Leave a comment
  • Welcome to TomSchaefer.org