Interface naming

OK - the number of forum posts regarding being able to specify the name of an interface and the kludgy solutions they came up with was making me cry too much :sick: So, I wanged a new net-scripts module into baselayout svn today which should remedy the situation. net-tools (ifconfig) ships with nameif and I finally discovered that ip (iproute2) can do the same with the “ip link set name” command.
Read full post

Pump it up

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 :P
Read full post

vsftp gets taken over

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!

dhcpcd gets a makeover

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!
Read full post

The Magical Expanding configuration

As requested via a bug report, network configuration now supports bash expansion. This will make giving servers multiple IP addresses a snap. Here’s an example config_eth0=( "192.168.0.{1..20}/24 brd +" ) gives you 20 IP addresses. config_eth0=( "192.168.{1..20}.{1..20}/24 brd +" ) gives you 400 IP addresses. (20x20) config_eth0=( "192.168.{1..20}.{1..20}/24 brd 192.168.{1..20}.{1..20}" ) Currently doesn’t work as expected- it tries to add 160000 IP addresses with most of them duplicates thanks to a sequence in the broadcast field.
Read full post