Roy's Blog

A Hacker's musings on Code | Tech | Life

baselayout-1.12.0_pre1 sneaked past my radar :O , so I stabled 1.11.13 and did a 1.12.0_pre1-r1 unstable for all arches. Weeeeeeeeeeeeeeeeee :)Some note-worthy networking features1) If you use DHCP, you'll need the ~ARCH version of your fav DHCP client (except for dhclient)2) We now arping static IP's requested3) We calculate a route metric based on interface type so we can "prefer" a wired interface over a wireless one4) /etc/{resolv,ntp,yp}.conf will be moved to /var/lib/net-scripts and symlinked back /etc5) Each interface has it's own {resolv,ntp,yp}.conf in /var/lib/net-scripts/state/${interface} - we select the one to use based on route metric6) wpa_supplicant-0.4.x users now enjoy automatic network configuration when a new AP comes in range (the downside of this is that the actual interface config such as address, routes, dhcp, etc happen in the background now)7) You can now rename interfaces from an interface name or MAC address. This should really be done elsewhere, but so many lusers asked for it I've now given themselves the chance to shoot themselves :evil:2 - 5 can all be toggled by RC_AUTO_INTERFACE in /etc/conf.d/rcIt defaults to "yes" for our clueless users, but most servers will want it set to "no".

Discuss this Post

I wrote another pump patch that allows pump to create /etc/ntp.conf based on ntp servers received from a DHCP server instead of getting my scripts to create it by parsing pump status output. This makes pump a bit faster. Suprisingly it is the fastest by far of the dhcp clients. Without giving any hard numbers (stats are lies and damn lies), here's my feelings on the fastest DHCP clients in portage1) pump2) udhcpc3) dhcpcd (although it can easily be the slowest, it's normally better than dhclient)4) dhclientSo if you're a ricer, or just want a faster DHCP connection then use pump! It does everything 99% of DHCP users need to - the only thing it doesn't do that the others do is dump it's DHCP information into env vars so a script can parse them (maybe useful for samba WINS settings), but as I said not many users would need that functionality.I'm hopefull that I can write another pump patch so I can append a DNS search path option to specify the "search foo bar" option in /etc/resolv.conf. This means that the only thing the pump helper script needs to do is mark the net.eth0 service as inactive/started - which guess what, makes us faster! Debians dhcpcd patchset inspires me todo this - although hopefully more on dhcpcd later ....

Discuss this Post

I spent last weekend removing the turf from the back lawn. I removed about a third of it over the weekend - damn it's hard work especially in the blazing sun and the sweat rolling down your back and into your eyes. :(Arms are quite sore this morning, but should recover for another go Wednesday night. Hopefully I'll get the entire turf up in a week or two so we can lay down new turf before the start of Autumn (that's Fall to you colonials :P ).The plus side of all this hardwork is that I shed another few pounds :)

Discuss this Post

My home server has been mis-behaving of late :sick:.Bash keep segfaulting during emerges - one time it caused zlib to get merged incorrectly which meant I had to haul a keyboard and monitor to it as ssh wouldn't let me in anymore. I was not a happy chappy :( I'm not sure why this is, as everything is as stable as rock (except for my horde + php5 combo which causes iconv utf8 assert errors in my apache logs). It's not like I'm using any ricer flags either - I was however using reiser4.So I moved the entire server over to reiserfs - still kept segfaulting. Hmmmmmz went I. xfs and jfs were out of the question (too slow for my other needs) so I tried ext3 for the first time. I knew that ext3 had a rep for being slow, but also knew that dir_index helps greatly. So after moving to ext3 last night the server actually seems slightly more responsive, but some i/o does take longer and the same stuff takes up around 20% more space (reiser is really good at packing).Touching wood, the 3 emerges I've done haven't segfaulted on me :)But I suspect it's something in the hardware/environment as my main PC running reiserfs is perfect ...... :?

Discuss this Post

..... because we have to .... and you must accept this :puzzled:

Thanks for making me laugh Kumba :D

//me thinks that the people who matter about software patents will not be reading my blog or Planet Gentoo

Discuss this Post