From owner-freebsd-net Sat Feb 16 20:42:24 2002 Delivered-To: freebsd-net@freebsd.org Received: from zephir.primus.ca (mail.tor.primus.ca [216.254.136.21]) by hub.freebsd.org (Postfix) with ESMTP id 6255937B405 for ; Sat, 16 Feb 2002 20:42:21 -0800 (PST) Received: from dialin-140-110.hamilton.primus.ca ([209.90.140.110]) by zephir.primus.ca with esmtp (Exim 3.33 #12) id 16bVSV-0008CL-0A; Thu, 14 Feb 2002 18:38:35 -0500 Date: Thu, 14 Feb 2002 18:38:36 -0500 (EST) From: Jason Hunt X-X-Sender: leth@lethargic.dyndns.org To: freebsd-net@FreeBSD.ORG Cc: Vinod Namboodiri Subject: Re: MAC Layer of TCP/IP stack In-Reply-To: <20020214221615.23759.qmail@web21101.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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