Roy's Blog

A Hacker's musings on Code | Tech | Life

36 years young today :D

Continue reading...

dhcpcd-gtk is a GTK+ monitor for dhcpcd. It uses dhcpcd-dbus to actually talk to dhcpcd and wpa_supplicant. The end game is to be a viable alternative to NetworkManager for wired and wireless setups but without reliance on Linux specific libraries - we just require dhcpcd and GTK+ available on your platform.

At present, dhcpcd-gtk is just an application which sits in the notification area. The icon has several states, showing offline, address negotiation and online. When attempting to negotiate an address you get a nice animation. A notification bubble is also shown per interface state change.

Future versions will have Access Point selection and dhcpcd configuration options. Both are currently available via pkgsrc-wip. Hopefully available in Gentoo soon as well :) EDIT: ebuilds available for dhcpcd-dbus and dhcpcd-gtk from my ftp server.

EDIT: Here's a screenshot as requested

Woooooooo

Continue reading...

I like trac. It powers a lot of my project websites. Well, all of them infact.It's written in Python which is a very nice language.trac upgrades are few and far between, there have been no security issues since I've been using it and it supports my DB of choice (PostgreSQL) very well.I'm starting to dislike Drupal, which I currently use for this blog.It's written in PHP which is not a very nice language.Drupal seems to have a new security hole every month.It's modules (whilst many) often have issues on PostgreSQL DB's and are a pain to maintain.So I got thinking :)I use Drupal for this blog and my image gallery. That's it.I use trac for a lot more, like projects, documentation, ticket tracking, source browsing, etc.I discovered that trac has a blog plugin and a screen shots plugin which covers my drupal usage.I've knocked up a demo site here. As you can see, it's not as pretty as Drupal, and the commenting system isn't as good.Well, not good at first glance - it just needs a reply button. trac-0.11 has a new theming engine and the theme plugs are still not ported which is why it looks a little ugly. However, you now get to use wiki formatting for comments, so it's good :) I still need to come up with a way to move my pictures across. Feel free to add comments, I have a python script to convert a Drupal blog into a trac FullBlog so I can roll over at any time ;)

Continue reading...

dhcpcd is DHCP client. DBus is an IPC mechanism. Add them together and you get dhcpcd-dbus!dhcpcd-dbus receives interface configuration events from the dhcpcd control socket and emits them to the DBus listeners. dhcpcd-dbus also has methods to release, rebind, stop and query dhcpcd on an interface. This allows users to control dhcpcd to some extent as all dhcpcd opertaions require root privilege and DBus has a fine grained ACL list for accessing these functions which dhcpcd-dbus can optionally use.Of course, to the end user, dhcpcd-dbus by itself is useless. I've started work on another project, gnome-dhcpcd-applet which will just provide information on dhcpcd via a systray icon and popup tooltips when things happen. This should be done sometime next week. Future versions will allow for some configuration, wireless AP selection but most importantly try and eumlate the !NetworkManager "I'm online" flag.

Continue reading...

Misc fixes for start-stop-daemon with the --retry option, more wpa_supplicant fixes for ctrl_interface entries and we compile again on BSD platforms.

Continue reading...