This project has two tasks:
IMPROVEMENTS TO OUR SIMPLE INTERFACE CHECKER
First thing is very simple. If you remember, the program in this projects checks if interfaces and down or up, and if they're down it brings it up. Also IP addresses are checked to be working by pinging out. The first change is that if the interface is down, you bring it down (again) before bringing it up. For some reason sometimes the interface is not displayed by ifconfig, but if you do ifup it complains about the IP being in use. Doing first ifdown (ignoring the possible error), then ifup seems to solve it
The second change is on ping. Sometimes it says it failed even if things seem OK. I think a reasonable test would be to send around 30 ping packets, and if one of them works then consider the IP to be working.
ZNC INSTALL AND CONTROL SCRIPT
The second job is prepare the same stuff we did for IRSSI (the IRC client) but for znc. If you remember, for IRSSI we had a simple installer, and irssi_ctl which allowed to create different instances, start/stop them,e tc.
znc is also a IRC related program and we need the same things. Initially some things can be hardcoded, such as a base config file that always connects to the same networks, and stuff like that. Basically we just want to get started. We'll improve later, once we see that things work.
You can see znc here:
[url removed, login to view]
Target linux is Debian 6, but it would be nice if it worked in 5. Not a requirement though, i.e. if it can work without spending lots of time on it then fine, otherwise Debian 6 is fine.