UC520 Desktop Background Phone Images

This post it originally from this website:

http://www.linuxnoobie.com/?p=18

I’m using a Cisco UC520 with Cisco Phone 7975 and 7945.

Step One: Create Your Images.

I use Photoshop CS4, but any photo editing software should do.

The images need to be 320 x 212 and saved in PNG format.  I found that all the different was Photoshop saves PNGs tended to work.  (Save for Web… vs Save As…)  I used the PNG-24 format on Save For Web…

The key is… save is as a PNG and don’t get too hung up on all of the color density gobbledy gook they talk about on the Cisco website.

Now create thumbnails for these images by resizing each image to 80×53.  It doesn’t matter what filename you use, just keep it consistent.

Just for reference, here are a few of the backgrounds I used:

IwoJimaThumb.png
IwoJima.png

Step Two: Transfer the Files to the UC520.

Now, get a TFTP server running on your local PC and put all of the PNG files into the TFTP directory.  Since I use a Mac, I use the TFTP Server GUI found here.

Once the server is up and running, log into your UC520 Command Line.

Go into the “flash:Desktops/” Directory by typing
# cd flash:Desktops/
# dir

This will print out a list of all of the desktop image files in your system.

Directory of flash:/Desktops/
130  drw-           0  Jan 10 2009 03:21:46 -06:00  320x212x12
132  drw-           0  Jan 10 2009 03:21:48 -06:00  320x212x16
134  drw-           0  Jan 10 2009 03:21:48 -06:00  320x216x16
136  -rw-      131470  Jan 10 2009 03:21:50 -06:00  CampusNight.png
137  -rw-       80565  Jan 10 2009 03:21:50 -06:00  CiscoFountain.png
138  -rw-        8156  Jan 10 2009 03:21:52 -06:00  CiscoLogo.png
139  -rw-      138278  Jan 10 2009 03:21:52 -06:00  Fountain.png
140  -rw-      109076  Jan 10 2009 03:21:54 -06:00  MorroRock.png
141  -rw-      108087  Jan 10 2009 03:21:54 -06:00  NantucketFlowers.png
142  -rw-       10820  Jan 10 2009 03:21:56 -06:00  TN-CampusNight.png
143  -rw-        9657  Jan 10 2009 03:21:56 -06:00  TN-CiscoFountain.png
144  -rw-        2089  Jan 10 2009 03:21:56 -06:00  TN-CiscoLogo.png
145  -rw-        7953  Jan 10 2009 03:21:58 -06:00  TN-Fountain.png
146  -rw-        7274  Jan 10 2009 03:21:58 -06:00  TN-MorroRock.png
147  -rw-        9933  Jan 10 2009 03:21:58 -06:00  TN-NantucketFlowers.png
128184320 bytes total (21442560 bytes free)

The first three directories (320x212x12, etc…) contain a “List.xml” file.  We’ll get to this file in a minute.

Upload your images by typing the command:
# copy tftp:<filenameOfFile.png> flash:/Desktops/

It will then ask you what the IP address is of your TFTP server (this is your local PC’s IP address) and it will copy the file to the UC500.

Repeat this for the thumbnail file as well:
# copy tftp:<filenameOfThumbnail.png> flash:/Desktops/

Step 3: Edit the List.xml file.

The List.xml files (located in the 320x212x12, 320x212x16, and 320x216x16) directories is an xml file that the phones read to know the location of the PNG files we just created.  The XML file looks like this:

 

<CiscoIPPhoneImageList>

<ImageItem Image="flash:/Desktops/TN-NantucketFlowers.png"
URL="flash:/Desktops/NantucketFlowers.png"/>

<ImageItem Image="flash:/Desktops/TN-CampusNight.png"
URL="flash:/Desktops/CampusNight.png"/>

<ImageItem Image="flash:/Desktops/TN-Fountain.png"
URL="flash:/Desktops/Fountain.png"/>

<ImageItem Image="flash:/Desktops/TN-MorroRock.png"
URL="flash:/Desktops/MorroRock.png"/>

<ImageItem Image="flash:/Desktops/TN-CiscoLogo.png"
URL="flash:/Desktops/CiscoLogo.png"/>

</CiscoIPPhoneImageList>

Downloading this list was tricky for me. First, I had to create a blank xml file in my TFTP directory (I called it List.xml) and make it world writable. (equivalent of chmod 777) This allows the TFTP server access to overwrite the file.

Then in the CLI, I ran:

# copy flash:/Desktops/320x212x12/List.xml tftp:List.xml

This copied the contents of the file over my temporary copy.

Now, edit this list and add your new file. The “Image” attribute in the XML refers to the thumbnail file while the “URL” attribute refers to the full image file.

For the file I included above, it would be this:

<ImageItem Image="flash:/Desktops/IwoJimaThumb.png"
URL="flash:/Desktops/IwoJima.png"/>

Step 4: Tell your UC500′s TFTP Server about the files

When I was figuring this out on my own, this was the step that I couldn’t figure out. It was NO WHERE in documentation that I could find.

I was going up to my phone, going into the Desktop Background chooser, and seeing empty spots where my pictures were supposed to be. The files were there, the XML was in place… WHY WASN’T IT WORKING!

Running debug commands to see the output of the TFTP traffic between the UC500 and Phones revealed that the phones were requesting the new graphics, but never getting them.

# terminal monitor
# debug tftp event
#
#
*Jul 31 04:19:07.484: TFTP: Looking for Desktops/320x216x16/List.xml
*Jul 31 04:19:07.564: TFTP: Opened flash:Desktops/320x216x16/List.xml, fd 10, size 916 for process 169
*Jul 31 04:19:07.568: TFTP: Finished flash:Desktops/320x216x16/List.xml, time 00:00:00 for process 169
*Jul 31 04:18:14.153: TFTP: Looking for /Desktops/IwoJimaThumb.png
*Jul 31 04:19:08.664: TFTP: Looking for /Desktops/TN-NantucketFlowers.png
*Jul 31 04:19:08.728: TFTP: Opened flash:/Desktops/TN-NantucketFlowers.png, fd 10, size 9933 for process 169
*Jul 31 04:19:08.768: TFTP: Finished flash:/Desktops/TN-NantucketFlowers.png, time 00:00:00 for process 169

I stumbled upon the solution in the documentation for uploading ring tones… and here it is…
I had not told the TFTP server of the UC500 it was OK to serve up those files. This config is stored in the running config of the UC.

So I had to run this command for each file:

# config t
(config)# tftp-server flash:/Desktops/IwoJima.png
(config)# tftp-server flash:/Desktops/IwoJimaThumb.png
... etc.... 

Windows 8.1 ide to ahci

So, take this with a grain of salt,  your mileage may very, and don’t blame me if you break your pc.

I’ve got a Zotac ad04 with windows 8.1 pro on it hooked up to a TV via hdmi.  It’s got an Intel X2 ssd with the latest firmware and Intel control center installed. It also has 8th ram.

A couple days ago, I got pissed at its poor performance and decided to put android x86 4.2 on it. Prior to this I wanted to update the bios, so I kept windows to do that.

After the successful update, I went into the bios to check some things and set the boot device to a USB stick. I noticed ahci was not on, so I turned it on. Then, just for giggles, I restarted back into Windows. It worked. I was expecting a bsod or driver failure or freeze. I hit ctrl alt del and logged in fine. The performance was 10 times better as well. Go figure.

TLDR: you can switch from ide to ahci in bios if you have Windows 8.1 and not have to reload the os or do anything at all really. Ymmv. Dbmiybypc.

Comcast Netgear CG3000DCR

After wrestling with the new netgear modem/business gateway for the better part of 10 days, I’m finally 100% back online.

I can confirm that the Netgear cg3000dcr does indeed work with an ASA 5505 running 9.1(2) AND I’m able to assign all 5 of my static IP addresses with the ASA doing all the NAT. You’ve just got to get someone at Comcast to properly put the modem in bridge mode. It’s more than one step / check box on their end. You cannot do it. They have to, because the cusadmin account doesn’t have the requisite web GUI parts available.

image

http://stage.results.speedtest.comcast.net/result/311610332.png

Recreating Default Domain and Domain Controller Group Policy Objects

from here: http://technet.microsoft.com/en-us/library/cc739095(WS.10).aspx

Works with Windows Server Versions 2008, 2008 R2, and 2012 as well.

Default Group Policy objects become corrupted: disaster recovery

6 out of 9 rated this helpful – Rate this topic

Updated: March 2, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

The default domain GPOs become corrupted and there are no GPO backups for the Default Domain Policy GPO and Default Domain Controller Policy GPO.

Cause

The default domain GPOs are corrupted (for example, because of misconfiguration) and you do not have backed up versions of the Default Domain Policy GPO or the Default Domain Controller Policy GPO.

Solution

If you are in a disaster recovery scenario, you may consider using the Dcgpofix tool. If you use the Dcgpofix tool, it is strongly recommended that as soon as you run it, you review the security settings in these GPOs and manually adjust the security settings to suit your requirements.

Dcgpofix restores the default Group Policy objects to their original default state after initial installation of a domain controller. The Dcgpofix tool recreates the two default Group Policy objects and creates the settings based on the operations that are performed only during Dcpromo. It is important to understand that Dcgpofix does not restore the security settings to the state they were in before you run Dcpromo.

ImportantImportant
The Dcgpofix tool is intended for use only as a last-resort disaster-recovery tool.To create regular backups of the default domain and all other GPOs, you must use Group Policy Management Console (GPMC).

It is also recommended that you backup the Sysvol directory with a regularly scheduled backup procedure.

 

To run Dcgpofix

  • Type the following at the command prompt: dcgpofix [/ignoreschema][/target: {domain | dc | both}]

Where:

/ignoreschema is an optional parameter. If you set this parameter, the Active Directory schema version number is ignored.

/target: {domain | dc | both} is an optional parameter that specifies the target domain, domain controller, or both. If you do not specify /target, dcgpofix uses both by default.

noteNote
Dcgpofix.exe is located in the C:\Windows\Repair folder.You must be a domain or enterprise Administrator to use this tool.

Dcgpofix.exe checks the Active Directory schema version number to ensure compatibility between the version of Dcgpofix you are using and the Active Directory schema configuration. If the versions are not compatible, Dcgpofix.exe does not run.

The following extension settings are maintained in a default Group Policy object: Remote Installation Services (RIS), security settings, and Encrypting File System (EFS). The following extension settings are not maintained or restored in a default Group Policy object: Software Installation, Internet Explorer maintenance, scripts, folder redirection, and administrative templates.

The following changes are not maintained or restored in a default Group Policy object: Security settings made by Exchange 2000 Setup, security settings migrated to default Group Policy during an upgrade from Windows NT to Windows 2000, and policy object changes made through Systems Management Server (SMS).

You can run this tool only on servers running the Windows Server 2003 family.

 

For more information about using GPMC to back up and restore GPOs, see the Administering Group Policy with the GPMC white paper on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=17528).

For more information about restoring system state data by using the Backup utility in Windows Server 2003, see Backing Up and Recovering Data on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=22347).

For more information about managing the Sysvol directory, see Best Practices for Sysvol Maintenance on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=39986).

For more information about use of Dcgpofix, see The Dcgpofix tool does not restore security settings in the Default Domain Controller Policy to their original state on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=35269).