Sunday, April 24, 2011

Fix Windows Sleep mode from waking up by itself

Taken from: http://www.cravingtech.com/fix-windows-vista7-sleep-mode-from-waking-up-by-itself.html

Prevent your Network Card to wake your Windows Vista/7 up from its sleep

Check your network card properties through the device manager and disable the “Allow this devide to wake the computer” feature.

    Right click on your “My Computer” then select Properties.
    Click Device Manager on the left side of the Properties window.
    Check your Network card on the Network Adapters (Click on the + sign to expand).
    Right click on your network card and select properties.
    Go to the Power Management tab and untick the option there to prevent your network card from ever waking up your Windows.
    networkwakeupvistaautomatically Fix Windows Vista/7 Sleep mode from waking up by itself

Find out what wakes up your Windows 7/Vista from its sleep


To find out what event/device woke up your Windows from its sleep state, go to command prompt (type cmd on the Run/Search box and press ENTER), then type this:
powercfg –lastwake

wakeupeventviewer Fix Windows Vista/7 Sleep mode from waking up by itself

To get the most detailed info (and probably easiest) on the device that wakes your Windows up during the sleep, type:
powercfg –devicequery wake_armed

mousewakeupwindows Fix Windows Vista/7 Sleep mode from waking up by itself

There! You’ll find the culprit icon wink Fix Windows Vista/7 Sleep mode from waking up by itself I clicked my mouse to wake my Windows up intentionally so that’s why you see an HID compliant mouse on the screenshot above. Yours might be different.

Hope this helps!

If it still doesn’t work:

    Check out your Power Management Options on your Control Panel (Start, Control Panel, Power Settings, Change plan settings, Change advanced power settings).
    -> “Multimedia settings” option, “When sharing media.” ->”Allow the computer to sleep.
    -> Check other options one by one while you’re at it.


Fix Windows Media Center Random Wake Up

start > type in cmd in the search
right click "Run as Administrator"
Type powercfg -lastwake and press enter.

If you see a line like the following then we can fix it.

Supplied Reason: Windows will execute 'MicrosoftWindowsMedia Centermcupdate_scheduled' scheduled task that requested waking the computer.
How To fix

Open Task Scheduler and change the media center run schedule.

Start > All Programs > Accessories > System Tools > Task SchedulerTask Scheduler Library > Microsoft > Windows > Media Center

You will see the mcupdate_scheduled task in the center.

Right click on it and select "Properties".
Select the Conditions tab
Uncheck "wake the computer to run this task"

Your media center machine will no longer wake from sleep to get the guide / media updates when your machine is asleep. Instead it will automatically update the next time the PC is awake.


 Disable Wake Timers
Control Panel>Power Options>Change Plan Settings>Change Advanced Power Settings>Sleep> Now make sure you disable wake timers. What is probably happening is that you have a virus protector update or something along those lines scheduled and that’s what is waking the computer.

Sunday, April 10, 2011

pfSense 2.1 OpenVPN Configuration Settings

pfSense 2.1 OpenVPN Settings

This will allow you connect in from a roaming machine/device via OpenVPN to pfSense.

Step 1 Create a New Certificate Authority (CA) Certificate (System: Certificate Authority Manager)

Descriptive name: ca-01 (Make up a unique name. You typically will only need to make one of these.)
Method: Create an internal Certificate Authority
Key Length: 2048 bit
Digest Algorithm: SHA256
Lifetime: 3650 days
Complete remainder of form with bogus information. Make sure every certificate has a different common name (CN).

Step 2 Create a New Server Certificate (System: Certificate Manager)

Note: You will create one server certificate for each VPN server you create.

Method: Create an internal Certificate
Descriptive name: server-cert-01 (Make up a unique name.)
Certificate Authority: ca-01 (Select the same CA name that you created in step 1.)
Key Length: 2048 bit
Digest Algorithm: SHA256
Certificate Type: Server Certificate
Lifetime: 3650 days
Complete remainder of form with bogus information. Make sure every certificate has a different common name (CN).

Step 3 Create a New User Certificate (System: Certificate Manager)

Note: You will create one user certificate for every server certificate. So each VPN server will result in two certificates. One server cert and one user cert. Recommend a naming scheme that will help you identify which server cert goes with what user cert e.g. server-cert-01, user-cert-01, server-cert-02, user-cert-02, etc.

Method: Create an internal Certificate
Descriptive name: user-cert-01 (Make up a unique name.)
Certificate Authority: ca-01 (Select the same CA name that you created in step 1.)
Key Length: 2048 bit
Digest Algorithm: SHA256
Certificate Type: Server Certificate
Lifetime: 3650 days
Complete remainder of form with bogus information. Make sure every certificate has a different common name (CN).

Step 4: Create OpenVPN Server (OpenVPN: Server)

General Information
Server Mode: Remote Access (SSL/TLS)
Protocol: UDP
Local Port: Option 1) Use default setting of 1194 (This port should be avoided as it is both a target and easily blocked.). Option 2) Anything between 34,981 - 36,000 (The ports in this range are typically unused and available.). Option 3) Use 443 and change protocol from UDP to TCP (This will make the VPN traffic look like you were accessing a secure web page.).
Description: vpn-01

Crytographic Settings
TLS Authentication: Checked
Generate TLS Key: Checked
Peer Certificate Authority: ca-01 (Select the same CA name that you created in step 1.)
Peer Certificate Revocation List: Not used at this time.
Server Certificate: server-cert-01 (Select the same Certificate name that you created in step 2.)
DH Parameters Length: 1024 bits
Encryption Algorithm: BF-CBC 128 (Use BF-CBC 128 for maximum compatibility as AES will not work with some configs. Use AES-256-CBC for maximum security if client will accept.)
Hardware Crypto: No Hardware Crypto Acceleration
Certificate Depth: One (Client+Server)

Tunnel Settings
IPv4 Tunnel Network: 10.0.8.0/24 (Pick a subnet that you are not using.)
IPv4 Tunnel Network: Leave Blank
Redirect Gateway: Checked (This is optional and can be enabled on the client side if necessary.)
IPv4 Local Network: This is generally set to your LAN network.
Concurrent Connections: 200
Compression: Checked (Optional but highly recommended.)
Type-of-Service: NOT Checked
Inter-Client Communication: Checked (Optional.)
Duplicate Connections: NOT Checked
Note: Duplicate Connections check box on server will allow multiple concurrent connections from clients using the same Common Name, so one cert can be used by more than one connection/users. This is not generally recommended, but may be needed for some scenarios. Every VPN cert should have their own CN, so every connection/user will have one unique cert.

Client Settings
Dynamic IP: Checked
Address Pool: Checked
Topology: NOT Checked
DNS Default Domain: NOT Checked
DNS Servers: Checked (Any two valid DNS server IPs e.g. Server 1) 75.75.75.75 Server 2) 75.75.76.76)
NTP Servers: NOT Checked
NetBIOS Options: NOT Checked

Advanced Configuration
Advanced: Not used. Leave blank.

Step 5: Open WAN Firewall for VPN Use (Firewall: Rules: WAN)

Edit Firewall Rules
Action: Pass
Disabled: NOT Checked
Interface: WAN
TCP/IP Version: IPv4
Protocol: UDP (Or TCP if you are using port 443 in step 4.)
Source: Any
Destination: WAN address
Destination port range: 1194 (Or what ever you selected in step 4.Both from and to will have same value.)
Log: NOT Checked
Description: Enter a name here.

Step 6: Open OpenVPN Firewall for VPN Use (Firewall: Rules: OpenVPN)

Edit Firewall Rules
Action: Pass
Disabled: NOT Checked
Interface: OpenVPN
TCP/IP Version: IPv4
Protocol: Any
Source: Any
Destination: Any
Destination port range: Any
Log: NOT Checked
Description: Enter a name here.

Step 7: Install OpenVPN Client Export Utility (System: Package Manager)

Step 8: Export OpenVPN Client Files (OpenVPN: Client Export Utility)

Remote Access Server: Select the server you created in step 4.  If the wrong server is selected the exported files will not work!  This is very easy to overlook.
Host Name Resolution: Interface IP Address
Verify Server CN: Automatic
Use Random Local Port: Checked
Certificate Export Options: NOT Checked
Use Proxy: NOT Checked
Management Interface OpenVPNManager: NOT Checked
Additional configurations options: ping 10;verb 3
Note: Add the following as needed:
redirect-gateway def1 #(redirect-gateway def1 will force all the traffic from client across VPN e.g., web browsing)
auth-user-pass #(allows the OpenVPN server to securely obtain a username and password from a connecting client, and to use that information as a basis for authenticating the client)
Client Install Packages: Select the user cert that matches up with the Remote Access Server name you selected earlier.

Step 9: Create Firewall Rules (Firewall: Rules)

WAN
Proto: Select the protocol that you selected in step 4 e.g. TCP or UDP.
Source Type: Any
Source Port: Any
Destination Type: WAN address
Destination Port: Select the port that you selected in step 4 e.g. 443, 1194, etc.
Gateway: Any
Queue: None
Schedule: None

OpenVPN
Proto: Any
Source Type: Any
Source Port: Any
Destination Type: Any
Destination Port: Any
Gateway: Any
Queue: None
Schedule: None

Sunday, April 3, 2011

Prints From Digital Images

Q. I would like to automate the image resizing using Lightroom instead of PS. However, the jpeg quality option is not 1 to 12 but rather 1 to 100%. Should I set it at 83% quality (based on 10 of 12)?
A. With Lightroom 84% is an equivalent to a level 10 jpeg.

Q. What type of file do you require?
A. We require level 10 JPEG files to be sent to us.

Q. Is it okay to embed an ICC profile?
A. Embedding a valid ICC profile in your image is very important. Without embedding the profile our software has no idea what colorspace your file is in. This will result in uexpected color in the prints. All files not tagged with an embedded profile are assumed to be in sRGB.

Q. What colorspace do you accept?
A. We accept any colorspace as long as it is embedded in the file. Our software will read the colorspace embedded in the file and print appropriately for that colorspace. We recommend the use of a standard working space profile such as Adobe RGB 1998 or sRGB.

Q.How many pixels/inch should my image have?
A. 200 - 300 ppi.

Canon 7D ISO Noise

Canon 7D ISO Noise Test Results

100 125
160 200

250 320
400 500

0640 0800
1000 1250

1600 2000
2500 3200

04000 05000
06400 12800



Higher number = lower noise
ISO Noise ISO Noise
100 98 160 99
125 92 100 98
160 99 200 97
200 97 320 97
250 92 400 95
320 97 640 93
400 95 125 92
500 89 250 92
640 93 500 89
800 88 800 88
1000 84 1250 86
1250 86 1000 84
1600 83 1600 83
2000 79 2000 79
2500 75 2500 75
3200 72 3200 72
4000 70 4000 70
5000 68 5000 68
6400 66 6400 66
12800 61 12800 61



18 MP APS–C CMOS Sensor
Designed and manufactured by Canon, the sensor produces an outstanding image and offers fantastic performance at high and low conditions, thanks to a new photodiode and microlens construction.

ISO Range
The EOS 7D enables photographers to capture subjects in their natural light.  The ISO range (100 – 6,400) is expandable to 12,800.

Dual “DIGIC 4” processors
By utilizing Dual “DIGIC 4” processors, users of the EOS 7D never have to compromise between shooting speed, image quality and ISO performance.

Canon CMOS sensor
The EOS 7D includes a new 18 megapixel CMOS sensor with a wide ISO range that delivers excellent results in both the low and high-speed ranges as well as improved image quality. The sensor is a standard APS-C size (22.4x14.9mm) and produces an effective field of view of 1.6x the lens focal length.

The EOS 7D sensor features condensed circuitry with improved sensitivity and increased capacity of the photodiodes, which enables shooting at high ISO and prevents overloading when shooting in bright conditions. The ISO range (100 - 6400) is expandable to 12800 enabling photographers to capture subjects in their natural light without the use of a flash.  

The EOS 7D sensor includes gapless microlenses that have been moved closer to the photodiodes.  These technological advances, which were developed and manufactured by Canon, improve the signal to noise ratio creating very clean high ISO images.

Dual “DIGIC 4”

DIGIC 4 removes the highly noticeable color noise as well as reducing luminance noise without loss in detail, allowing for very clean high ISO images. Even at ISO 6400 noise levels are similar to those of ISO 1600 from DIGIC III.  Auto Lighting Optimizer is now also available during manual exposure, without any drop in performance.