Quantcast
Channel: Phil Lavin’s Articles at Phil’s Blog
Browsing all 75 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Injecting jQuery into a web site

This is really useful if you need to hack around with a site that doesn’t use jQuery. In my case, the web interface of a crappy Chinese IP camera which did its recording scheduling by making you click...

View Article



Image may be NSFW.
Clik here to view.

Cisco IOS: Disable Telnet access… or enable SSH

Telnet access is enabled by default on some IOS releases. See this article for why this is bad. If you don’t need Telnet access, you should disable it. The commands are as follows: Source code  line...

View Article

Image may be NSFW.
Clik here to view.

How to get a status update out of a running dd process on Linux

With dd running in a terminal, open a new terminal to the server and send the USR1 signal to the dd process. You can either do this by looking up the process ID and doing: Source code  kill -USR1...

View Article

Installing pfSense on a Watchguard Firebox x550e and x750e

I’ve done this enough times to be confident that it works. There’s some great instructions written by Daniel Bernhardt which cover the topic pretty well. Here’s a few things I’ve found: Some Fireboxes...

View Article

Image may be NSFW.
Clik here to view.

Add funds instantly with PayPal’s new feature

I stumbled across this the other day and can only assume it’s a new feature. I’m in the UK so if anyone could verify if it’s also on PayPalWikipedia: PayPal is a global e-commerce business allowing...

View Article


Why I don’t like database stored proceedures

There’s a number of compelling reasons not to use them. Here’s just a few: They can’t be stepped through and debugged by your standard IDE. Admittedly, neither can the other dirty SQL you shove in your...

View Article

What is anycast? Anycast explained at a very basic level

AnycastWikipedia: Anycast is a network addressing and routing methodology in which datagrams from a single sender are routed to the topologically nearest node in a group of potential receivers, though...

View Article

How to disable ICMP redirects in pfSense

When a router’s next hop gateway is in the same subnet as the previous hop, it’ll send an ICMPWikipedia: The Internet Control Message Protocol (ICMP) is one of the core protocols of the Internet...

View Article


Image may be NSFW.
Clik here to view.

How to set up Internet connection (WAN) failover in Cisco IOS including...

As a revision to my earlier post on the matter, here’s a better constructed way to achieve the same effect with a little more accuracy. Here’s a diagram of the approximate topology that this will cater...

View Article


Image may be NSFW.
Clik here to view.

Setting up a failover ADSL connection on a Cisco Router

This method will monitor a connection via ICMPWikipedia: The Internet Control Message Protocol (ICMP) is one of the core protocols of the Internet Protocol Suite. It is used by the operating systems of...

View Article

Image may be NSFW.
Clik here to view.

How to use Kernel GPIO interrupts on the Raspberry Pi

Presumably everyone knows what the Raspberry Pi is, by now, so I’ll not start there. You may or may not know that the RasPi has General Purpose Input/OutputWikipedia: General Purpose Input/Output...

View Article

How to detect Sonos devices on your network

A potential project requires me to detect Sonos devices on a network and find their IP addresses. Since Sonos only has 2 Mac Address OUIs an ARP scanner seemed the best way to do this. As such, I...

View Article

Insurance comparison sites don’t show my current insurer… WHY?

So this was strange and irritating, to say the least. I did a prelim quote comparison, with everyones favourite meerkat, a few weeks back to see what my renewal was likely to come out at. I had to put...

View Article


Image may be NSFW.
Clik here to view.

Changing the outgoing SMTP (sending) IP address in Postfix

This is far easier than I thought it’d be. I had to change it to get around some blacklisting my primary IP obtained after an unfortunate spamming incident from a compromised user. Just add the...

View Article

Image may be NSFW.
Clik here to view.

Raspberry Pi Project – A 1960s wallbox interfaced with Sonos

The inspiration for this project came from @nivnov pointing me to http://wallbox.weebly.com/. I had somewhat of a different take on the circuitry and software than it’s author, Steve Devlin. The pulse...

View Article


Image may be NSFW.
Clik here to view.

How to force TLS v1.0 in PHP

PHP 5.6+ Users This is a new feature as documented on the PHP 5.6 OpenSSL Changes page. At time of writing this, PHP5.6 is in Beta1 and thus this isn’t overly useful. People of the future – lucky you!...

View Article

Image may be NSFW.
Clik here to view.

How to optimize Sonos for best performance

Sonos technical support is great and if ever you have an issue, I highly recommend giving them a call. However, here’s what you can do yourself to achieve best performance from your Sonos system. This...

View Article


Image may be NSFW.
Clik here to view.

How to use a different default browser for different websites

Why? Some websites that you use regularly will work better in a certain browser. Whether it be age-old corporate intranets that work better in Internet Explorer or modern web apps that work better in...

View Article

Image may be NSFW.
Clik here to view.

How to install a door in a brick load-bearing wall

Size First calculate the size of the opening that you need. Doors come in a variety of widths so it is wise to work around the width of the door that you intend to buy. You will need to add around 50mm...

View Article

How to configure the Obihai OBi110 for the United Kingdom PSTN

The OBi110, as with most ATAs, comes configured for the US. For those of us on the other side of the pond, in the UK, it’s always a challenge to get ATAs to work. Here are the required settings for the...

View Article
Browsing all 75 articles
Browse latest View live




Latest Images