Posts

Sky remote code for LG

A friend got an LG 47LM660t and couldn't get his sky HD remote to work the tv volume. After some google searching the code isn't know, so I thought I'd post it. Follow the usual sky instructions and use code 1293 . This still looked like it didn't work for him, but it appears the remote was confused. the up down arrows around the select button did the volume, not the volume control ! I had seen this before fortunately, Press TV Key Hold down select and press 2 until the remote's LED flashes twice (if it only flashes once or remains on steady I'm afraid your remote does not support this feature). Press Sky key and it should work if it doesn't try select and press 1 instead of 2.

rsync with CDN and purge

I recently had to setup a new CDN for, using Edgecast, They support rsync for content and also have an API, so I started with cron'd full rsync, but this was taking too long, so I moved to rsync only recently changed files, and used the output to do a flush of the cache for updated files. Edgecast provide a really good CDN solution, and also provide EU based rsync endpoints for getting your logs and pushing your content #!/bin/sh set -e rm -rf /tmp/rsync.ec.out rm -rf /tmp/changedfiles #move to directory so path names are good in outputs cd /opt/www/htdocs/ #find recently modified files find . -mmin -120 > /tmp/changedfiles #run rsync for these changed files, only changing existing files and logging output /usr/bin/rsync --itemize-changes -az --existing -e "ssh -i /home/rsync/.ssh/my_special_id_rsa -p8022 -oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no" --files-from=/tmp/changedfiles /opt/www/htdocs/ user@domain@rsync.ams.edgecastcdn.net:/content/mysubdi...

squid3 with wccp redirection

to redirect http and https from a cisco router (not switch !) in squid.conf do this wccp2_router router1.ip.addr wccp2_router router2.ip.addr wccp_version 2 wccp2_forwarding_method 1 wccp2_return_method 1 wccp2_service standard 0 wccp2_service dynamic 70 wccp2_assignment_method mask wccp2_service_info 70 protocol=tcp flags=dst_ip_hash priority=241 ports=443 the last 2 lines are important or the cisco router won't see the squid server as a viable cache for ssl.

HP Ilo using virtual media

you can map cdrom images through your web browser, but this is cumbersome and slow. You can also map cdrom images via http, using ssh , this is easier (for me) and faster. ssh to your ILO and type cd /map1/oemhp_vm/cddr/ set oemhp_image=http://192.168.1.100/myiso.iso set oemhp_boot=connect reset /system1 other options for oemhp_boot are never/once/always/connect/disconnect use disconnect to allow you to map images via your browser once again

Blackberry Bold Failing to connect to BIS via WIFI

Seems lots of people have issues with wifi on blackberry handsets. As I've just deployed it in work, with a tied down ACL, I started to use it a home. In work, it worked fine, roamed between AP's around the building and went direct to the BES, no external dependencies, which is good as Vodafone broke their network last week, and wifi kept us working. At home, I get intermittent success, some times it works fine, others it doesn't. I use WPA2+AES for wifi, and the Blackberry connects and get's an IP address, but all I see are lots of arp requests, and the Blackberry can't ping itself or it's gateway. I don't even see the ICMP come into the gateway. After some reading around, seems to be a common problem, with some people having success on some router models and not others. My AP is Belkin Wireless N, and my router is m0n0wall. Anyway, the problem appears to be with AES and the blackberry. My Androids and laptops and iphones all have no issue at home with ...

Checking warranty on 1000 HP servers

text-autospace:none"> mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;mso-ansi-language: EN">I have 1000+ HP servers to check Warranty on, and there is no real tool to do this :-( text-autospace:none"> mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;mso-ansi-language: EN">So, I found a script called findilos, which will list all hp serial numbers by finding their ilo's. text-autospace:none"> mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;mso-ansi-language: EN">But, serial numbers isn't enough, you also need their Product Number or Product ID, and there is no way to script collecting this from the Ilo, and some older ilo's don't tell you. text-autospace:none"> mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;mso-ansi-language: EN">However, there is a UUID field, which has the first 6 digits of the product ID, such as this product ID 435944R-421 would be displayed a...

vodafone HUAWEI EchoLife HG556a

I have one of these with a 3g dongle (Also vodafone and huawei). After finding it a bit unreliable, I had a poke around and found that if I telnet it , I could change the DNS settings, which seems to make it better. At the telnet prompt type dns config static 8.8.8.8 208.67.222.222 save which sets the box to use google and freedns. The system used dnsmasq and gives out the lan ip as the dns server to it's clients, which works fine. dyndns was more interesting, because at the telnet prompt you have a dyndns option, but I couldnt get it to work, so a poker around the various web pages on the box , I found this http://192.168.1.1/en_US/ddnsadd.html and set it up , though had to choose LAN. once done, I backedup the config under management-settings-backup , opened the backup file and changed the interface from br0 to ppp_255_65535_1 which is the wan interface (find it with ifconfig, though I think this is universal). Then restore the config and it worked fine.