edeca.net logo
  • rss
  • Home
  • Graphics
  • Electronics
    • PCB0002 – LED matrix
  • Computing
    • ROT Util
    • MOTD maker
    • GNU screen config
    • VB6 reverse DNS
    • VB6 RichTextBox control
  • About

Obtaining DNS servers automatically on Cisco ADSL routers

David | April 8, 2010

I noticed tonight that my Cisco 837 was using hard-coded DNS servers which were no longer valid, hence breaking my internets. In order to keep them updated automatically, I added the following to the appropriate dialer configuration (interface Dialer0 on an 8xx):

ppp ipcp dns request

This causes the router to request DNS server addresses when the PPP session is negotiated (when it “dials up” to ADSL).

After reconnecting the PPP session (either reload or shutdown the interface and then bring it back) it is possible to check that DNS servers have been obtained using sh host:

router#sh host
Default domain is not set
Name/address lookup uses domain service
Name servers are 62.69.62.6, 62.69.62.7

If the router is running a DNS server it is possible to direct DHCP clients at the router IP instead, forcing them to use these same settings.

Comments
No Comments »
Categories
Computing
Comments rss Comments rss
Trackback Trackback

dspam integration with dovecot

David | March 19, 2010

In a previous message I spoke about training dspam automatically. The script I posted there works, but it’s not brilliant so I started looking for other ways of achieving spam training from the client.
Read the rest of this entry »

Comments
No Comments »
Categories
Computing
Comments rss Comments rss
Trackback Trackback

Training dspam from Thunderbird junk messages

David | February 21, 2010

Recently I have installed and configured dspam on my mailserver. It seems to work nicely but needs occasional training. I wanted to integrate this with Thunderbird so that users could automatically train dspam from their mail client.
Read the rest of this entry »

Comments
2 Comments »
Categories
Computing
Tags
dspam, linux
Comments rss Comments rss
Trackback Trackback

Updates to libnids

David | February 20, 2010

Much of the code I have written as part of my day job uses the rather excellent libnids.  However, there are a few bugs in version 1.23 relating to packets with radiotap headers or code which tries to read from multiple pcap files in sequence.
Read the rest of this entry »

Comments
No Comments »
Categories
Computing
Comments rss Comments rss
Trackback Trackback

Contributing [to CPAN] is easy!

David | February 6, 2010

The following article is a repost of an original that I wrote for blogs.perl.org.

I thought I would share my experience of submitting a module to CPAN for the first time. In summary: it’s stupidly easy and if I can do it, so can you.
Read the rest of this entry »

Comments
No Comments »
Categories
Computing
Tags
perl
Comments rss Comments rss
Trackback Trackback

Syncing the iPhone addressbook with Horde

David | January 9, 2010

Since I’d had my iPhone I’ve wanted to be able to sync my contacts with my Horde Webmail install.  This post is about setting up the Funambol application in order to do so.
Read the rest of this entry »

Comments
4 Comments »
Categories
Computing
Tags
horde, iPhone
Comments rss Comments rss
Trackback Trackback

Modifying fields in the Turba addressbook

David | January 9, 2010

I have recently started using the Funambol iPhone app to keep my contacts in sync with my webmail addressbook.  However, some fields aren’t included in Turba by default and need adding.  This post is for system administrators rather than users, so if you don’t run your own webmail then point your friendly geek at this post.
Read the rest of this entry »

Comments
5 Comments »
Categories
Computing
Tags
horde
Comments rss Comments rss
Trackback Trackback

Blocking SSH brute forcing using denyhosts

David | January 7, 2010

Tired of seeing repeated attempts to login to a Linux server you run?  There are a number of options, all with their own benefits and disadvantages.  The easiest way is to move the port that the SSH server runs on, perhaps to 2222 instead of 22.  However. this can be annoying behind some firewalls and means that you need to specify the port each time you SSH to a host.  This post looks at denyhosts, a viable alternative.
Read the rest of this entry »

Comments
1 Comment »
Categories
Computing
Tags
linux, security
Comments rss Comments rss
Trackback Trackback

Docbook XML made easy

David | November 16, 2009

In a slightly crazed moment today I decided to write some documentation. Having used Docbook before for my UML Bridging Tutorial, I thought I’d pay it another visit.

Read the rest of this entry »

Comments
No Comments »
Categories
Computing
Tags
convert, docbook, html, pdf, xml
Comments rss Comments rss
Trackback Trackback

Printing in Windows 7

David | November 9, 2009

So Windows 7 is here. This blog post is rather outdated as far as that is concerned. What’s missing still is becoming more of a frustration though, as neither the HP P1006 or Canon laser printer I have are currently supported.
Read the rest of this entry »

Comments
No Comments »
Categories
Computing
Tags
annoyances, windows
Comments rss Comments rss
Trackback Trackback

« Previous Entries Next Entries »

Categories

  • Computing
  • Electronics
  • General
  • Perl
  • Photography
  • Uncategorized

Archives

  • February 2012
  • December 2011
  • November 2011
  • July 2011
  • June 2011
  • April 2011
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • October 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • November 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009

Links

  • My photo gallery
  • Pookey's site

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox