<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>YourITronics &#187; address</title>
	<atom:link href="http://www.youritronics.com/tag/address/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.youritronics.com</link>
	<description>DIY, Electronics, IT, Gadgets</description>
	<lastBuildDate>Thu, 29 Jul 2010 09:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to set the mac address from /etc/network/interfaces in Debian</title>
		<link>http://www.youritronics.com/how-to-set-the-mac-address-from-etcnetworkinterfaces-in-debian/</link>
		<comments>http://www.youritronics.com/how-to-set-the-mac-address-from-etcnetworkinterfaces-in-debian/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 07:00:40 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Debian tutorials]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[interfaces]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.YourITronics.com/2007/10/27/how-to-set-the-mac-address-from-etcnetworkinterfaces-in-debian/</guid>
		<description><![CDATA[     This is an update to a previous post regarding the change of mac address in Debian. In the previous tutorial I told you can change it by ifconfig from a root account. Now I’m going to teach you how to set an interface mac address using /etc/network/interfaces . This is a better way [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><a href="http://www.YourITronics.com/2007/10/04/install-snmp-simple-network-management-protocol-on-debian/install-snmp-simple-network-management-protocol-on-debian-2/" rel="attachment wp-att-87" title="Install SNMP (Simple Network Management Protocol) on Debian"><img src="http://www.YourITronics.com/wp-content/uploads/2007/10/debian_splash.png" alt="Install SNMP (Simple Network Management Protocol) on Debian" align="left" height="138" width="130" /></a>            This is an update to a previous post regarding the change of mac address in Debian. In the previous tutorial I told you can change it by ifconfig from a root account. Now I’m going to teach you how to set an interface mac address using /etc/network/interfaces . This is a better way to set your mac address because the mac you set in /etc/network/interfaces will always load when the interfaces are loaded so you don’t have to worry about the mac after reboot for example. Let’s start by looking at my /etc/network/interfaces it looks like this:</p>
<p class="MsoNormal">&nbsp;</p>
<blockquote><p> #This file describes the network interfaces available on your system<br />
# and how to activate them. For more information, see interfaces(5).</p>
<p># The loopback network interface<br />
auto lo<br />
iface lo inet loopback</p>
<p># The primary network interface<br />
auto eth0<br />
iface eth0 inet static<br />
address 1.1.1.2<br />
netmask 255.255.255.0<br />
network 1.1.1.255<br />
broadcast 1.1.1.255<br />
gateway 1.1.1.1<br />
dns-nameservers 1.1.1.1<br />
dns-search .com<br />
hwaddress ether 00:01:04:1b:2C:1F</p></blockquote>
<p class="MsoNormal">    Open this file in your favorite editor. I use nano. You can see that my ip address is 1.1.1.2 and my gateway is 1.1.1.1 instead of these in your file you will see your network settings. Now, under the last line of the interfaces file you have to add the following</p>
<blockquote><p> hwaddress ether 00:01:04:1b:2C:1F</p></blockquote>
<p>replacing 00:01:04:1b:2C:1F with the mac you want to assign to the interface where you are adding the line. Now save the file with ctrl+x then y to confirm and restart the network service with<br />
<strong> /etc/init.d/networking restart</strong><br />
Now type <strong>ifconfig</strong> and there it is you should see the mac you entered earlier assigned to eth0 (if you choused eth0). You’re done the mac will now load every time the network load’s.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/how-to-set-the-mac-address-from-etcnetworkinterfaces-in-debian/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
