Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2000 11:43:49 -0500 (EST)
From:      Matt Gostick <matt@crazylogic.net>
To:        hackers@freebsd.org
Subject:   set mtu on le0?
Message-ID:  <Pine.BSF.4.21.0002141139450.92388-100000@thunk.crazylogic.net>

next in thread | raw e-mail | index | archive | help
Hi,
  
I'm having a hard time setting the mtu on some of my cards.  They are DEC
205's.  They work fine...  but I have to set the mtu to 1492 so adsl
works.

su-2.03# ifconfig le0 mtu 1492
ifconfig: ioctl (set mtu): Invalid argument
su-2.03# ifconfig le0
le0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500   
        inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:00:f8:51:63:17

I took a look at /usr/src/sys/i386/isa/if_le.c and changed where it set 
ifp->if_mtu = ETHERMTU; to 1492 instead (then recompiled)... it didn't
have any effect.

Any ideas?
Thanks.
--
Matt Gostick <matt@crazylogic.net>
http://www.crazylogic.net/~matt



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002141139450.92388-100000>