Date: Thu, 14 Feb 2002 18:38:36 -0500 (EST) From: Jason Hunt <leth@primus.ca> To: freebsd-net@FreeBSD.ORG Cc: Vinod Namboodiri <geekvinod@yahoo.com> Subject: Re: MAC Layer of TCP/IP stack Message-ID: <Pine.BSF.4.40.0202141830390.55195-100000@lethargic.dyndns.org> In-Reply-To: <20020214221615.23759.qmail@web21101.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
If you mean that you would like to change the MAC address that the card has programmed into it, then yes you can change it, but not perminatly. The MAC address is hard-coded into the card, and is restored on a reboot if you change it. You can configure the machine to use a MAC address that you specify by using the option I've pasted below. This is from the ifconfig(8) man page: lladdr addr Set the link-level address on an interface. This can be used to e.g. set a new MAC address on an ethernet interface, though the mechanism used is not ethernet-specific. The address addr is specified as a series of colon-separated hex digits. If the interface is already up when this option is used, it will be briefly brought down and then brought back up again in order to insure that the receive filter in the underlying ethernet hard- ware is properly reprogrammed. Hope this helps. On Thu, 14 Feb 2002, Vinod Namboodiri wrote: > Hi there.I am about to embark on a research project > wherein some changes need to be made in the MAC layer > of the TCP/IP stack.We have a wireless testbed running > on FreeBSD.I had a few doubts.can i make the changes > from the TCP/IP stack source code of FreeBSD?I dont > know much about the source code of the stack.or would > i need to be modifying the firmware of the wireless > network card which probably has the mac layer code? > > Could use some help. > Vinod > > > __________________________________________________ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > http://greetings.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" 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.40.0202141830390.55195-100000>