Roy's Blog

A Hacker's musings on Code | Tech | Life

Pump it up

tech

pump - one of the least liked dhcp clients for whatever reasons.Due to changes in baselayouts networking (basically moving /etc/{resolv,ntp,yp}.conf to /var/lib/net-scripts/state/${iface} and symlinking) I've had to pour over pumps code and make up some patches to enable this and route metrics. The code base is actually very clean - much like udhcps (in terms of readability).So what does this mean for you? Well, probably not much - but it does mean that pump gets to stay in portage a while longer :PAll that remains is to add a --script option to pumps command line so that I can specify a script to call on dhcp state change (I could fudge /etc/pump.conf but that sucks) and add an --keep-up option so that pump does not shut the interface down on dhcp release. That is needed for ifplugd/wpa_supplicant or similar as they need the interface up to work.So after that happens, I think I'll prod the guys for a baselayout-1.12.0-alpha3 release and see just what havoc the last few months of coding have caused :evil:

Continue reading...

Actually, the date was on the 19th of April but I've been loathe to post anything mainly as I took some very nice pictures and I have a technical problem transfering from my camera to here :?But Abbey has moaned royally :O - so here we go!Here's to two fantasic years with Abbey! She's consistenly made me very happy in many wonderful and different ways ;) We've accomplished a lot - moved down south with my work, bought a house and we're now spending loads of hard earned pennies improving it :jawdrop:Hopefully we can complete the back garden before this time next year so we can get a puppy which we both really want :)

Continue reading...

I took over vsftpd in Gentoo today as the current maintainer (rajiv) has not got the time for it anymore.As such I've closed 5 bugs, bumped to 2.0.3 and will close a few more tomorrow 8)This is all because recent proftpd builds have really annoyed me. Strangely, vsftpd took just 1 hour to setup after working out how to host virtual sites. Not too shaby!

Continue reading...

put a new dhcpcd-r10 into portage this morning. This gives a much saner {resolv,ntp,yp}.conf in /etc and the ability to create those files somewhere other than /etc. Also, it no longer clobbers these files unless the DHCP information returned defines them - ie no NTP information, then we leave the ntp.conf file intact.It also puts the interface name into the .sv file names now to handle multiple instances running.All I need now it to get pump dropped from portage as it's crap and I have no wish to fix it!

Continue reading...