insidious little fingers

Nov 06, 2008 18:31

You think, oh, I ran `uname` and it says "Linux". This must be a Linux system.

You think, I know what that means. I know exactly what that means. If I look in /etc, it should be readily apparent how to manage the network.

HAH. WRONG.

is it a debian derivative? Okay, ifupdown, apparently has hooks in udev. So if you don't want to use ifupdown (instead of, let's say, ifconfig and route, or iproute2), all of a sudden your modules aren't loading as expected. Don't forget /etc/defaults/* ! And don't forget 'network-manager' which rules all.

is it gentoo? Well, better do /etc/conf.d/net, and hope non-configured interfaces don't get dhcp'd anyway.

is it a redhat derivative? warm up the yum and get ready to try to find pre-compiled, separately packaged network drivers. Cuz you won't find any.

It's enough to make me want to try dettuxx and build my RC system from the ground up.

here'd be my rc.local

modprobe forcedeth msi=0 msix=0
modprobe

if $(ethtool eth0 | grep -q "Link detected: yes"); then
dhclient eth0
fi
EOF
that's it.

seriously resisting the urge.
Previous post Next post
Up