Red Hat Networking - /sbin/hclient problem?

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Networking > January 2004 > /sbin/hclient problem?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author /sbin/hclient problem?
Stephen Speicher

2004-01-23, 7:48 pm

I installed Red Hat Enterprise Linux 3, along with Windows XP, on
a new computer which gets its IP address dynamically. Telling
Windows and Linux what to do was so easy -- select DHCP to get IP
address and DNS. Windows got me online right away, but while
booting Linux I get the message:

----------------------------------------------------------------------
Determining IP information for eth0..../ifup: line 354: 7322 Bus error
(core dumped) /sbin/dhclient ${DHCLIENTARGS} ${DEVICE} failed.
----------------------------------------------------------------------

If I execute "ifup eth0" from a prompt after booting, I get the
same message except that the number preceeding the "Bus error" is
8120 instead of 7322.

Line 354 in /sbin/dhclient is an "fi" statement. Here is the
preceeding statements in the script, with line 354 being the last
"fi."

________________________________________
_________________________
# Set a default route.
if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${REALDEVICE}" ]; then
# set up default gateway. replace if one laready exists.
if [ -n "${GATEWAY}" -a "'ipcalc --network ${GATEWAY} ${NETMASK} 2>/dev/null'" =
"NETWORK=${NETWORK}" ]; then
ip route replace default via ${GATEWAY} ${WINDOW:+window $WINDOW} ${SRC}
elif [ "${GATEWAYDEV}" = "${DEVICE}" ]; then
ip route replace default ${SRC} ${WINDOW:+window $WINDOW} dev ${REALDEVICE}
fi
fi
fi
________________________________________
_________________________

I really need to get this Linux part online. Can anyone help
figuring out what is wrong? Thanks,

--
Stephen
stephen@speicher.com

Ignorance is just a placeholder for knowledge.

Printed using 100% recycled electrons.
-----------------------------------------------------------
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com