Posts

Showing posts from July, 2010

Checking warranty on 1000 HP servers

I have 1000+ HP servers to check Warranty on, and there is no real tool to do this :-( So, I found a script called findilos, which will list all hp serial numbers by finding their ilo's. 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. 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 as 435944 in the leading part of the UUID. So, I modified findilos to also collect the UUID, and then had to write scripts to turn this 6 digit number into a PID by crawling HP's pages with PID's. Then I had the serial and PID so I could poll HP's website to collect the warranty data, phew ! So it goes like this   1) Use find ilos to scan subnet to file                 sudo bash newfindilos 10.10.10.0/24 > my.ilos 2) 2 Use wget to get list of products and urls f

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.