<?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; Linux</title>
	<atom:link href="http://www.youritronics.com/tag/linux/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>Webserver Based On ATMega88</title>
		<link>http://www.youritronics.com/webserver-based-on-atmega88/</link>
		<comments>http://www.youritronics.com/webserver-based-on-atmega88/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 08:16:41 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega88]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Webserver]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=1282</guid>
		<description><![CDATA[Before starting this Ethernet project the author did of course some prototyping and then he noticed alreadythat UDP was not a problem with lots of space left on the atmega88. Therefore he was quite confident that TCP + HTTP will work. TCP/IP was invented more than 25 years ago. Todays microcontrollers provide almost the computing [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2008/07/webserver-based-on-atmega88.gif"><img class="alignnone size-medium wp-image-1283" title="webserver-based-on-atmega88" src="http://www.youritronics.com/wp-content/uploads/2008/07/webserver-based-on-atmega88.gif" alt="Webserver Based On ATMega88" width="300" height="222" /></a></p>
<p>Before starting  this Ethernet project the author did of course some prototyping and then he noticed alreadythat UDP was not a problem with lots of space left on the atmega88. Therefore he was quite confident that TCP + HTTP will work. TCP/IP was invented more than 25 years ago. Todays microcontrollers provide almost the computing power a standard computer had at that time. No java or xml was used at that time. Things were done in smart and efficient ways.</p>
<p>As you can imagine this web-server code is written for a friendly environment.      Don&#8217;t put it on the open internet. The code uses e.g the     incoming packet to build from it the outgoing packet. An attacker who sends     a mal formed IP packet might be able to confuse the TCP/IP stack. The code is verified with a lot of different browsers and a number of operating systems. It was tested Linux, BSD Unix, Win 98, Win XP, Mac OS-X with a number of different web browsers. It works very well but it was not tested agains atacks and destroy tests.</p>
<p><strong>Webserver Based On ATMega88:</strong> <a href="http://tuxgraphics.org/electronics/200611/embedded-webserver.shtml">[Link]</a> &#8211; <a href="http://www.pyroelectro.com/2008/07/11/atmega88-webserver/">[via]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/webserver-based-on-atmega88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interfacing Your Computer to an ADC via the Parallel Port</title>
		<link>http://www.youritronics.com/interfacing-your-computer-to-an-adc-via-the-parallel-port/</link>
		<comments>http://www.youritronics.com/interfacing-your-computer-to-an-adc-via-the-parallel-port/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 10:39:52 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ADC]]></category>
		<category><![CDATA[Analog]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[DIgital]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAX186]]></category>
		<category><![CDATA[Sensor]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=1148</guid>
		<description><![CDATA[Interfacing an Analog-to-Digital Converter (ADC) with Linux via the parallel port is fairly simple. There two major areas that need to be addressed &#8211; hardware and software. The hardware consists of the parallel port, an ADC, and an analog signal source. The software we programmed in &#8216;C&#8217; language. Interfacing Your Computer to an ADC via [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-1149" href="http://www.youritronics.com/interfacing-your-computer-to-an-adc-via-the-parallel-port/interfacing-your-computer-to-an-adc-via-the-parallel-port/"><img class="alignnone size-medium wp-image-1149" title="interfacing-your-computer-to-an-adc-via-the-parallel-port" src="http://www.youritronics.com/wp-content/uploads/2008/05/interfacing-your-computer-to-an-adc-via-the-parallel-port-300x218.jpg" alt="Interfacing Your Computer to an ADC via the Parallel Port" width="300" height="218" /></a></p>
<p>Interfacing an Analog-to-Digital Converter (ADC) with Linux via the parallel port is fairly simple. There two major areas that need to be addressed &#8211; hardware and software. The hardware consists of the parallel port, an ADC, and an analog signal source. The software we programmed in &#8216;C&#8217; language.</p>
<p><strong>Interfacing Your Computer to an ADC via the Parallel Port:</strong> <a href="http://linuxgazette.net/118/TWDT.html#Interfacing1.1">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/interfacing-your-computer-to-an-adc-via-the-parallel-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SlugBee &#8211; Adding Zigbee Radio to a Slug</title>
		<link>http://www.youritronics.com/slugbee-adding-zigbee-radio-to-a-slug/</link>
		<comments>http://www.youritronics.com/slugbee-adding-zigbee-radio-to-a-slug/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 17:49:25 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/slugbee-adding-zigbee-radio-to-a-slug/</guid>
		<description><![CDATA[  Zigbee, formally IEEE 802.15.4, is another short-range radio standard that uses the 2.4 GHz “microwave oven” band, alongside wireless Ethernet and Bluetooth. Compared to these others, Zigbee is most suited for low-power applications involving simple microcontrollers, for example wireless sensing, home and industrial automation, and so on. Its basic parameters are a data rate [...]]]></description>
			<content:encoded><![CDATA[<p> <a href="http://www.youritronics.com/slugbee-adding-zigbee-radio-to-a-slug/slugbee-adding-zigbee-radio-to-a-slug/" rel="attachment wp-att-743" title="SlugBee - Adding Zigbee Radio to a Slug"><img src="http://www.youritronics.com/wp-content/uploads/2008/04/slugbee-adding-zigbee-radio-to-a-slug.jpeg" alt="SlugBee - Adding Zigbee Radio to a Slug" height="240" width="352" /></a></p>
<p>Zigbee, formally IEEE 802.15.4, is another short-range radio standard that uses the 2.4 GHz “microwave oven” band, alongside wireless Ethernet and Bluetooth. Compared to these others, Zigbee is most suited for low-power applications involving simple microcontrollers, for example wireless sensing, home and industrial automation, and so on. Its basic parameters are a data rate of up to 250 kbits/s and a typical range of 50 m.A small Linux box like the NSLU2 (aka Slug: 266 MHz XScale ARM processor, filesystem on a USB flash drive, takes about 5W, runs Debian GNU/Linux and other distributions) could be useful in a Zigbee deployment. For example, an always-on Slug could be responsible for logging data sent by remote sensors, and generating graphs on web pages, sending email alerts and so on.</p>
<p><strong>SlugBee &#8211; Adding Zigbee Radio to a Slug:</strong> <a href="http://www.coolcircuit.com/gadgets/2008/04/03/slugbee/">[Via]</a> &#8211; <a href="http://chezphil.org/slugbee/">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/slugbee-adding-zigbee-radio-to-a-slug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>$199 Linux Computer available at Wal-Mart</title>
		<link>http://www.youritronics.com/199-linux-computer-available-at-wal-mart/</link>
		<comments>http://www.youritronics.com/199-linux-computer-available-at-wal-mart/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 08:13:03 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[gOS screenshots]]></category>
		<category><![CDATA[Green]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.YourITronics.com/2007/11/02/199-linux-computer-available-at-wal-mart/</guid>
		<description><![CDATA[Due to the holiday season up next the linux OS will get a great chance to become more popular than it is at Wal-Mart Stores. They were taking orders online Wednesday for a computer called the &#8220;Green gPC&#8221; that is made by Everex of Taiwan, costs $199 and runs Linux. It will be available in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/2007/11/02/199-linux-computer-available-at-wal-mart/the-green-pc/" rel="attachment wp-att-154" title="the Green PC"><img src="http://www.YourITronics.com/wp-content/uploads/2007/11/banner_thinkgpc3.jpg" alt="the Green PC" align="left" height="329" width="266" /></a>        Due to the holiday season up next the linux OS will get a great chance to become more popular than it is at Wal-Mart Stores. They were taking orders online Wednesday for a computer called the &#8220;Green gPC&#8221; that is made by Everex of Taiwan, costs $199 and runs Linux.</p>
<p>It will be available in about 600 stores, as well as online, Wal-Mart said. A comparable Everex PC preinstalled with Windows Vista Home Basic and more memory costs $298 partly because the manufacturer has to pay Microsoft Corp. for a software license, so I think people will like the new computer and discover the goods of linux.</p>
<p>Both computers come with keyboard, mouse, and speakers, but without a monitor. As you already may know Linux is developed and offered on a open-source basis by individuals and companies around the world.</p>
<p>It’s being used especially on servers because of its high stability on long term use. The variant of Linux on the gPC is called gOS and is derived from the popular Ubuntu variant. It&#8217;s mostly oriented toward Google&#8217;s Web sites and online applications, like YouTube, Gmail and the company&#8217;s word processing program, all of which can be used only when the computer is connected to a broadband line.</p>
<p>The PC comes with a dialup modem, but gOS doesn&#8217;t support it. So most users likely will get online using other ways. Google’s entrance to the OS market is relatively new and I think gOS will be a great chance for users who would like to move away from Microsoft and windows to something new and better.</p>
<p>Wal-Mart spokeswoman Melissa O&#8217;Brien said it is stocking the computer in about one in eight stores to test the demand for an open-source product. The gPC has a low-end processor from VIA Technologies, plus 512 megabytes of internal memory, an 80-gigabyte hard drive and a combination DVD drive and CD burner. Everex says the processor is very energy efficient, meriting the &#8220;Green&#8221; part of the name.</p>
<p>here is a screenshot of the gPC or you could call it a gOS screenshot:</p>
<p><a href="http://www.youritronics.com/2007/11/02/199-linux-computer-available-at-wal-mart/the-green-pc/" rel="attachment wp-att-154" title="the Green PC"></a></p>
<p style="text-align: center"><a href="http://www.youritronics.com/2007/11/02/199-linux-computer-available-at-wal-mart/gos-screenshot/" rel="attachment wp-att-152" title="gOS screenshot"><img src="http://www.YourITronics.com/wp-content/uploads/2007/11/gos_screen_shot.jpg" alt="gOS screenshot" /></a></p>
<p style="text-align: center">&nbsp;</p>
<p class="MsoNormal">Sources :<a href="http://www.thinkgos.com/"></a></p>
<p class="MsoNormal"><a href="http://www.thinkgos.com/">http://www.thinkgos.com</a></p>
<p><a href="http://www.everex.com/">http://www.everex.com</a></p>
<p><a href="http://www.walmart.com/">http://www.walmart.com</a></p>
<p>Also if you would like to see more gOS screenshots you should check <a href="http://www.youritronics.com/2008/01/30/new-gos-screenshots/" title="gos screenshots - new gos screenshots" target="_blank">this article</a> of mine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/199-linux-computer-available-at-wal-mart/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Forwarding a specific port in Debian</title>
		<link>http://www.youritronics.com/forwarding-a-specific-port-in-debian/</link>
		<comments>http://www.youritronics.com/forwarding-a-specific-port-in-debian/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 14:00:40 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Debian tutorials]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[forwarding]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[port]]></category>

		<guid isPermaLink="false">http://www.YourITronics.com/2007/10/29/forwarding-a-specific-port-in-debian/</guid>
		<description><![CDATA[     I’m writing this tutorial to help other that may have the same problem I had. Let me explain to you: I have a Debian server called debian1 which has external ip 1.1.1.1 on eth0 and a local ip 192.168.1.1 on eth0:1, and a second Debian server called debian2 which only has 192.168.1.2 local [...]]]></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="143" width="134" /></a>                 I’m writing this tutorial to help other that may have the same problem I had. Let me explain to you: I have a Debian server called debian1 which has external ip 1.1.1.1 on eth0 and a local ip 192.168.1.1 on eth0:1, and a second Debian server called debian2 which only has 192.168.1.2 local ip on eth0. I need to access debian2 with ssh from the internet. I cant do that directly because debian2 does not have an external ip address to connect to the internet. But we can use a port forwarding rule on debian1 so that I can access debian2 trough debian1 on a specific port. The only command you have to use is:</p>
<p class="MsoNormal">&nbsp;</p>
<blockquote><p>iptables -A PREROUTING -t nat -p tcp -i eth0 &#8211;dport 88 -j DNAT &#8211;to 192.168.1.2:22</p></blockquote>
<p class="MsoNormal">after entering this command debian1 will forward any request on port 88 from eth0 to 192.168.1.2 on port 22. Now all I have to do is to enter 1.1.1.1 port 88 in putty and I can log-in to debian2 trough ssh. That’s it short and simple about port forwarding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/forwarding-a-specific-port-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
		<item>
		<title>How to set your date and time in Debian</title>
		<link>http://www.youritronics.com/how-to-set-your-date-and-time-in-debian/</link>
		<comments>http://www.youritronics.com/how-to-set-your-date-and-time-in-debian/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 06:00:11 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Debian tutorials]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.YourITronics.com/2007/10/16/how-to-set-your-date-and-time-in-debian/</guid>
		<description><![CDATA[     It could happen to anyone to have problems with date and time. For example I had a problem a few day’s ago with an older server of mine which has problems with hardware time, it resets everytime I disconnect it from power. Its something to do with the motherboard I changed the battery [...]]]></description>
			<content:encoded><![CDATA[<p><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.thumbnail.png" alt="Install SNMP (Simple Network Management Protocol) on Debian" align="left" height="103" width="96" /></a>            It could happen to anyone to have problems with date and time. For example I had a problem a few day’s ago with an older server of mine which has problems with hardware time, it resets everytime I disconnect it from power. Its something to do with the motherboard I changed the battery but that didn’t solved the problem. That’s why sometimes I need to correct its date with the following method:</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><strong>date &#8211;set 2007-10-15</strong><br />
to set yyyy-mm-dd<br />
<strong> date &#8211;set 16:47:30</strong><br />
to set hh-mm-ss<br />
<strong> hwclock –systohc</strong><br />
to sync hardware clock to what we introduced earlier
</p>
<p class="MsoNormal">    At least from Debian version 2.2 onwards, the system automatically saves the system time to hardware clock on shutdown, and sets the system clock from hardware clock when Debian boots up. This is done in the script <code><span style="font-size: 10pt">/etc/init.d/hwclock.sh</span></code>.</p>
<p class="MsoNormal">    Another thing you might ran into is changing the timezone.<br />
If the timezone is not set or is wrong, log in as superuser and run tzconfig to configure the timezone.</p>
<p>That’s it a short tutorial about date in Debian.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/how-to-set-your-date-and-time-in-debian/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Install SNMP (Simple Network Management Protocol) on Debian</title>
		<link>http://www.youritronics.com/install-snmp-simple-network-management-protocol-on-debian/</link>
		<comments>http://www.youritronics.com/install-snmp-simple-network-management-protocol-on-debian/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 05:00:00 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Debian tutorials]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SNMP]]></category>

		<guid isPermaLink="false">http://www.YourITronics.com/2007/10/04/install-snmp-simple-network-management-protocol-on-debian/</guid>
		<description><![CDATA[     In this tutorial I’m going to teach you how to install SNMP on Debian and configure it for local or remote use. Simple Network Management Protocol is a widely used protocol for monitoring the health and welfare of network equipment, computer equipment and even devices like UPS’s. Net-SNMP is a suite of applications [...]]]></description>
			<content:encoded><![CDATA[<p><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="196" width="185" /></a>                    In this tutorial I’m going to teach you how to install SNMP on Debian and configure it for local or remote use. Simple Network Management Protocol is a widely used protocol for monitoring the health and welfare of network equipment, computer equipment and even devices like UPS’s. Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6. In my case I’m using snmp to monitor the status of my servers, both linux and windows. I use Cacti to graph all this information. (I will cover cacti installation on Debian in a future post).</p>
<p>For the method described below I’m using apt for installing snmp, so before you start this you should configure apt and add some http or ftp sources into your /etc/apt/sources.list or if you have your installation dvd/cd you can use that. Let’s get started:</p>
<p class="MsoNormal">We need to install snmpd package using the following command:<br />
<strong> apt-get install snmpd</strong></p>
<p class="MsoNormal">    That’s it snmpd is installed, now we move on to the config part. We will edit /etc/snmp/snmpd.conf. This is the main config file for snmpd so before doing any changes you should take a copy of this file in case anything goes wrong with this command:<br />
<strong> cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig</strong><br />
next open file for edit with:<br />
<strong> nano /etc/snmp/snmpd.conf</strong></p>
<p class="MsoNormal">Now for local access only you should change<br />
<strong> #com2sec paranoid<span>  </span>default<span>         </span>public<br />
com2sec readonly<span>  </span>default<span>         </span>public<br />
#com2sec readwrite default<span>         </span>private</strong><br />
To<br />
<strong> #com2sec paranoid<span>  </span>default<span>         </span>public<br />
com2sec readonly<span>  </span>default<span>         </span>public<br />
#com2sec readwrite default<span>         </span>private</strong></p>
<p>Notice “public” this will be our community. If you want to interrogate the snmp service from another server you should change:<br />
<strong> #com2sec paranoid<span>  </span>default<span>         </span>public<br />
com2sec readonly<span>  </span>default<span>         </span>public<br />
#com2sec readwrite default<span>         </span>private</strong><br />
To<br />
<strong> #com2sec paranoid default public<br />
com2sec local<span>   </span>localhost public<br />
com2sec mynetwork 1.1.1.1 public<br />
#com2sec readwrite default private</strong><br />
(replace “1.1.1.1” with the ip of the remote server)<br />
you also need to add these line to /etc/snmp/snmpd.conf<br />
<strong> group MyROGroup v1 mynetwork<br />
group MyROGroup v2c mynetwork<br />
group MyROGroup usm mynetwork</strong></p>
<p class="MsoNormal">Next step in remote interrogating is to edit /etc/default/snmpd with<br />
nano /etc/default/snmpd<br />
and remove the 127.0.0.1 bit.</p>
<p class="MsoNormal">Next step, is optional, if you want to personalize a bit your snmpd you can edit this:<br />
<strong> syslocation Unknown (configure /etc/snmp/snmpd.local.conf)<br />
syscontact Root &lt;root@localhost&gt; (configure /etc/snmp/snmpd.local.conf)</strong><br />
to something like<br />
s<strong>yslocation Main Datacenter<br />
syscontact webmaster@yourdomain.com</strong><br />
Now we need to restart the snmp service to activate the new settings.<br />
<strong> /etc/init.d/snmpd restart</strong>
</p>
<p class="MsoNormal">Your snmp server is now active and running.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/install-snmp-simple-network-management-protocol-on-debian/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A list of Debian linux basic commands to help you get started</title>
		<link>http://www.youritronics.com/a-list-of-debian-linux-basic-commands-to-help-you-get-started/</link>
		<comments>http://www.youritronics.com/a-list-of-debian-linux-basic-commands-to-help-you-get-started/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 00:17:06 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Debian tutorials]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.YourITronics.com/2007/09/23/a-list-of-debian-linux-basic-commands-to-help-you-get-started/</guid>
		<description><![CDATA[    A list of common commands is very useful when new to Debian, to teach you how to handle/manage files and systems.I extracted from Debian&#8217;s User Reference Manual the most often used commands : Commands for reading documentation: man [section-number] subject man shows the manual page on the command (use q or ctrl-C to get [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><a href="http://www.YourITronics.com/2007/09/23/a-list-of-debian-linux-basic-commands-to-help-you-get-started/debian/" rel="attachment wp-att-55" title="Debian"><img src="http://www.YourITronics.com/wp-content/uploads/2007/09/debian.gif" alt="Debian" align="left" height="256" width="242" /></a></p>
<p class="MsoNormal">    A list of common commands is very useful when new to Debian, to teach you how to handle/manage files and systems.I extracted from Debian&#8217;s User Reference Manual the most often used commands :</p>
<p align="center"><strong> Commands for reading documentation:</strong></p>
<p class="MsoNormal"> <strong> man [section-number] subject</strong><br />
man shows the manual page on the command (use q or ctrl-C to get out of it if it doesn&#8217;t terminate at the end of the text)<br />
This command is crucial for helping you learn how to use it and other Linux commands
</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><strong> info [subject]</strong><br />
A lot of Debian Linux documentation is provided in info format. This is similar to a hypertext format, in that you can jump to other sections of the documentation by following links embedded in the text.</p>
<p class="MsoNormal"><strong>help [subject]</strong><br />
Use help for on-line help about bash&#8217;s built-in commands. Help by itself prints a list of subjects for which you can ask for help.
</p>
<p align="center"><strong>Commands for basic file-handling:</strong></p>
<p class="MsoNormal"> If you are gonna use linux as operating system you have to know this commands:<br />
<strong> pwd</strong><br />
Show the current directory.</p>
<p class="MsoNormal"><strong>cd [directory]</strong><br />
Change your current directory to the named directory. If you don&#8217;t specify directory, you will be returned to your home directory.</p>
<p class="MsoNormal"><strong>mkdir new_directory</strong><br />
mkdir is used to create a new directory. new_directory can be specified as a path, or as a simple name (in which case it is created in the current directory).</p>
<p class="MsoNormal"><strong>mv source target</strong><br />
mv moves source file to target and deletes source; source can be a list of files, but in that case target must be a directory.This is also the way to rename a file or directory.</p>
<p class="MsoNormal"><strong>cp source target</strong><br />
cp copies source to target. Again, target can be a directory and source a list of files.</p>
<p class="MsoNormal"><strong>ln source target</strong><br />
ln links source to target with hard or symbolic links according to the options.</p>
<p class="MsoNormal"><strong>rm filelist</strong><br />
rm deletes files. With the -r option it can delete directories and their contents.Be very careful with rm; once a file is deleted, you cannot get it back. There is no undelete command.</p>
<p class="MsoNormal"><strong>rmdir directorylist</strong><br />
rm deletes empty directories.</p>
<p class="MsoNormal"><strong>chmod mode filelist</strong><br />
chmod changes the permissions of files and directories. The mode is either an octal number, such as 644, or a symbolic representation of it, such as u=rw,go=r.</p>
<p class="MsoNormal"><strong>chown owner[.group] filelist</strong><br />
chown changes the ownership of files. Use the -R option to do this for an entire directory tree.
</p>
<p class="MsoNormal">If .group is specified as well as owner, the group ownership of the files is changed as well.</p>
<p class="MsoNormal"><strong>chgrp group filelist</strong><br />
chgrp changes the group ownership of files. Use the -R option to do this for an entire directory tree.</p>
<p class="MsoNormal"><strong>ls directory</strong><br />
ls lists the contents of directory; by default, the output is sorted.There are more options to ls than to any other command. Those most commonly used are -l, to show the file permissions and the latest change date and -a, to show hidden dot-files.
</p>
<p class="MsoNormal" align="center"><strong>Commands for managing file-systems:</strong></p>
<p class="MsoNormal"><strong>df</strong><br />
df lists mounted partitions and shows the amount of space present, used and available. (The partitions will probably include /proc, which is a special `non-existent&#8217; partition, that contains information about the current state of the Linux kernel.)</p>
<p class="MsoNormal"><strong>mount [partition directory]</strong><br />
mount by itself lists mounted partitions.It is also the command to use to add a partition&#8217;s file-system into the universal directory tree. For example:<br />
mount /dev/hda2 /usr<br />
You have to be superuser (log in as root or run su) in order to mount or unmount file-systems.</p>
<p class="MsoNormal"><strong>umount directory</strong><br />
umount removes a partition&#8217;s file-system from the universal directory tree. For example:<br />
umount /usr</p>
<p>You have to be superuser (log in as root or run su) in order to mount or unmount file-systems.
</p>
<p class="MsoNormal" align="center"><strong>Commands for Looking at files:</strong></p>
<p class="MsoNormal"><strong>cat textfile[s]</strong><br />
cat dumps textfile[s] to screen without paging (like DOS&#8217;s type). If you name more than one file, each will be sent in order, with no break or heading.</p>
<p class="MsoNormal"><strong>more textfile[s]</strong><br />
more lists the textfile[s] to the screen in pages so that you can read it. Press Space-bar to move on one page, Enter to move on one line, and b to move back one page. Use q or ctrl-c to quit; more will quit automatically when it gets to the end of the last file.</p>
<p class="MsoNormal"><strong>less textfile[s]</strong><br />
less is like more but has more features and somewhat different behaviour. You have to type Q to terminate it.</p>
<p class="MsoNormal"><strong>head textfile[s]</strong><br />
head is used to see the first few lines of a file (by default, it shows 10 lines).</p>
<p class="MsoNormal"><strong>tail textfile[s]</strong><br />
tail is used to see the last few lines of a file (by default, it shows 10 lines).so for example if you want to see live your apache access.log file to see who is accessing your website you can type<br />
tail -f /var/log/apache2/access.log</p>
<p class="MsoNormal"><strong>find directory -name filename</strong><br />
find tells you where filename is in the tree starting at directory. This command has many other useful options.</p>
<p class="MsoNormal"><strong>grep pattern filelist</strong><br />
grep scans each file in filelist for lines which match pattern</p>
<p class="MsoNormal"><strong>file file</strong><br />
file reports what kind of thing file is.</p>
<p class="MsoNormal"><strong>type file</strong><br />
type says where to find file in your search path.</p>
<p class="MsoNormal"><strong>whereis file</strong><br />
whereis is like type, but gives more information.
</p>
<p class="MsoNormal" align="center"><strong>Commands for Session management:</strong></p>
<p class="MsoNormal"><strong>exit or logout</strong><br />
Use exit or logout to terminate your session and log out. All jobs you have started are terminated, unless they were started with nohup, and your screen should return you to the log-in prompt. You can often use Ctrl-D to do the same, but that capability can be disabled.</p>
<p class="MsoNormal"><strong>su</strong><br />
Use su to become superuser. You will be asked to enter a password; this is the password for the root login.Becoming superuser is almost the same as logging in as root. You get the same power to do damage. Be very careful!
</p>
<p class="MsoNormal">Use exit, logout or ctrl-D to stop being superuser.</p>
<p class="MsoNormal"><strong>bg </strong>and<strong> fg</strong><br />
If you are running one job and want to run something else in the same screen without stopping the first job, you can put the first job in the background by typing Ctrl-Z. You can then run other commands. You can start the first job running again in the background by using bg. It will continue to run in the background until it wants to send anything to the screen; then it will stop and wait. You can bring it forward again and let it continue by using the command fg.</p>
<p class="MsoNormal"><strong>script file</strong><br />
Use script to record everything that appears on the screen (until the next exit) in file. This is useful if you need to record what&#8217;s going on in order to include it in your message when you ask for help. Use exit, logout or ctrl-D to stop the recording session.</p>
<p class="MsoNormal"><strong>ps</strong><br />
Use ps to list your processes.<br />
You can also use ps to see all processes on the system:<br />
<strong> ps -ax</strong><br />
The number in the column headed PID is the identifying number of the process. Under column TT is the tty (screen or window identifier) where it is running. A question mark here means that it is not attached to any screen or window, but is running in the background.</p>
<p class="MsoNormal"><strong>tty</strong><br />
tty shows you which terminal (screen or window) you are in.<br />
tty<br />
/dev/ttyp4
</p>
<p class="MsoNormal" align="center"><strong>These commands relate to your identity as a user and the machine&#8217;s own identity:</strong></p>
<p class="MsoNormal"><strong>passwd</strong><br />
Use passwd to change the password that you use when you log in. Follow the instructions on screen about what kind of password to choose. When you type the password in, it doesn&#8217;t show on the screen, so you have to enter it twice, to ensure that you make no typing errors.</p>
<p class="MsoNormal"><strong>id</strong><br />
id tells you what user you are and what group you are in.</p>
<p>id<br />
uid=1000(olly)gid=1000(olly)groups=1000(olly),6(disk),20(dialout),25(floppy),26(tape),29(audio),34(backup),37<br />
(operator),101(priory)<br />
uid indicates your user number, gid your group number (which will be assigned to files that you create) and groups lists the other groups that you are a member of.</p>
<p class="MsoNormal"><strong>who -u</strong><br />
who -u reports everyone who is logged on.</p>
<p class="MsoNormal"><strong>uname -a</strong><br />
uname -a reports the name, type and operating system of your machine.</p>
<p class="MsoNormal"><strong>date</strong><br />
date reports the current time and date.<br />
The superuser can use this command to set the date and time.
</p>
<p class="MsoNormal" align="center"> <strong>Commands for Turning off the computer:</strong></p>
<p class="MsoNormal">Turning the computer on and off is really a system administration subject, but I include it here because it is something that every user who is his own administrator needs to know. If someone else is responsible for administering the machine, you should neither need nor be able to shut it down.</p>
<p class="MsoNormal"><strong>shutdown -t 0 -h now</strong><br />
This command shuts the computer down safely. You can also use ctrl-alt-del if your system is set up for that. (If you are in X, ctrl-alt-del will be intercepted by X. Get out of X first by using ctrl-alt-backspace.) Never turn off a Unix machine without doing a safe shutdown: if you do, you will damage your file-systems.
</p>
<p class="MsoNormal">This was extracted from <a href="http://www.debian.org/doc/manuals/user/ch6.html" title="Link to Debian User reference manual" target="_blank">Debian User Reference Manual</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/a-list-of-debian-linux-basic-commands-to-help-you-get-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the MAC address in Linux (Debian)</title>
		<link>http://www.youritronics.com/how-to-change-the-mac-address-in-linux-debian/</link>
		<comments>http://www.youritronics.com/how-to-change-the-mac-address-in-linux-debian/#comments</comments>
		<pubDate>Sat, 22 Sep 2007 18:27:38 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[Debian tutorials]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>

		<guid isPermaLink="false">http://www.YourITronics.com/2007/09/22/how-to-change-the-mac-address-in-linux-debian/</guid>
		<description><![CDATA[    Although the physical MAC address is permanent by design and is assigned to your network card by factory several mechanisms allow the modification, or spoofing of the MAC address that is reported by the operating system. This can be useful if you want to keep your privacy or to ensure interoperability. Some internet service [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">    Although the physical MAC address is permanent by design and is assigned to your network card by factory several mechanisms allow the modification, or spoofing of the MAC address that is reported by the operating system. This can be useful if you want to keep your privacy or to ensure interoperability. Some internet service providers bind their service to a specific MAC address; if you change your network card or intend to install a router the service won’t work anymore. Changing the MAC address of the new interface will solve the problem.</p>
<p class="MsoNormal">    Under Linux the MAC address of a network card can be changed by doing the following under a root account.</p>
<p class="MsoNormal" align="center"><strong>/etc/init.d/networking stop</strong></p>
<p align="center"><strong>ifconfig eth0 hw ether 02:01:02:03:04:08</strong></p>
<p class="MsoNormal" align="center"><strong>/etc/init.d/networking start</strong></p>
<p class="MsoNormal">” 02:01:02:03:04:08” being the new assigned mac.</p>
<p class="MsoNormal">    Under Fedora Core 5, and possibly in other Linux distributions, to disable and restart networking, you must stop and start /etc/init.d/network, instead of /etc/init.d/networking. Using the described method your MAC address will revert to original MAC address (hardware MAC) after reboot. So if you want to make the change permanently in Debian you have to add</p>
<p class="MsoNormal" align="center"><strong>hwaddress ether 02:01:02:03:04:08</strong></p>
<p class="MsoNormal" align="left">into the appropriate section of /etc/network/interfaces so that the MAC address is set when the network device is started.</p>
<p class="MsoNormal">You can also use the tool <a href="http://www.alobbs.com/macchanger" title="MACChanger" target="_blank">MACChanger</a> to change the MAC address under Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/how-to-change-the-mac-address-in-linux-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
