i had this problem also.

i still don't understand why it's happening.

you might notice that i've added an IF_BROADCAST variable as
well to network.conf...

i dare say that with a class c netmask and a class a address ifconfig
will get your broadcast address wrong, also.

here's a bit of code that works around in /etc/init.d/network

        echo -n "network: bringing $STATE interface $IFNAME on $IPADDR"
        [ -n "$MASK" ] && echo -n " with netmask $MASK"
        [ -n "$BROADCAST" ] && echo -n " with broadcast address $BROADCAST"
        [ -n "$ETHER" ] && echo -n " (with hardware address $ETHER)"
        echo

# what a weird bug:  ifconfig complains "netmask... unknown host".
#       ifconfig $IFNAME $IPADDR ${MASK:+netmask $MASK} ${ETHER:+hw $ETHER} 
${BROADCAST:+broadcast $BROADCAST} $STATE
# but this works:
echo ifconfig $IFNAME $IPADDR ${MASK:+netmask $MASK} ${ETHER:+hw $ETHER} 
${BROADCAST:+broadcast $BROADCAST} $STATE | sh
        }





On Sat, Mar 24, 2001 at 05:34:15PM -0700, N. Sean Timm wrote:
> >          network: bringing up interface eth0 on 63.194.213.179 with
> netmask
> 255.255.255.0
> >          netmask 255.255.255.0: Unknown host
> >          Usage:
> >              ifconfig [-a] [-i] [-v] .....
> 
> I am also getting this error message (but with netmask 255.255.255.248).
> Any chance of getting an advance copy of the updated /etc/init.d/network
> file?  I've tried to play around with it with no luck so far...
> 
> Thanks!
> 
> - Sean T.
> 
> 
> _______________________________________________
> Leaf-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/leaf-devel

-- 
mark seiden, [EMAIL PROTECTED], 1-(650) 592 8559 (voice) Pacific Time Zone

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to