Steve Scrimpshire Posted June 9, 2003 Author Report Share Posted June 9, 2003 Problem solved. I reinstalled 9.1 and now I can't downgrade my gcc to 2.96 without breaking too many things (My previous install must've had some quirks that allowed me to do it), so I just kept 8.1 for compiling stuff. To stop the annoying kernel panic, I disabled ifplugd, which is not as easy as you think, since it is not run as a service, but it started by coding in /etc/hotplug/net.agent and /etc/rc.d/init.d/network. So, I hacked those two scripts to disable it. In /etc/hotplug/net.agent, I did this: # if [ "$AUTOMATIC_IFCFG" != no -a "${INTERFACE:0:3}" == "eth" -a ! -r $CFG ]; #then # if [ -r $PCMCIA ] && grep -q "$INTERFACE$" $PCMCIA; #then # ONBOOT=no # else # ONBOOT=yes # fi # debug_mesg creating config file for $INTERFACE # cat > $CFG <<EOF #DEVICE=$INTERFACE #BOOTPROTO=dhcp #ONBOOT=$ONBOOT #EOF # fi # if [ -r $CFG ]; then # Mandrake Linux and similar # if [ "${INTERFACE:0:3}" == "eth" -a -x /sbin/ifplugd ] && ! grep -q '^MII_NOT_SUPPORTED' $CFG; #then # IFPLUGD_ARGS="${IFPLUGD_ARGS=-w -b}" # debug_mesg invoke ifplugd $INTERFACE # exec /sbin/ifplugd $IFPLUGD_ARGS -i $INTERFACE >/dev/null # fi I just commented out all the stuff pertaining to ifplugd. /etc/rc.d/init.d/network was slightly more difficult: I changed this: if [ "${DEVICE:0:3}" != "eth" -o ${DEVICE/:/} != ${DEVICE} -o ! -x /sbin/ifplugd ] || grep -q '^MII_NOT_SUPPORTED' ifcfg-$i; then action "Bringing up interface %s: " $i ./ifup $DEVICE boot else IFPLUGD_ARGS="${IFPLUGD_ARGS=-w -b}" action "Bringing up interface %s: " $i /sbin/ifplugd $IFPLUGD_ARGS -i $DEVICE fi to if [ "${DEVICE:0:3}" != "eth" -o ${DEVICE/:/} != ${DEVICE} -o ! -x /sbin/ifplugd ] || grep -q '^MII_NOT_SUPPORTED' ifcfg-$i; then action "Bringing up interface %s: " $i ./ifup $DEVICE boot else IFPLUGD_ARGS="${IFPLUGD_ARGS=-w -b}" action "Bringing up interface %s: " $i ./ifup $DEVICE boot fi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.