<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Managing networks and stuff...</title>
	<atom:link href="http://sysbrain.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysbrain.wordpress.com</link>
	<description>My Memory in the cloud :)</description>
	<lastBuildDate>Mon, 02 Nov 2009 20:13:48 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sysbrain.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/0f7cd73c9031a47cf8889ee1e49f83b2?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Managing networks and stuff...</title>
		<link>http://sysbrain.wordpress.com</link>
	</image>
			<item>
		<title>Provisioning Linksys SPA922</title>
		<link>http://sysbrain.wordpress.com/2009/11/02/provisioning-linksys-spa922/</link>
		<comments>http://sysbrain.wordpress.com/2009/11/02/provisioning-linksys-spa922/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 19:44:27 +0000</pubDate>
		<dc:creator>Jabi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://sysbrain.wordpress.com/?p=18</guid>
		<description><![CDATA[When I started in the world of Asterisk, one of the important things to deploy a VoIP network is the segmentation of the network VLANs to separate voice and data. When I started two years ago,  only knew two options:
- Use different network but this implies duplicate the number of the switches (much money [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sysbrain.wordpress.com&blog=2464679&post=18&subd=sysbrain&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When I started in the world of Asterisk, one of the important things to deploy a VoIP network is the segmentation of the network VLANs to separate voice and data. When I started two years ago,  only knew two options:</p>
<p>- Use different network but this implies duplicate the number of the switches (much money and in my opinion unprofessional).<br />
- Use VLAN&#8217;s to separate the networks. This option is better although requires much administrative work whenever there is change a site computer or telephone.</p>
<p>I was investigating the way this is done automatically and it seems that something went.</p>
<p>Here I leave an example implementation.</p>
<p>In this scenario We are going to configure a system to provisioning Linksys Phones (SPA922). Firts We have to configure our network LAN with 2 vlans (or more) to separate the data and voice network. We have used Cisco Switches (Catalyst 2960 and 3750).</p>
<p>Networking</p>
<p>The IP range ov Vlans are this:</p>
<p>Vlan 1 -&gt; data network -&gt; 192.168.1.0/24<br />
Vlan 2 -&gt;  voice network  -&gt; 10.3.3.0/24</p>
<p>We need to have two DHCP servers, one in each vlan. In the vlan 1 we have configured one DHCP server (Windows 2003 Server) which will be the principal DHCP server. This is the configuration:</p>
<p>003 Router 192.168.1.1<br />
006 DNS Servers 192.168.1.5 192.168.1.6<br />
015 DNS Domain Name  testing.lan.com<br />
044 WINS/NBNS Servers 192.168.1.5<br />
046 WINS/NBNS Node Type 0&#215;8<br />
066 Boot Server Host Name    10.3.3.3 (TFTP Server)</p>
<p>In the other Vlan (voIP), we have Asterisk server with DHCP server and TFTP Server. These are the configs:</p>
<p>apt-get install dhcpd</p>
<p>/etc/dhcp3# vim dhcpd.conf</p>
<p><code>subnet 10.3.3.0 netmask 255.255.255.0<br />
{<br />
range 10.3.3.100 10.3.3.254;<br />
option domain-name-servers 192.168.1.6;<br />
option routers 10.3.3.1;<br />
option subnet-mask 255.255.255.0;<br />
option broadcast-address 10.3.3.255;<br />
option tftp-server-name "10.3.3.3";<br />
default-lease-time 600;<br />
max-lease-time 7200;<br />
}</code></p>
<p>Provisioning</p>
<p>apt-get install atftpd</p>
<p>/etc/default# vim atftpd</p>
<p><code>USE_INETD=true<br />
OPTIONS="--daemon --port 69 --tftpd-timeout 300 --retry-timeout 5     --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5  /tftpboot"</code></p>
<p>The tftp server configuration file indicates that the config are int tftpboot directory where we have configured the general config file for all phones and the especific config files to the phones too.</p>
<p>/etc/tftpboot# vim spa922.cfg</p>
<p><code>&lt;flat-profile&gt;</code></p>
<p><code>&lt;!-- PROVISIONING --&gt;<br />
&lt;Resync_Periodic&gt;10&lt;/Resync_Periodic&gt;<br />
&lt;Resync_Error_Retry_Delay&gt;20&lt;/Resync_Error_Retry_Delay&gt;<br />
&lt;Profile_Rule ua="na"&gt;/spa922-MAC/spa922-$MA.cfg&lt;/Profile_Rule&gt;</code></p>
<p><code>&lt;!-- SYSTEM --&gt;<br />
&lt;Primary_NTP_Server ua="na"&gt;192.168.1.10&lt;/Primary_NTP_Server&gt;<br />
&lt;Time_Zone ua="na"&gt;GMT+01:00&lt;/Time_Zone&gt;</code></p>
<p><code>&lt;!-- TIMERS --&gt;<br />
&lt;Interdigit_Long_Timer ua="na"&gt;25&lt;/Interdigit_Long_Timer&gt;</code></p>
<p><code>&lt;!-- SIP --&gt;<br />
&lt;Proxy_1_&gt;10.3.3.3&lt;/Proxy_1_&gt;</code></p>
<p><code>&lt;Use_Auth_ID_1_ ua="na"&gt;No&lt;/Use_Auth_ID_1_&gt;<br />
&lt;Preferred_Codec_1_&gt;G711a&lt;/Preferred_Codec_1_&gt;<br />
&lt;Use_Pref_Codec_Only_1_&gt;no&lt;/Use_Pref_Codec_Only_1_&gt;</code></p>
<p><code>&lt;Dial_Plan_1_ ua="na"&gt;([1345]xxxS0|6xxxxxxxxS0|9xxxxxxxxS0|xx.)&lt;/Dial_Plan_1_&gt;<br />
&lt;Enable_IP_Dialing_1_ ua="na"&gt;No&lt;/Enable_IP_Dialing_1_&gt;</code></p>
<p><code>&lt;Enable_VLAN ua="rw"&gt; yes &lt;/Enable_VLAN&gt;<br />
&lt;VLAN_ID ua="rw"&gt; 2 &lt;/VLAN_ID&gt;</code></p>
<p><code>&lt;/flat-profile&gt;</code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sysbrain.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sysbrain.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sysbrain.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sysbrain.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sysbrain.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sysbrain.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sysbrain.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sysbrain.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sysbrain.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sysbrain.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sysbrain.wordpress.com&blog=2464679&post=18&subd=sysbrain&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sysbrain.wordpress.com/2009/11/02/provisioning-linksys-spa922/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93a03cd6437bb030fd893437e9aa30cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jabi</media:title>
		</media:content>
	</item>
		<item>
		<title>Network Link Redundancy</title>
		<link>http://sysbrain.wordpress.com/2008/02/14/network-link-redundancy/</link>
		<comments>http://sysbrain.wordpress.com/2008/02/14/network-link-redundancy/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 10:56:07 +0000</pubDate>
		<dc:creator>Jabi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://sysbrain.wordpress.com/?p=4</guid>
		<description><![CDATA[Folow these steps to create a Link redundancy in a server with two ethernet cards in Debian 4.0Etch.
- 1. apt-get install ifenslave (ifenslave-2.6)
- 2. Create a file called aliases-bond in /etc/modprobe.d/ with the next content:
&#124;alias bond0 bonding&#124;
&#124;options bond0 mode=1 arp_internal=2000 arp_ip_target=&#8221;the gateway&#8221;&#124;
- 3. load bonding with this command -&#62; modprobe bonding
- 4. add &#8220;bonding&#8221; to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sysbrain.wordpress.com&blog=2464679&post=4&subd=sysbrain&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Folow these steps to create a Link redundancy in a server with two ethernet cards in Debian 4.0Etch.</p>
<p>- 1. apt-get install ifenslave (ifenslave-2.6)<img src="http://micaminogeek.files.wordpress.com/2007/08/debian-logo-weiss.png?w=174&#038;h=152" alt="" width="174" height="152" align="right" /></p>
<p>- 2. Create a file called aliases-bond in /etc/modprobe.d/ with the next content:</p>
<p>|alias bond0 bonding|</p>
<p>|options bond0 mode=1 arp_internal=2000 arp_ip_target=&#8221;the gateway&#8221;|</p>
<p>- 3. load bonding with this command -&gt; modprobe bonding</p>
<p>- 4. add &#8220;bonding&#8221; to /etc/modules</p>
<p>- 5. Edit /etc/network/interfaces</p>
<p>|auto bond0|</p>
<p>|iface bond0 inet static|</p>
<p>|pre-up modprobe bond0|</p>
<p>|hwaddress ether &#8220;the mac address of one of the ethernet card&#8221;|</p>
<p>|address &#8220;ip address&#8221;|</p>
<p>|netmask &#8220;subnet mask&#8221;|</p>
<p>|gateway &#8220;gateway&#8221;|</p>
<p>|dns-nameservers X.X.X.X  X.X.X.X|<br />
|up ifenslave bond0 eth0 eth1|</p>
<p>|down ifenslave -d bond0 eth0 eth1|</p>
<p>It Works!!</p>
<p> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sysbrain.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sysbrain.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sysbrain.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sysbrain.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sysbrain.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sysbrain.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sysbrain.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sysbrain.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sysbrain.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sysbrain.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sysbrain.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sysbrain.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sysbrain.wordpress.com&blog=2464679&post=4&subd=sysbrain&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sysbrain.wordpress.com/2008/02/14/network-link-redundancy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93a03cd6437bb030fd893437e9aa30cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jabi</media:title>
		</media:content>

		<media:content url="http://micaminogeek.files.wordpress.com/2007/08/debian-logo-weiss.png" medium="image" />
	</item>
		<item>
		<title>OMA in Symbian OS</title>
		<link>http://sysbrain.wordpress.com/2008/01/07/oma-in-symbian-os/</link>
		<comments>http://sysbrain.wordpress.com/2008/01/07/oma-in-symbian-os/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 10:19:18 +0000</pubDate>
		<dc:creator>Jabi</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Symbian]]></category>

		<guid isPermaLink="false">http://sysbrain.wordpress.com/2008/01/07/oma-in-symbian-os/</guid>
		<description><![CDATA[This Howto is to use Symbian Mobiles with Microsoft Outlook Mobile Access (OMA)
We Suppose that OMA server is installed and configured.
First we have to convert the Exchange certificate from extension .cer to extension .der to works in symbian OS. (certificates with .cer extension doesn´t work in symbian OS)
Download and install OpenSSL Software:
http://www.slproweb.com/download/Win32OpenSSL-0_9_7m.exe
Execute this commands in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sysbrain.wordpress.com&blog=2464679&post=3&subd=sysbrain&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This Howto is to use Symbian Mobiles with Microsoft Outlook Mobile Access (OMA)</p>
<p style="text-align:left;"><img class="size-thumbnail wp-image-6 alignright" title="686px-Symbian_OS_logosvg" src="http://sysbrain.files.wordpress.com/2008/01/686px-symbian_os_logosvg1.png?w=150&#038;h=59" alt="686px-Symbian_OS_logosvg" width="150" height="59" />We Suppose that OMA server is installed and configured.</p>
<p>First we have to convert the Exchange certificate from extension .cer to extension .der to works in symbian OS. (certificates with .cer extension doesn´t work in symbian OS)</p>
<p>Download and install OpenSSL Software:</p>
<p><a title="OpenSSL" href="http://www.slproweb.com/download/Win32OpenSSL-0_9_7m.exe" target="_blank">http://www.slproweb.com/download/Win32OpenSSL-0_9_7m.exe</a></p>
<p>Execute this commands in the shell to convert the certificate:</p>
<p>Convert CER (.crt .der) to PEM</p>
<p>openssl x509 -inform der -in &#8220;MYCERT.cer&#8221; -out &#8220;MYCERT.pem&#8221;</p>
<p>Convert PEM to DER</p>
<p>openssl x509 -outform der -in &#8220;MYCERT.pem&#8221; -out &#8220;MYCERT.der&#8221;</p>
<p>Copy and install the certificate with the extension .der to the mobile.</p>
<p>Download the software &#8220;Mail For Exchange&#8221; to <span style="cursor:pointer;">synchronize the mobile with the exchange server.</span></p>
<p><a title="MailForExchange" href="http://www.businesssoftware.nokia.com/mail_for_exchange_downloads.php" target="_blank">http://www.businesssoftware.nokia.com/mail_for_exchange_downloads.php</a></p>
<p>Install this software in the mobile and configure with the settings of the Exchange Server.</p>
<p>It Works!!.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sysbrain.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sysbrain.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sysbrain.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sysbrain.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sysbrain.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sysbrain.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sysbrain.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sysbrain.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sysbrain.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sysbrain.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sysbrain.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sysbrain.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sysbrain.wordpress.com&blog=2464679&post=3&subd=sysbrain&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sysbrain.wordpress.com/2008/01/07/oma-in-symbian-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93a03cd6437bb030fd893437e9aa30cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jabi</media:title>
		</media:content>

		<media:content url="http://sysbrain.files.wordpress.com/2008/01/686px-symbian_os_logosvg1.png?w=150" medium="image">
			<media:title type="html">686px-Symbian_OS_logosvg</media:title>
		</media:content>
	</item>
		<item>
		<title>Debian &#8220;Etch&#8221; + Asterisk + Asterisk-Addons + Zaptel + Libpri + mISDN + Asterisk-GUI</title>
		<link>http://sysbrain.wordpress.com/2008/01/07/hello-world/</link>
		<comments>http://sysbrain.wordpress.com/2008/01/07/hello-world/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 09:48:03 +0000</pubDate>
		<dc:creator>Jabi</dc:creator>
				<category><![CDATA[VoIP]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This Howto is to install Asterisk on a fresh Debian “Etch” system.
After download a netinstall image of Debian 4.0r1 and configure localization, language, partitions and so on, in the final steps, debian should now be asking you what packages you want installed.
Choose base system only.
After finish installation and first reboot, login with root and:
aptitude update
aptitude [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sysbrain.wordpress.com&blog=2464679&post=1&subd=sysbrain&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This Howto is to install Asterisk on a fresh Debian “Etch” system.<br />
After download a <a title="Debian Netinst" href="http://www.debian.org/CD/netinst/#netinst-stable" target="_self">netinstall image of Debian 4.0r1</a> and configure localization, language, partitions and so on, in the final steps, debian should now be asking you what packages you want installed.</p>
<p><em>Choose base system only</em>.</p>
<p>After finish installation and first reboot, login with root and:</p>
<p class="command">aptitude update<br />
aptitude upgrade</p>
<p class="command">reboot</p>
<p class="command">aptitude install ssh ntp</p>
<p>From here, the next steps were done from a ssh session with putty client.</p>
<h3><span style="color:#ff6600;"><span style="text-decoration:underline;">Compiling New Custom Kernel *** Optional ***</span></span></h3>
<p class="command">aptitude install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential</p>
<p class="command">cd /usr/src</p>
<p>wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2</p>
<p>tar xjf linux-2.6.*</p>
<p>ln -s /usr/src/linux-2.6.23.12 /usr/src/linux</p>
<p>cd /usr/src/linux</p>
<p>Copy the current kernel configuration to <span class="system">/usr/src/linux</span></p>
<p class="command">make clean &amp;&amp; make mrproper</p>
<p>cp /boot/config-`uname -r` ./.config</p>
<p>make menuconfig</p>
<p>In the configuration menu, we select &#8220;<span class="system">Load alternate configuration&#8230;</span>&#8221; and choose the config file that we have copy in the /usr/src/linux directory. <span class="system">/usr/src/linux/.config</span></p>
<p>We are going to modify some parameters in the kernel configuration:</p>
<p>In the subsection <span style="font-style:italic;">&#8220;Processor type and features&#8221;</span> we check:</p>
<p><span style="font-weight:bold;">&#8220;Enable IRQ balancing&#8221;</span> is <span style="font-weight:bold;">disabled</span><br />
<span style="font-weight:bold;">&#8220;Timer frequency&#8221;</span> change the value <span style="font-weight:bold;">250 Hz by 1000 Hz</span>.<br />
<span style="font-weight:bold;">&#8220;High Resolution Timer Option&#8221;</span> and <span style="font-weight:bold;">&#8220;HPET Timer Support&#8221;</span> as built-in.<br />
For users with NVidia SATA drives unchek <span style="font-weight:bold;">&#8220;Paravirtualization Support&#8221;</span>.</p>
<p>And under <span style="font-style:italic;">&#8220;Library Routines&#8221;</span> subsection, <span style="font-weight:bold;">&#8220;CONFIG_CRC_CCITT&#8221;</span> must be enabled.</p>
<p>When we had made this changes we save the configuration and exit.</p>
<p>Building the new .deb kernel and headers packages :</p>
<p class="command">make-kpkg clean<br />
fakeroot make-kpkg &#8211;initrd &#8211;append-to-version=-custom kernel_image kernel_headers</p>
<p>After the compilation will be two .deb packages under directory <span class="system">/usr/src/</span></p>
<p>Install the new packages.</p>
<p class="command">cd /usr/src<br />
dpkg -i linux-image-2.6.23.12-custom_2.6.23.12-custom-10.00.Custom_i386.deb<br />
dpkg -i linux-headers-2.6.23.12-custom_2.6.23.12-custom-10.00.Custom_i386.deb</p>
<p class="command">reboot</p>
<p>Test the new kernel is loaded.</p>
<p class="command">uname -a</p>
<p>The output must be something similar to &#8220;<span class="system">Linux asterisk 2.6.23.12-custom</span>&#8220;</p>
<p>*** Finish *** Optional *** Compiling Custom Kernel</p>
<h3><span style="text-decoration:underline;"><span style="color:#ff6600;">Go for dependencies&#8230;</span></span></h3>
<p class="command">aptitude install build-essential libcurl3-dev libvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-dev flex xsltproc</p>
<p>aptitude install linux-headers-`uname -r` g++ libncurses5-dev libnewt-dev libusb-dev subversion git-core</p>
<p>Downloading and untarring&#8230;</p>
<p class="command">cd /usr/src</p>
<p>wget http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz<br />
wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz<br />
wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz<br />
wget http://www.misdn.org/downloads/mISDN.tar.gz<br />
wget http://www.misdn.org/downloads/mISDNuser.tar.gz<br />
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.5.tar.gz</p>
<p>tar xvzf asterisk-1.4-current.tar.gz &amp;&amp; tar xvzf zaptel-1.4-current.tar.gz &amp;&amp; tar xvzf libpri-1.4-current.tar.gz &amp;&amp; tar xvzf mISDN.tar.gz &amp;&amp; tar xvzf mISDNuser.tar.gz &amp;&amp; tar xvzf asterisk-addons-1.4.5.tar.gz</p>
<h3><span style="text-decoration:underline;"><span style="color:#ff6600;">Installing Zaptel</span></span></h3>
<p class="command">cd /usr/src/zaptel-1.4*<br />
./install_prereq test<br />
./install_prereq install</p>
<p>./configure<br />
make<br />
make install<br />
make config<br />
modprobe ztdummy</p>
<h3><span style="color:#ff6600;"><span style="text-decoration:underline;">Installing Libpri</span></span></h3>
<p class="command">cd /usr/src/libpri-1.4*<br />
make &amp;&amp; make install</p>
<h3><span style="color:#ff6600;"><span style="text-decoration:underline;">Installing mISDN</span></span></h3>
<p class="command"><em>Note: The current version (1.1.7) not compile with the last kernel (2.6.23.12). The (2.6.18.10) is tested that works.</em></p>
<p>cd /usr/src/mISDN<br />
make<br />
make install<br />
cd /usr/src/mISDNuser/<br />
make &amp;&amp; make install</p>
<p>Configuring&#8230;</p>
<p class="command">mISDN scan<br />
mISDN config</p>
<p>This creates the file /etc/mISDN.conf which you should review and/or edit.</p>
<p class="command">vi /etc/mISDN.conf</p>
<p>If everything looks good, going to start mISDN</p>
<p class="command">mISDN start</p>
<p>and check everything is right,</p>
<p class="command">misdnportinfo</p>
<p>Running on startup&#8230;</p>
<p class="command">/usr/sbin/update-rc.d mISDN defaults 15 30</p>
<h3><span style="color:#ff6600;"><span style="text-decoration:underline;">Installing Asterisk</span></span></h3>
<p class="command">cd /usr/src/asterisk-1.4*<br />
./configure</p>
<p>The next step is not mandatory. For install core and extra sounds in different languages:</p>
<p class="command">make menuselect</p>
<p>select the core-sounds you would like to play and extra sounds. Exit with &#8220;x&#8221; to save.</p>
<p class="command">make<br />
make install<br />
make samples<br />
make config<br />
asterisk -vvvc<br />
stop now<br />
echo &#8220;ztdummy&#8221; &gt;&gt; /etc/modules</p>
<p>Note: If you make a mistake and/or fail compilation, you need to run:</p>
<p><span class="command">make clean</span> then <span class="command">./configure</span> and <span class="command">make install</span> again.</p>
<p>Going to reboot for test the system startup is correct.</p>
<p class="command">reboot</p>
<p class="command">asterisk -r<br />
exit</p>
<h3><span style="text-decoration:underline;"><span style="color:#ff6600;">Install Asterisk-Addons</span></span></h3>
<p class="command">cd /usr/src/asterisk-addons*</p>
<p>./configure &amp;&amp; make &amp;&amp; make install</p>
<p>make samples</p>
<h3><span style="text-decoration:underline;"><span style="color:#ff6600;">Install Asterisk-GUI</span></span></h3>
<p>If you have asterisk config files (no new install), backup it&#8230;</p>
<p class="command">cp -r /etc/asterisk /etc/asterisk.bak</p>
<p>Download and install Asterisk-GUI</p>
<p class="command">cd /usr/src<br />
svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui<br />
cd /usr/src/asterisk-gui<br />
./configure &amp;&amp; make &amp;&amp; make install<br />
make samples</p>
<p>Some tweaks to configuration files&#8230;</p>
<p class="command">cat &lt;&lt; EOF &gt;/etc/asterisk/http.conf<br />
[general]<br />
enabled=yes<br />
enablestatic=yes<br />
EOF</p>
<p>cat &lt;&lt; EOF &gt;/etc/asterisk/manager.conf<br />
[general]<br />
displaysystemname = yes<br />
enabled = yes<br />
webenabled = yes<br />
port = 5038<br />
;httptimeout = 60<br />
bindaddr = 0.0.0.0</p>
<p>[admin]<br />
secret = admin<br />
read = system,call,log,verbose,command,agent,config<br />
write = system,call,log,verbose,command,agent,config<br />
EOF</p>
<p>Checking configuration&#8230;</p>
<p class="command">make checkconfig</p>
<p>asterisk -r<br />
reload<br />
exit</p>
<p>Try, configure and enjoy your new system&#8230; with admin/admin login or your setup config&#8230;</p>
<p class="system">http://IPADDRESS:8088/asterisk/static/config/setup/install.html<br />
http://IPADDRESS:8088/asterisk/static/config/cfgbasic.html</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sysbrain.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sysbrain.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sysbrain.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sysbrain.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sysbrain.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sysbrain.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sysbrain.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sysbrain.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sysbrain.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sysbrain.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sysbrain.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sysbrain.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sysbrain.wordpress.com&blog=2464679&post=1&subd=sysbrain&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sysbrain.wordpress.com/2008/01/07/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/93a03cd6437bb030fd893437e9aa30cd?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jabi</media:title>
		</media:content>
	</item>
	</channel>
</rss>