<?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>My Geek Finds &#187; serial</title>
	<atom:link href="http://www.mygeekfinds.com/tag/serial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mygeekfinds.com</link>
	<description>Tech notes, Virtualization, Networking, Gadgets, and Geek fun</description>
	<lastBuildDate>Tue, 29 Mar 2011 13:35:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Setting Up a Serial Console on RedHat Linux 9.0</title>
		<link>http://www.mygeekfinds.com/2009/08/setting-up-a-serial-console-on-redhat-linux-9-0/</link>
		<comments>http://www.mygeekfinds.com/2009/08/setting-up-a-serial-console-on-redhat-linux-9-0/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 01:49:10 +0000</pubDate>
		<dc:creator>Hersey</dc:creator>
				<category><![CDATA[My Notes]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[serial]]></category>

		<guid isPermaLink="false">http://www.mygeekfinds.com/?p=299</guid>
		<description><![CDATA[I put these instuctions together several years ago. I am moving from a co-located physical server to a VPS with Hands-on Web Hosting so in the process of moving I am trying to consolidate some of my older sites that I no longer update. I am guessing these instructions should also be usable on newer [...]]]></description>
			<content:encoded><![CDATA[<p>I put these instuctions together several years ago.  I am moving from a co-located physical server to a VPS with <a href="http://www.handsonwebhosting.com/">Hands-on Web Hosting</a> so in the process of moving I am trying to consolidate some of my older sites that I no longer update. I am guessing these instructions should also be usable on newer versions of <a href="http://www.redhat.com/">RedHat</a>, <a href="http://fedoraproject.org/">Fedora</a>, or other Linux distros.<br />
&#8211;</p>
<p>If you are running RedHat 9.0 and want to run &#8220;headless&#8221; (no monitor, keyboard, or mouse) but still want to have a console to receive console messages or login, here are the basics of what I did to get it working.</p>
<p>This example will set up a serial console on Com 1 (ttyS0) at 38.4K Baud, Data bits 8, Parity None, 1 stop bit.</p>
<p>Requirements:</p>
<p>    * agetty &#8211; alternative Linux getty &#8211; agetty is included in the RedHat 9.0 Installation (unless you chose not to install it)<br />
    * A Null Modem Cable &#8211; To connect to your PC, laptop, or terminal. You can make one yourself or pick one up from Radio Shack for a few bucks.<br />
    * Running lilo as your boot loader.<br />
    * Support for console on serial port must be compiled into the kernel (not loaded as a module) This option is located under Character devices &#8211; it is compiled in by default on Redhat 9 installations.<br />
    * Root access.</p>
<p>Make sure you set up your BIOS to continue on Keyboard or Mouse errors. Some machines will allow you to ignore these errors specifically, on others you may have to configure it to continue on any error.</p>
<p>In /etc/lilo.conf add this to the global section:</p>
<p>    serial = 0,38400n8 </p>
<p>Then add this to the append line in the kernel section:</p>
<p>    append = &#8220;console=ttyS0,38400n8&#8243; </p>
<p>If you are already using an append for other options just add console=ttyS0,38400n8 to the end of those. Once you have made the changes to /etc/lilo.conf remember to run /sbin/lilo to set the new configuration for the next boot.</p>
<p>To enable the ability to login on to the machine using the serial console add the following line to /etc/inittab:</p>
<p>    s0:12345:respawn:/sbin/agetty -i -h -L 38400 ttyS0 vt100 </p>
<p>Connect the null modem cable to Com 1 and then to your PC, Laptop, or Terminal. Configure the connection (terminal program) for 38400 baud (38.4k), 8 data bits, parity none, and stop bits 1. (On windows you can connect using Hyperterminal, TeraTerm, or any other terminal program that supports serial ports. On a Linux machine you can use minicom).</p>
<p>Now reboot the linux box that you configured the serial console on and monitor the connection. You should see the kernel decompress and then the boot messages over your serial connection. Once the machine has finished booting you should receive a logon prompt on the console.</p>
<p>If you receive a bunch of garbage on the terminal check your baud and parity settings. If you do not receive a logon prompt check you inittab configuration and make sure agetty is running on ttyS0 (ps -ef | grep agetty).</p>
<p>For more help check out the man pages for agetty, lilo, lilo.conf, and inittab.</p>
<p>You can also try a google search for <a href="http://www.google.com/search?q=linux+serial+console">linux serial console</a>, there are a lot of other similar ways to do this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mygeekfinds.com/2009/08/setting-up-a-serial-console-on-redhat-linux-9-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multilink PPP on a Cisco Router</title>
		<link>http://www.mygeekfinds.com/2009/03/multilink-ppp-on-a-cisco-router/</link>
		<comments>http://www.mygeekfinds.com/2009/03/multilink-ppp-on-a-cisco-router/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 18:27:10 +0000</pubDate>
		<dc:creator>Hersey</dc:creator>
				<category><![CDATA[My Notes]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[multilink]]></category>
		<category><![CDATA[ppp]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[t1]]></category>

		<guid isPermaLink="false">http://www.mygeekfinds.com/?p=12</guid>
		<description><![CDATA[We recently increased our Internet bandwidth from a single 1.54Mbps T1 to what Verizon calls 3Mbps Bonded Service.  This takes two 1.54Mbps T1s and puts them in a ppp multilink group to double your bandwidth. Here is the quick and dirty configuration for bonding two Serial (T1) PPP links on a Cisco 1841 router. interface [...]]]></description>
			<content:encoded><![CDATA[<p>We recently increased our Internet bandwidth from a single 1.54Mbps T1 to what Verizon calls 3Mbps Bonded Service.  This takes two 1.54Mbps T1s and puts them in a ppp multilink group to double your bandwidth.</p>
<p>Here is the quick and dirty configuration for bonding two Serial (T1) PPP links on a Cisco 1841 router.</p>
<blockquote><p>interface Mulitlink1<br />
ip address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx<br />
ppp multilink<br />
ppp multilink group 1</p>
<p>interface Serial 0/0<br />
no ip address<br />
encapsulation ppp<br />
ppp multilink<br />
ppp multilink group 1</p>
<p>interface Serial 0/1<br />
no ip address<br />
encapsulation ppp<br />
ppp multilink<br />
ppp multilink group 1</p></blockquote>
<p>The two serial interfaces then look like one &#8211; the Multilink1 interface.  The PPP ip address for this end will be the ip address of the Multilink1 interface. You can still check the status of each serial interface using &#8220;show interface serial 0/x&#8221; .  This will also show you what Multilink group the serial interface is a member of</p>
<blockquote><p>Link is a member of Multilink bundle Multilink1</p></blockquote>
<p>You can also check the status of the Multilink interface by using &#8220;show interface Multilink1&#8243;.  The command &#8220;show ppp multilink interface multilink1&#8243; will display what interfaces belong to the multilink group (useful if you are on a larger router with multiple multilink ppp groups).</p>
<p>I have set up these multilink interfaces in the past, but I can say I am not sure what happens if just one of the T1s fail.  I would guess that the PPP would not like this and bring the whole interface down.</p>
<p>Does losing one T1 bring the whole Multilink interface down or will it the protocol stay up? Is there a better way to do this that will keep the interface up if one of the T1s fail?</p>
<p>Going to have to test this when I get a chance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mygeekfinds.com/2009/03/multilink-ppp-on-a-cisco-router/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

