Mark Seiden wrote:
>
> 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
> }
>
Thanks for the workaround ideas, Mark.
Have you noticed that the default gateway is not getting
added to the routing table? It wasn't in mine even
though it was entered in /etc/network.conf. I haven't
had time to track it down though.
Matthew
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel