Category: Windows

  • Fixing USB 3.0 Problems with some VIA/NEC controller cards on Windows 7/8/8.1

    I have been having USB 3.0 device problems for a while now, some of the devices are IOGEAR USB 3.0 Hub, Corsair Voyager GT 3.0 Flash drives and some some others, when I was copying files to the drive, the devices would disappear from my system and copying would fail.
    This problems seems to be the Power Management on Windows.
    Here’s the steps it took to fix the problem:

    1. Go to Control Panel>Device Manager
    2. Expand the “Universal Serial Bus controllers” tree
    3. Right click on “USB Root Hub (xHCI)” and select Properties
    4. Select the “Power Management” tab
    5. Uncheck “Allow the computer to turn off this device to save power”
    6. Click on Ok and close the Device Manager.
  • Custom firmware for Asus RT-AC66U

    Merlin has a custom Asuswrt firmware for the RT-AC66U router which can be found at its new home at http://www.mediafire.com/asuswrt-merlin/#

    With this firmware Merlin adds some needed feature that Asus lefted out see below.

    Using IPv6 can be a pain without a firewall between you and the world. This is one of the reasons I like Merlin’s version of the firmware,
    You can create a file /jffs/scripts/firewall-start on the router to run a custom firewall rules at start up.

    Here’s an example of what that file would look like for IPv6 6in4 tunnel with ip6tables:

    ip6tables -A INPUT -j DROP
    ip6tables -I FORWARD 2 -m state --state RELATED,ESTABLISHED -j ACCEPT

    # Allowed inbound rules here, such as this one:
    ip6tables -I FORWARD 2 -p tcp -m state --state NEW -i v6in4 --dport 22-j ACCEPT

    ip6tables -A FORWARD -i v6in4 -o br0 -p all -j DROP
    ip6tables -A FORWARD -i br0 -o any -p all -j ACCEPT
    ip6tables -A FORWARD -i br0 -o v6in4 -p all -j ACCEPT
    ip6tables -A FORWARD -i any -o br0 -p all -j ACCEPT
    ip6tables -A FORWARD -j DROP

     

    Here is a list of features that Asuswrt-merlin brings over the original firmware:
    System:
       – Based on the 3.0.0.4.246 source release from Asus
       – Various bugfixes (like the crash on VPN/NAT Loopback access of LAN devices)
       – Persistent JFFS partition
       – User scripts that run on specific events
       – Cron jobs
       – Customized config files for router services
       – LED control – put your Dark Knight in Stealth Mode by turning off all LEDs
    Disk sharing:
       – Act as a Master Browser
       – Act as a WINS server
       – Optionally use shorter share names (folder name only)
       – Disk spindown after user-configurable inactivity timeout
    Networking:
       – WakeOnLan web interface (with user-entered preset targets)
       – SSHD
       – Allows tweaking TCP/UDP connection tracking timeouts
       – CIFS client support (for mounting remote SMB share on the router)
       – Layer7 iptables matching
       – User-defined options for WAN DHCP queries (required by some ISPs)
       – Improved NAT loopback (based on code from phuzi0n from the DD-WRT forums)
       – Dual WAN support (both failover and load
         balancing supported) (EXPERIMENTAL) (RT-N66U, RT-AC66U)
       – OpenVPN client and server, based on code originally written by
         Keith Moyer for Tomato and reused with his permission. (RT-N66U, RT-AC66U)
       – Option to control Spanning-Tree Protocol support.
    Web interface:
       – Clicking on the MAC address of an unidentified client will do a lookup in
         the OUI database (ported from DD-WRT).
       – Optionally save traffic stats to disk (USB or JFFS partition)
       – Display monthly traffic reports
       – Display active/tracked network connections
       – Name field on the DHCP reservation list and Wireless ACL list
       – System info summary page
       – Wireless client IP, hostname, rate and rssi on the Wireless Log page
       – Wifi icon reports the state of both radios
    Thank you Merlin for your hard work in creating this firmware.
  • Windows 7 as a Samba File Server for Linux machines

    If you get the this error message “mount error(12): Cannot allocate memory” while trying to mount a Windows SMB to a linux box.

    You need to configure Windows to act as a file server and it will allocate the resources needed.

    Change the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory ManagementLargeSystemCache  to ‘1′

    and Change HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanServerParametersSize  to ‘3′

    once you have done that do a reboot and try mounting the Samba drive again.

     

  • VMWare Workstation 8 Server

    Recently I have started using VMWare Workstation 8, this is really cool and seem to function better than VirtualBox.
    If you setup a virtual machine and set it to be shared, you can make it boot up with the Windows OS, hence this could be a headless sever hosting a Linux OS.
    You will need to log in as the Administrator to set permission to allow your own user account to use the shared VMware server. Once you have done that you can make any virtual machine boot up as a shared virtual machine without having to be logged in to Windows.

  • Running a Ubuntu server on VirtualBox

    I created a virtual Ubuntu server on my Windows HTPC box using VirtualBox and VBoxVmService. This is a great setup as I can have a HTPC that’s always on with a Ubuntu server running on top.

    The Zbox is very energy efficient, quiet and small. This uses the AMD APU chip which is a all-in-one CPU/GPU combo.

    My setup is:

    • Zotac Zbox AD02
    • 8GB DDR3
    • 500GB WD HDD 7200k rpm
    • Windows 7 ultimate

    Installation was easy, I just installed VirtualBox, create a VM using the ISO from Ubuntu (make sure you install/enable SSH or NoMachine for remote access to the headless server), and then setup the VM to run as a service with VBoxVmService.

     

    http://vboxvmservice.sourceforge.net/

    https://www.virtualbox.org/

  • Outlook cannot parse the property ‘created’ near line x – problem solved

    When using Google Calendar with Outlook 2010 you may get an error like:
    “Task Internet Calendar Subscriptions’ reported error (0x0004002B) : ‘Outlook cannot parse the property “CREATED”, near line x. The property is being ignored.

    Here’s my solution,
    1: export your google calendar
    2: make a backup of the export (just in case you mess up something)
    3: edit the .ics file in notepad or notpad++ or vi
    4: look for a line starting with ‘CREATED:0’ and should end in some numbers
    5: replace that line with something like ‘CREATED:20101231T183000Z’
    6: do this for all the entries you find in the .ics file
    7: save the file
    8: import this file back in to google calendar

    I believe this problem is caused by using google calendar on the iphone without using it in Exchange mode.

  • Windows 7 Reset IPv6 State

    run this in a command line as an administrator to reset the default IPv6 state on your local computer after playing around with it.

    netsh interface ipv6 reset

    Here’s some other useful infomation: msdn link

  • Windows 7 IPv6 Auto Config by MAC address

    1. Open up a Command Prompt in Administrator mode

    2. Run the following commands.  Each one should respond “Ok”.

    [code]
    netsh interface ipv6 set privacy state=disabled store=active
    netsh interface ipv6 set privacy state=disabled store=persistent
    netsh interface ipv6 set global randomizeidentifiers=disabled store=active
    netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent
    [/code]

    3. Reboot the computer.

    When your computer has rebooted, it should auto-configure itself using EUI-64 (based on the MAC address of the interface) within the subnet given in the router advertisement.

  • Static IPv6 address on Windows7

    To configure IPv6 for static addressing

    1. Click Use the following IPv6 address, and then do one of the following:
      • For a local area connection, in IPv6 address, Subnet prefix length, and Default gateway, type the IP address, subnet prefix length, and default gateway address.
      • For all other connections, in IPv6 address, type the IP address.
    2. Click Use the following DNS server addresses.
    3. In Preferred DNS server and Alternate DNS server, type the primary and secondary DNS server addresses.

    Then run the following in a command line as an administrator:

    1. This will show the interface ID number
      1. netsh interface ipv6 show interfaces
    2. Set the network interface to Stateful which will remove to automacally generated IPv6 address
      1. netsh interface ipv6 set interface <interface_name> advertise=enable managed=enable
  • Dropbox

    Dropbox is great!
    I have been using it for over a year now and it is fast and reliable for syncing my files across my machines and sharing files with coworkers, friends and family.

    They use SSL encryption so your files are safe. You can also use TrueCrypt on top of Dropbox for your top secret files or very personal files.

    Plus you get 2GB free to start with.
    Try Dropbox for free.