[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Problem after compiling kernel

Vaibhav Goel wrote:

> #! /bin/sh
> ifconfig lo
> route add -net
> ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
> route add -net ${NETWORK}
> [ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1

Well right off the top of my skull I'd say that your problem is the fact
that there is no gateway specified to ifconfig, so ifconfig is seeing you
try to pass "metric" as a value for 'gw' since GATEWAY is being left blank
and barfing.  Try putting your correct gateway in the GATEWAY= line and try
it again.

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: