<?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>The Loomiverse</title>
	<atom:link href="http://www.loomiverse.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.loomiverse.net</link>
	<description>The universe according to Loom</description>
	<lastBuildDate>Wed, 24 Mar 2010 03:48:12 +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>Parental Controls &#8211; Wrapping things up</title>
		<link>http://www.loomiverse.net/2009/09/29/parental-controls-wrapping-things-up</link>
		<comments>http://www.loomiverse.net/2009/09/29/parental-controls-wrapping-things-up#comments</comments>
		<pubDate>Mon, 28 Sep 2009 16:09:59 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Parental Controls]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=144</guid>
		<description><![CDATA[It must have lasted for nearly two weeks.  With a few caveats, I found my MacBook to be quite usable with Parental Controls switched on. With a little tuning, the Application restrictions were fine, except of course for the fact that I couldn&#8217;t use XCode, but I guess that developers aren&#8217;t really in the Parental [...]]]></description>
			<content:encoded><![CDATA[<p>It must have lasted for nearly two weeks.  With a few caveats, I found my MacBook to be quite usable with Parental Controls switched on.</p>
<p><span id="more-144"></span>With a little tuning, the Application restrictions were fine, except of course for the fact that I couldn&#8217;t use XCode, but I guess that developers aren&#8217;t really in the Parental Controls target audience.</p>
<p>I never really got into the time restrictions properly, whenever I exceeded my limits, I just typed in the admin password, and gave myself more time.  The system is entirely workable however, it just wasn&#8217;t the point of my experiment.</p>
<p>The Mail and I assume Chat restrictions worked quite well.  Despite the intrusive nature of the process, if we&#8217;re talking about managing a child online, then the system works exactly as I&#8217;d want it to.</p>
<p>Like all web filters, the content filters leave a little to be desired, I couldn&#8217;t read a page on the supposed dangers of Soy Milk, I assume, because it mentioned the effect Soy Milk is supposed to have on ones libido.  But I could successfully search for breast tattoos on google images, and get to see naked chicks, some were even goths as per my previous post.  What really let the content filtering down was it&#8217;s complete failure to handle SSL &#8211; All SSL sites are blocked by default, and the error messages and silent failures are anything but helpful.  Some more investigation is warranted here, I can&#8217;t help but think that the OS is running a transparent proxy to check the pages, which would mean that it would work with any installed browser, which would be a good thing (bring on Firefox or Opera) but makes handling SSL difficult.</p>
<p>Overall, the experience wasn&#8217;t nearly as bad as I expected if Apple can overcome the SSL problems, then I can see how Parental Controls could be a useful tool.  Of course, the experiment did reinforce something that I already new &#8211; It is only a tool, and no substitute for effective communication between the Parent and the Child.</p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2009/09/04/parental-controls-and-xcode">Parental Controls and XCode</a></li>
<li><a href="http://www.loomiverse.net/2009/09/04/parental-controls-first-impressions">Parental Controls &#8211; First Impressions</a></li>
<li><a href="http://www.loomiverse.net/2009/09/02/osx-parental-controls">OSX Parental Controls</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2009/09/29/parental-controls-wrapping-things-up/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parental Controls and XCode</title>
		<link>http://www.loomiverse.net/2009/09/04/parental-controls-and-xcode</link>
		<comments>http://www.loomiverse.net/2009/09/04/parental-controls-and-xcode#comments</comments>
		<pubDate>Fri, 04 Sep 2009 06:46:48 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Parental Controls]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=133</guid>
		<description><![CDATA[My last post touched on getting XCode running for a non-administrator user, using the WorkGroup manager.  Unfortunately, it isn&#8217;t that easy when the user in question is restricted to a subset of available applications with Parental Controls. I was able to create an XCode group as a member of Developer Tools and Developer Documentation.  Adding [...]]]></description>
			<content:encoded><![CDATA[<p>My last post touched on getting XCode running for a non-administrator user, using the WorkGroup manager.  Unfortunately, it isn&#8217;t that easy when the user in question is restricted to a subset of available applications with Parental Controls.<span id="more-133"></span></p>
<p>I was able to create an <em>XCode</em> group as a member of <em>Developer Tools</em> and <em>Developer Documentation</em>.  Adding <em>Loom at Work</em> to that group got the XCode environment working for that user, even though the user is a managed user.</p>
<p>The <em>Loom at Work</em> account has no restrictions on aplication execution though, and that is more significant than I first realised.    I&#8217;ll go as far as saying it should have been obvious.  <em>Loom</em> is heavily restricted when compared to <em>Loom at Work</em>, so much so that even attempting to compile with XCode fails.  <em>Loom</em> can&#8217;t run any of the tools necessary to compile code.  Adding the tools progressively into the allowed applications list eventually gets a successful compile. But permission is needed to even run the new executable.</p>
<p>It seems that XCode and Application restrictions are not going to work nicely together &#8211; ever.  Like I said, it should have been obvious.</p>
<p>Until I can work out how to address the problem, it looks like no software development for <em>Loom.</em></p>
<p><em> </em></p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2009/09/29/parental-controls-wrapping-things-up">Parental Controls &#8211; Wrapping things up</a></li>
<li><a href="http://www.loomiverse.net/2009/09/04/parental-controls-first-impressions">Parental Controls &#8211; First Impressions</a></li>
<li><a href="http://www.loomiverse.net/2009/09/02/osx-parental-controls">OSX Parental Controls</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2009/09/04/parental-controls-and-xcode/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parental Controls &#8211; First Impressions</title>
		<link>http://www.loomiverse.net/2009/09/04/parental-controls-first-impressions</link>
		<comments>http://www.loomiverse.net/2009/09/04/parental-controls-first-impressions#comments</comments>
		<pubDate>Fri, 04 Sep 2009 06:00:38 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Parental Controls]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=121</guid>
		<description><![CDATA[As nonsensical as the statement is - there is absolutely nothing that I do on my MacBook that I disapprove of - I still feel as if I need to change my behaviour because someone is constantly looking over my shoulder.  ]]></description>
			<content:encoded><![CDATA[<p><strong>Getting things sorted</strong></p>
<p>I expected that the process of taking away my membership of the Administrator group would lead to problems running some of my applications, I wasn&#8217;t wrong.  The two applications that I&#8217;ve run into problems with so far are Wireshark and XCode.<span id="more-121"></span>I use Wireshark quite a lot at work, and the problems running it relate more to the fact that my recent installation of Snow Leopard changed things than to turning Parental Controls on.  On OSX, Wireshark uses the /dev/bpf* devices to enable traffic sniffing, and by default these are owned by the root:wheel use and group with only the root user being able to access them.</p>
<pre>sudo wireshark</pre>
<p>will get wireshark running as a standard user, but :</p>
<ol>
<li>that is bad,and</li>
<li>my &#8220;Loom at Work&#8221; account isn&#8217;t in the wheel group anyway</li>
</ol>
<p>The solution that Wireshark users on OSX adopt is to use a ChmodBPF startup item, which changes the ownership and permissions of the devices at each boot.  Normally, this would set the group for the devices to the <em>Administrators</em> group, in my case, I have created a <em>wireshark</em> group, and added both the <em>Parent</em> and <em>Loom at Work</em> users.</p>
<p>XCode was a bit more complicated. Pretty much everything works as a non-admin user, except for running and debugging code, for this a special permission is required.  A permission that is granted to the normally hidden &#8220;Developer Tools&#8221; group, a group which the Administrators group is, not surprisingly, a member of.</p>
<p>Managing Users and groups at this level with OSX&#8217;s DirectoryService is not exactly straightforward, at least it wasn&#8217;t straightforward for me initially.  Once I found the Workgroup Manager application, which is part of the <a title="http://support.apple.com/downloads/Server_Admin_Tools_10_6" href="http://">OSX Server Tools</a>, things were simple.  It appears that there are two developer related groups, <em>Developer Tools</em> and <em>Developer Documentation</em>.  My soultion was to create an <em>XCode</em> group, which is a member of both of those groups, and add both of my managed users to that Group.</p>
<p>The Workgroup Manager application gives me a lot more insight into exactly how flexible OSX can be when it comes to account restrictions.  It seems to me that the standard &#8220;Parental Controls&#8221; feature is actually just a wrapper for a much more complete user management system.</p>
<p>With that housekeeping aside, I was free to move on to appreciating the experience of being a &#8220;Manager User&#8217;.  Keep in mind that , as this is a closed process, I control all three of the <em>Loom</em>, <em>Loom at Work</em> and <em>Parent</em> accounts.</p>
<p>The following observations relate specifically to the <em>Loom</em> account.</p>
<p><strong>Application Restrictions</strong></p>
<p>The default set of restricted applications suggested by OSX is reasonably sane.  In addition to the default set, I had  given myself access to Photoshop, Corel PhotoPaint and a couple of other imaging related applications right from the start.  No access to the Preferences panel is annoying, but on a well set up machine, it shouldn&#8217;t be a problem.</p>
<p>After less than an hour of  doing &#8220;stuff&#8221; under these restrictions, I found that I needed &#8211; really needed &#8211; access to Terminal, playing with *nix based devices will do that do you.</p>
<p>The other  thing that I can&#8217;t live without is <a title="http://www.secondlife.com" href="http://">SecondLife</a>, but that&#8217;s just me.</p>
<p><strong>Content restrictions</strong></p>
<p>Initially, web access was not very successful.  As I mentioned in my previous post, https is a problem, and not only because it needs parental approval every time you visit a new site.  Normally, when the content filter decides I can&#8217;t see a page, I get a nice message telling me that that is the case.  Seraching for &#8220;Naked Goth Chicks&#8221; on google images results in the following.</p>
<p><img class="alignnone size-full wp-image-123" title="NakedGothChicks" src="http://www.loomiverse.net/wp-content/uploads/2009/09/NakedGothChicks.jpg" alt="NakedGothChicks" width="477" height="328" /></p>
<p>I can click the Add Website and get <em>Parent</em> to let me keep browsing,  <em>Parent</em> can choose to let me through just once, or anytime I like.</p>
<p>When I try to connect to https://www.google.com, I get this result instead</p>
<p><img class="alignnone size-full wp-image-124" title="HTTPSgoogle" src="http://www.loomiverse.net/wp-content/uploads/2009/09/HTTPSgoogle.jpg" alt="HTTPSgoogle" width="477" height="328" /></p>
<p>Not nearly as helpful.  <em>Parent</em> needs to add the https://google.com to the approved sites list using the Parental Controls preferences pane.</p>
<p>If that was the end of the problem, it wouldn&#8217;t be so bad.  www.secondlife.com is an example of the difficulty that can come from this limitation.  The SecondLife portal allows a user to login and perform various account management.  the portal itself is all HTTP, but much of the traffic is HTTPS traffic.  Only, the traffic doesn&#8217;t go to www.secondlife.com, it instead goes somewhere like https://load-balancer18.lindenlab.com.   This conversation silently fails, and since the user gets no feedback about what failed, it is very hard to fix easily.  The load-balancer18.lindenlab.com will turn up in the blocked sites log &#8211; more on that later &#8211; but simply adding it to the allowed sites list from there doesn&#8217;t help, since next time, it could be a different machine in the load balancer pool.  The solution is to add https://lindenlab.com to the allowed sites list, since this allows access to all of the sub-domains as well.  There are a lot of sites that use SSL only for important parts of a session, and serve static content from entirely different servers and domains.</p>
<p>Despite these hiccups, the system isn&#8217;t too bad, it hasn&#8217;t really hampered my day to day browsing.  I have already had a few experiences of being  allowed access to one page in a site, while being blocked from a page that it links to.  In each case that this has occurred, checking the logs and viewing the blocked content using <em>Parent</em> has led to pages containing some sort of adult content.  Of course, we are relying here on someone else&#8217;s definition of adult here, which is a subjective thing.  The ability to easily grant access to blocked content on a case by case basis does a good job of negating the effect of this subjectivity.</p>
<p><strong>Email/iChat</strong></p>
<p>I haven&#8217;t been able to use iChat at all since I switched Parental controls on.  I used to use iChat connected to a Messenger account through a Jabber gateway.  The Parental Controls don&#8217;t support Jabber, and so, I have no messaging.  Microsoft Messenger is installed on my MacBook, and although I haven&#8217;t tried it, I&#8217;m guessing that I could use it unfiltered to chat with people, if only my <em>Parent</em> would let me.  The Parental Controls for iChat only support MobileMe, Mac.com and AIM accounts. I expect that the experience is similar to using Mail.</p>
<p>I deliberately opted for a clean slate approach when I switched on the email Parental Controls.  Mail and iChat are both limited to approved contacts only, and I left the initial contacts list empty.  I did switch on the approval mechanism though.  Every email with a non-approved email address (and I assume iChat contact) received by <em>Loom</em> triggers an email to <em>Parent</em>.  The email sent includes the full text of the email received.  Trying to send an email to a non-approved address prompts <em>Loom</em> to &#8220;Request Permission&#8221; first.  The  emails received by the <em>Parent</em> present a toolbar allowing <em>Parent </em>to approve (or dis-approve) of the contact for <em>Loom</em>.  When approved, the mail which was previously hidden from <em>Loom</em> is visible on the next mail refresh.</p>
<p>I&#8217;m not sure how the process work work with another mail client tough &#8211; say Outlook &#8211; the approval messages seem to use custom Apple headers.</p>
<p>Even though I am both <em>Loom</em> and <em>Parent</em>, I can&#8217;t begin to explain how invasive the process feels to me.  Even though <em>Parent</em> only sees the first email received from any given contact, the fact that they see even that email bothers me.  As a parent, I can see how important this is, and would like to see an &#8220;Approve this eMail&#8221; button in there next to the &#8220;Approve Contact&#8221; button.  Clearly a dialog between <em>Parent </em>and <em>Loom</em> needs to occur here.</p>
<p>The other benefit to the Parental Controls is that all of the Junk eMail rules get processed by <em>Parent</em>&#8216;s mail account, and the <em>Loom</em> will only ever get parentally-approved spam.</p>
<p><strong>Time restrictions</strong></p>
<p>Initially, I thought that the time restrictions that I imposed were quite reasonable &#8211; for me at least.  3 hours a day on weekdays, seemed like plenty.  The 10pm cut-off seemed reasonable.</p>
<p>15 minutes before time runs out, either total time on the computer, or the curfew kicks in, <em>Loom</em> is prompted to add more time.  Naturally, the <em>Parent</em> needs to enter a password here to allow a time extension.  It is important to note that time logged <strong>seems</strong> to be what counts here, so even if only a screen-saver is running, I am still using my allocated time.  I need to do some testing to confirm this however.  In the meantime, I have set a 15 minute automatic logout to minimise time loss when I wander away for an hour or two.</p>
<p>I have found myself repeatedly adding time to <em>Loom</em>&#8216;s session, and allowing myself to remain logged in past curfew, explaining to my inner <em>Parent</em> &#8211; quite successfully &#8211; that I am in th middle of something important, last night, it was reconfiguring my asterisk box.</p>
<p>The time extensions aside, I have found that these self-imposed limits are changing the way I use the computer &#8211; I am forced to prioritise my time.  I am planning to stop arbitrarily awarding myself more time &#8211; likely to be a failed plan &#8211; after I extend my weekend time allocation out to 7 or 8 hours.</p>
<p><strong>Logging</strong></p>
<p>OSX Parental Controls logs activity into four categories :</p>
<ul>
<li>Websites Visited,</li>
<li>Websites Blocked,</li>
<li>Applications and</li>
<li>iChat</li>
</ul>
<p>They track exactly what the names imply.  The Websites visited log gives a mechanism to block future access to a site, and the Websites Blocked log allows a site to be approved.  Both logs can be sorted by date or site, and filtered by time.  Any of the visited pages can be easily opened <em>Parent</em>.  The Applications log can be similarly sorted and filtered, and simply records how many times an application was used and how much time was spent using that application.  I can see potential for application level time restrictions here.  Until I work out how I&#8217;m going to test the iChat filters, I can&#8217;t report on how the logging works.</p>
<p>I&#8217;m a little surprised that there isn&#8217;t some kind of Mail log as well, detailing how many messages were sent to which contacts, possibly showing the content of those messages.</p>
<p>Like the Mail contact approval process, the website logs can be incredibly invasive.  Everything that I have looked at, including my failed searches for Naked  Goth Chicks are logged there.  That is of course the point.  Like all of these tools, they will only work well if they are part of a dialog between <em>Parent</em> and the <em>Loom</em>.</p>
<p>As <em>Parent</em> the logs give me enough information to talk to <em>Loom</em> about what it is that I am doing on the web, what <em>Parent </em>doesn&#8217;t get to see is what <em>Loom</em> actually looked at on Facebook.</p>
<p><strong>Even more Parental Controls</strong></p>
<p>My current obsession with Parental<strong> </strong>Controls and OSX led me to a search for more information on the subject.  So far I have found two more applications which include additional controls.</p>
<ul>
<li>the DVD Player and</li>
<li>iTunes</li>
</ul>
<p>The DVD player has a per account Parental Control option which requires an Administrator password to activate and deactivate.  Once active, <em>Parent </em>needs to approve each DVD to be viewed by <em>Loom</em>.  Approval can be granted for all future uses of that DVD or for a single session only.  Whilst I have activated this feature, since I don&#8217;t watch many DVD&#8217;s on my MacBook, it probably won&#8217;t affect me greatly.</p>
<p>iTunes allows access to Various types of media to be restricted, and also enables content filtering on the iTunes Store.  I have allowed all content types for <em>Loom</em>, but restricted iTunes store access to explicit material, and filtered Movies, TV shows and Applications to Australian  PG, PG and 12+ respectively.  I can only see the explicit content block and the restriction on iPhone applications actually affecting me since I have never used the other services.  Interestingly, the settings appear to have no effect on the iPhone Apps that I have already downloaded, or on the music already in my library.</p>
<p><img class="alignnone size-full wp-image-128" title="iTunesParent" src="http://www.loomiverse.net/wp-content/uploads/2009/09/iTunesPrent.jpg" alt="iTunesParent" width="381" height="346" /></p>
<p><strong>Next Steps</strong></p>
<p>I am still using <em>Parent</em> fairly regularly, <strong> </strong>fine tuning <em>Loom</em>&#8216;s web access, and approving contacts.  I expect that things will settle down on that front in the next few days.  It is the feeling that everything I do is being monitored that I am having trouble getting used to.</p>
<p>As nonsensical as the statement is &#8211; there is absolutely nothing that I do on my MacBook that I disapprove of &#8211; I still feel as if I need to change my behavior because someone is constantly looking over my shoulder.</p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2009/09/29/parental-controls-wrapping-things-up">Parental Controls &#8211; Wrapping things up</a></li>
<li><a href="http://www.loomiverse.net/2009/09/04/parental-controls-and-xcode">Parental Controls and XCode</a></li>
<li><a href="http://www.loomiverse.net/2009/09/02/osx-parental-controls">OSX Parental Controls</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2009/09/04/parental-controls-first-impressions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSX Parental Controls</title>
		<link>http://www.loomiverse.net/2009/09/02/osx-parental-controls</link>
		<comments>http://www.loomiverse.net/2009/09/02/osx-parental-controls#comments</comments>
		<pubDate>Wed, 02 Sep 2009 11:57:38 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Parental Controls]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=112</guid>
		<description><![CDATA[Ok, so at 2 years old, my daughter isn&#8217;t exactly surfing the web yet.  But I have been thinking about how we&#8217;re going to deal with the safe internet usage thing when she does.  More generally, how will we deal with the reasonable amount of time on the computer thing. The Australian governments recent Clean [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so at 2 years old, my daughter isn&#8217;t exactly surfing the web yet.  But I have been thinking about how we&#8217;re going to deal with the safe internet usage thing when she does.  More generally, how will we deal with the reasonable amount of time on the computer thing.</p>
<p><span id="more-112"></span>The Australian governments recent Clean Feed internet trials have also got me thinking about exactly how the tools that are supposed to be there for users actually are.</p>
<p>Like many workplaces, mine implements web and spam filtering software and firewalls which very rarely actually get in the way of me doing my job.  Of course, I also know how to completely bypass them when they won&#8217;t let me look at <a href="http://www.2600.com">www.2600.com</a> because it&#8217;s a hacking site.  Or spend more than an hour on other sites because the filter thinks that they aren&#8217;t work related.</p>
<p><strong>The plan</strong></p>
<p>About four months ago, I switched from a Linux based laptop to a MacBook &#8211; that is probably the subject of a blog post in itself &#8211; suffice it to say that I am now happily using OS X 10.7 which happens to include what appears to be a decent set of parental controls.  Today I decided to switch them on, and subject myself to &#8220;Parental Control&#8221;</p>
<p>Of course, it isn&#8217;t as easy as simply turning the controls on, setting the defaults and leaving it at that.  Aside from seeing what it is like to live in a restricted environment, I still need to be able to do work at work &#8211; and while that doesn&#8217;t necessarily mean a local admin account on OSX, it does mean I can&#8217;t use some of the more interesting Parental Control features.</p>
<p><strong>The setup</strong></p>
<p>With the above in mind, I have set up 3 accounts.  My original &#8220;Loom&#8221; account, a &#8220;Loom at Work&#8221; and a &#8220;Parent&#8221;.  I have also created a dedicated email address for the Parent account, and configured Mail accordingly.  The &#8220;Parent&#8221; account is the only member of the Administrators group, and is used to manage Parental Controls for the other accounts.  The &#8220;Loom at Work&#8221; account is standard user account that is restricted to logging in between the hours of 7am and 6pm Monday to Friday.</p>
<p>The &#8220;Loom&#8221; account is much more restricted :</p>
<ul>
<li> The set of usable applications is limited to Parental Controls default</li>
<li>The dictionary profanity filter is turned on</li>
<li>The automatic adult website filter is turned on (I tried the restrict to a limited set option, but it was too painful)</li>
<li>Mail and iChat are both limited to approved contacts only.</li>
<li>I am limited to 3 hours per day computer time on weekdays and 4 hours per day on weekends</li>
<li>&#8220;Bedtime&#8221; is set to 10pm-7am for &#8220;school-nights&#8221; and midnight-7am for weekends</li>
</ul>
<p>Since I also have the password to the Administrator account, it is easy for me to change these settings if I want to, my intent is to change them only if I need to.</p>
<p><strong>Using applications</strong></p>
<p>If something is on the approved list, it will run, if not, I get prompted to allow it to run once, or to be permanently added to the allowed applications list.  My intent is to use &#8220;Allow Once&#8230;&#8221; the first time I receive this message for an application and &#8220;Always Allow&#8230;&#8221; should I receive them regularly.  I expect that the list of approved applications should settle down after a few days.</p>
<p><strong>Mail and iChat approval</strong></p>
<p>The list of approved contacts is empty to begin with.  Every time an email is sent to or received from an address not on the list, an email is sent to the admin account to request approval.  This email includes the full text of the one to be sent or received.  Again, I intend to approve all contacts.  I&#8217;m only bothering to do this to get a feel for the process.</p>
<p><strong>Time Extensions</strong></p>
<p>There is provision for the Parent to allow logins beyond the imposed time restrictions.  At this stage I am not planning to allow any activity outside of the restrictions, the exception will be allowing the &#8220;Loom at Work&#8221; account to log in if needed.</p>
<p><strong>The experience so far</strong></p>
<p>After 3 hours, the only issue I have found is that the content filter blocks all https traffic to domains which aren&#8217;t explicitly added to the whitelist. When the domains in question are embedded in other pages, the popup &#8220;get an administrator to approve this&#8221; button doesn&#8217;t work, and the preferences pane is needed.</p>
<p>More significantly though, the idea of blocking all secure traffic because it is secure bothers me.</p>
<p><strong>Where to next</strong></p>
<p>A day is hardly enough time to draw conclusions, I hope to have more to report in a day or two.</p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2009/09/29/parental-controls-wrapping-things-up">Parental Controls &#8211; Wrapping things up</a></li>
<li><a href="http://www.loomiverse.net/2009/09/04/parental-controls-and-xcode">Parental Controls and XCode</a></li>
<li><a href="http://www.loomiverse.net/2009/09/04/parental-controls-first-impressions">Parental Controls &#8211; First Impressions</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2009/09/02/osx-parental-controls/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Asterisk &#8211; Part 4</title>
		<link>http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4</link>
		<comments>http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4#comments</comments>
		<pubDate>Wed, 11 Feb 2009 23:41:01 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=99</guid>
		<description><![CDATA[So now we have some local extensions, a SIP connection to Pennytel and an IAX trunk to another trixbox. The the magic which ties this all together all happens in extensions.conf As in my previous posts, I have created a file called extensions_local.conf under /etc/asterisk and included it in my extensions.conf file using #include extensions_local.conf [...]]]></description>
			<content:encoded><![CDATA[<p>So now we have some local extensions, a SIP connection to Pennytel and an IAX trunk to another trixbox.  The the magic which ties this all together all happens in extensions.conf</p>
<p>As in my previous posts, I have created a file called extensions_local.conf under /etc/asterisk and included it in my extensions.conf file using</p>
<p><code>#include extensions_local.conf</code></p>
<p>This file is broken into a series of sections &#8211; called contexts.  There should be a section for each &#8220;context=&#8221; line in the sip_local.conf  and iax_local.conf files.</p>
<p>In my case, they are</p>
<ul>
<li>from-internal</li>
<li>from-remote</li>
<li>incoming-call</li>
</ul>
<p><span id="more-99"></span><br /> The context= lines match to the sections in the extesnsions_local.conf file, and tell Asterisk where to start processing rules when someone picks up an extension, or dials in.</p>
<p>Starting with the last context first, when we recieve a call on the SIP line from PennyTel<br /> <code>[incoming-call]<br /> exten =&gt; _X.,1,Dial(SIP/1000&amp;SIP/1001)</code></p>
<p>The [square brackets] mark the beginning of a section</p>
<p>the &#8220;exten =&gt; &#8221; consists of three parts, a pattern to match, an execution order and a command to execute.  The pattern is &#8220;_X.&#8221;  which matches all incoming numbers.  Since the is only one rule here, it will get executed. The command is &#8220;Dial(SIP/1000&amp;SIP/1001)&#8221;  This tells asterisk to Call extensions 1000 and 1001 and connect the call to the first one which answers.</p>
<p>The next section is [from-remote] &#8211; calls from our IAX2 trunk to another Asterisk server</p>
<p><code>[from-remote]<br /> include =&gt; incoming-call</code></p>
<p>This section is fairly straight forward the &#8220;include =&gt;&#8221; line tells asterisk to include all of the rules under incoming-call in this section as well.  So Calls from out PennyTel number or friendly Asterisk box will cause both of our local extensions to ring.</p>
<p>Now the from-internal section.  These rules are processed when someone picks up one of our extensions and starts dialling.</p>
<p><code>[from-internal]<br /> exten =&gt; 1000,1,Dial(SIP/1000)<br /> exten =&gt; 1001,1,Dial(SIP/1001)<br /> include =&gt; to-remote<br /> include =&gt; dial-out</code></p>
<p>The first two lines allow the extensions to call each other.  The includes are there to make the file more manageable, I could have kept everything in one section, but I prefer to break things down by function.</p>
<p>The final two sections are below.</p>
<p><code>[dial-out]<br /> exten =&gt; 000,1,Dial(SIP/PennyTel/000)<br /> exten =&gt; _0011,1,Dial(SIP/PennyTel/${EXTEN:4})<br /> exten =&gt; _0NXXXXXXXX,1,Dial(SIP/PennyTel/61${EXTEN:1})<br /> exten =&gt; _ZXXXXXXX,1,Dial(SIP/PennyTel/613${EXTEN})<br /> exten =&gt; _1300XXXXXX,1,Dial(SIP/PennyTel/61${EXTEN})<br /> exten =&gt; _1800XXXXXX,1,Dial(SIP/PennyTel/61${EXTEN})<br /> </code></p>
<p><code>[to-remote]<br /> exten =&gt;_8XXXX,1,Dial(IAX2/ToRemote/${EXTEN:1})</code></p>
<p>The pattern matching rules are quite powerful, more detail can be found <a href="http://www.voip-info.org/wiki/view/Asterisk+Dialplan+Patterns">here</a>.</p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2008/10/23/configuring-asterisk-part-3">Configuring Asterisk &#8211; Part 3</a></li>
<li><a href="http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2">Configuring Asterisk &#8211; Part 2</a></li>
<li><a href="http://www.loomiverse.net/2008/09/29/configuring-asterisk-part-1">Configuring Asterisk &#8211; Part 1</a></li>
<li><a href="http://www.loomiverse.net/2008/09/27/openwrt-and-asterisk-my-new-pabx">OpenWRT and Asterisk &#8211; my new PABX</a></li>
<li><a href="http://www.loomiverse.net/2007/07/20/it-begins">It begins&#8230;</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Asterisk &#8211; Part 3</title>
		<link>http://www.loomiverse.net/2008/10/23/configuring-asterisk-part-3</link>
		<comments>http://www.loomiverse.net/2008/10/23/configuring-asterisk-part-3#comments</comments>
		<pubDate>Thu, 23 Oct 2008 02:50:19 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=84</guid>
		<description><![CDATA[OK, writing this one quickly in my lunch hour. Connecting to Asterisk boxes together using IAX2. Basically, I&#8217;m creating two IAX2 connections between two boxes, one in each direction. The code below goes in iax.conf &#8211; or if you&#8217;ve been following my other posts iax_local.conf. Replace the fields listed below with whatever is appropriate for [...]]]></description>
			<content:encoded><![CDATA[<p>OK, writing this one quickly in my lunch hour.</p>
<p>Connecting to Asterisk boxes together using IAX2.</p>
<p><span id="more-84"></span>Basically, I&#8217;m creating two IAX2 connections between two boxes, one in each direction.  The code below goes in iax.conf &#8211; or if you&#8217;ve been following my other posts iax_local.conf.</p>
<p>Replace the fields listed below with whatever is appropriate for you.  Usernames and passwords can be whatever you like, they only exist within Asterisk.</p>
<p>And of course, swap the local and remote stuff around for one end of the connection <img src='http://www.loomiverse.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><em>LOCALNAME</em> : username for the remote connection to use when connecting to the local connection<br /> <em>LOCALPASSWORD</em> : A local password for the remote connection to use when connecting to the local connection</p>
<p><em>REMOTENAME</em> : username for the local connection to use when connecting to the remote connection<br /> <em>REMOTEPASSWORD</em> : password for the local connection to use when connecting to the remote connection<br /> <em>REMOTE.ASTERISK.BOX</em> : The ip for name of the remote asterisk box (I use <a href="http://www.dyndns.org">dyndns.org</a>)</p>
<p>If the Asterisk servers are behind firewalls, then the approriate port (4569) will need to be forwarded</p>
<p><code>[<em>LOCALNAME</em>]<br /> type=user<br /> secret=<em>LOCALPASSWORD</em><br /> nat=yes<br /> context=from-remote</p>
<p> [ToRemote]<br /> username=<em>REMOTENAME</em><br /> type=peer<br /> secret=<em>REMOTEPASSWORD</em><br /> qualify=yes<br /> nat=yes<br /> host=<em>REMOTE.ASTERISK.BOX</em><br /> context=from-remote<br /> </code></p>
<p>My next post will cover dialling rules which should make everything work together nicely.</p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4">Configuring Asterisk &#8211; Part 4</a></li>
<li><a href="http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2">Configuring Asterisk &#8211; Part 2</a></li>
<li><a href="http://www.loomiverse.net/2008/09/29/configuring-asterisk-part-1">Configuring Asterisk &#8211; Part 1</a></li>
<li><a href="http://www.loomiverse.net/2008/09/27/openwrt-and-asterisk-my-new-pabx">OpenWRT and Asterisk &#8211; my new PABX</a></li>
<li><a href="http://www.loomiverse.net/2007/07/20/it-begins">It begins&#8230;</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2008/10/23/configuring-asterisk-part-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Asterisk &#8211; Part 2</title>
		<link>http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2</link>
		<comments>http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2#comments</comments>
		<pubDate>Thu, 09 Oct 2008 06:56:35 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=69</guid>
		<description><![CDATA[In Part 1 I looked at how to add extensions to an Asterisk configuration. If all went well, we have two extensions 1000 and 1001 which are able to dial each other and not much else While this is incredibly exciting &#8211; for about 5 minutes &#8211; it isn&#8217;t actually very useful. In this article, [...]]]></description>
			<content:encoded><![CDATA[<p>In <a title="Configuring Asterisk - Part 1" href="/2008/09/29/configuring-asterisk-part-1" target="_self">Part 1</a> I looked at how to add extensions to an Asterisk configuration.  If all went well, we have two extensions 1000 and 1001 which are able to dial each other and not much else</p>
<p>While this is incredibly exciting &#8211; for about 5 minutes &#8211; it isn&#8217;t actually very useful.  In this article, I&#8217;ll be adding the first of two <em>Trunks</em> to Asterisk.</p>
<p><span id="more-69"></span>Again, my terminology is what works for me, I recognise that some people may disagree with this and suggest that I should use the propper terms for everything &#8211; I even agree with people who say that kind of thing &#8211; but it doesn&#8217;t mean that I&#8217;m going to do it.  As far as what I&#8217;m doing here goes, a Trunk is any connection to the outside world.  I&#8217;ll be setting up a connection to a VOIP provider using SIP, later, I&#8217;ll and an IAX2 connection to another ASterisk box &#8211; run by a friend of mine.</p>
<p><strong>Connecting to a VOIP provider.</strong></p>
<p>I use <a title="Pennytel" href="http://www.pennytel.com" target="_blank">PennyTel</a> for my VOIP provider, I live in Australia, they&#8217;re in Australia, and I&#8217;m happy with their offering.  In particular, cheap calls, and a normal phone number that supports multiple dial-in lines.</p>
<p>PennyTel let me connect using SIP, so the configration goes in the same sip_local.conf file that we created in Part 1.  If you wanted, you could use #includes in the cip.conf to seperate extensions and trunks into two seperate files &#8211; in fact I may do that myself some time.</p>
<p>Basically, we add the following blocks into sip_local.conf to create an incoming and an outgoing connection for PennyTel.</p>
<p><code>[613nnnnnnnn]<br /> username=nnnnnnnn<br /> type=user<br /> secret=PASSWORD<br /> qualify=yes<br /> nat=yes<br /> fromuser=613nnnnnnnn<br /> context=from-trunk<br /> canreinvite=no</code></p>
<p><code> </code></p>
<p><code>[PennyTel]<br /> username=613nnnnnnnn<br /> type=peer<br /> secret=PASSWORD<br /> qualify=yes<br /> nat=yes<br /> insecure=very<br /> host=sip.pennytel.com<br /> disallow=all<br /> context=from-trunk<br /> canreinvite=no<br /> canredirect=no<br /> </code></p>
<p>And finally so PennyTel knows where to find us when a call comes in, add the following to the <em>[General]</em> section of <em>sip.conf</em></p>
<p><code>register=613nnnnnnnn:PASSWORD@sip.pennytel.com/613nnnnnnnn<br /> </code></p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4">Configuring Asterisk &#8211; Part 4</a></li>
<li><a href="http://www.loomiverse.net/2008/10/23/configuring-asterisk-part-3">Configuring Asterisk &#8211; Part 3</a></li>
<li><a href="http://www.loomiverse.net/2008/09/29/configuring-asterisk-part-1">Configuring Asterisk &#8211; Part 1</a></li>
<li><a href="http://www.loomiverse.net/2008/09/27/openwrt-and-asterisk-my-new-pabx">OpenWRT and Asterisk &#8211; my new PABX</a></li>
<li><a href="http://www.loomiverse.net/2007/07/20/it-begins">It begins&#8230;</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Configuring Asterisk &#8211; Part 1</title>
		<link>http://www.loomiverse.net/2008/09/29/configuring-asterisk-part-1</link>
		<comments>http://www.loomiverse.net/2008/09/29/configuring-asterisk-part-1#comments</comments>
		<pubDate>Mon, 29 Sep 2008 10:43:31 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=43</guid>
		<description><![CDATA[Tools like Asterisk@HOME and FreePBX make the process of configuring an Asterisk box incredibly easy. They have pretty web-based user interfaces, downloadable modules, and generally just make things easy to do. If anyone has managed to get a package to run freePBX on OpenWRT sorted, I&#8217;d love to hear about it. Until then though, it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Tools like Asterisk@HOME and FreePBX make the process of configuring an Asterisk box incredibly easy.  They have pretty web-based user interfaces, downloadable modules, and generally just make things easy to do.  If anyone has managed to get a package to run freePBX on OpenWRT sorted, I&#8217;d love to hear about it.  Until then though, it&#8217;s all done through the files. Which is not as difficult as you might imagine, once you get the hang of it.</p>
<p><span id="more-43"></span></p>
<p>I break everything in Asterisk into one of three categories &#8211; I&#8217;m sure someone will tell me I&#8217;m wrong on this &#8211; Extensions, Trunks and The Rules.  These categories have may or may not be related to do with the names of the files that they are configured from, they are just the way I think about this stuff.</p>
<p><strong>Extensions</strong> &#8211; These are the actual telephone(s) that are connected to your PBX</p>
<p><strong>Trunks</strong> &#8211; these are the connections from your PBX to the outside world and/or other peoples PBX&#8217;s</p>
<p><strong>The Rules</strong> &#8211; these are the bits which make everything work.</p>
<p>The easiest place to start is probably setting up extensions.  In my case, I&#8217;m using a <a href="http://www.linksys.com/servlet/Satellite?c=L_Product_C2&amp;childpagename=US%2FLayout&amp;cid=1146582252412&amp;pagename=Linksys%2FCommon%2FVisitorWrapper" target="_blank">Linksys PAP2T</a> to provide two local extensions.  The set up of each of these is a two step process :</p>
<ol>
<li>Configure asterisk to take a SIP connection</li>
<li>Configure the PAP2T to connect to Asterisk</li>
</ol>
<p>My Asterisk box is running on an Accton MR3201a at 192.168.0.30, my PAP2T is configured to use DHCP, usually 192.168.0.50.  To configure the Asterisk end of the connection ssh into the MR3201 and edit sip.conf using vi.  First though a note on Asterisk configuration files.</p>
<p>Asterisk has a whole bunch of configuration files, most of them contain stuff that I&#8217;ll probably never need to worry about or change.  Fortunately Asterisk lets me include one config file from another.  When I want to change or add to sip.conf for example, I have just added the line</p>
<p><code>#include sip_local.conf</code></p>
<p>to the end of the file, and make all my changes in sip_local.conf  so that they are easier to find and manage.  Anyway, back to connecting the PAP2T to Asterisk &#8230;</p>
<pre><code>~&gt; ssh root@192.168.0.30
root@192.168.0.30's password:

BusyBox v1.4.2 (2007-07-23 05:59:27 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (7.07) -----------------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:~# cd /etc/asterisk/
root@OpenWrt:/etc/asterisk# ls
agents.conf             extensions.conf         modules.conf
alarmreceiver.conf      extensions_demo.conf    musiconhold.conf
asterisk.conf           extensions_local.conf   osp.conf
cdr.conf                features.conf           privacy.conf
cdr_custom.conf         iax.conf                queues.conf
cdr_manager.conf        iax_local.conf          rtp.conf
codecs.conf             iaxprov.conf            sip.conf
dnsmgr.conf             indications.conf        sip_local.conf
enum.conf               logger.conf             sip_notify.conf
extconfig.conf          manager.conf            sip_registrations.conf
extensions.ael          misdn.conf
root@OpenWrt:/etc/asterisk# vi sip_local.conf</code></pre>
<p>I&#8217;m going to assume that you know how to use vi &#8211; if you don&#8217;t try installing joe, which at least gives a help screen when you press Ctrl-K Ctrl-H</p>
<p>&lt;code&gt;ipkg install joe&lt;/code&gt;</p>
<p>The first entry in my sip_local.conf is</p>
<p><code>[1000]<br /> type=friend<br /> secret=PASSWORD<br /> qualify=yes<br /> nat=yes<br /> host=dynamic<br /> context=from-internal<br /> canreinvite=no<br /> callerid=device &lt;1000&gt;<br /> </code></p>
<p>The [ ] is a section header in most configuration files, in this case [1000] sets the SIP user name.</p>
<ul>
<li><strong>type=friend</strong> means that this device will be able to send and receive calls, other options are <em>peer</em> and <em>user</em></li>
<li><strong>secret=PASSWORD</strong> is pretty obvious</li>
<li><strong>qualify=yes</strong> tells asterisk to regularly ping the connection to make sure it&#8217;s latency isn&#8217;t to high for VOIP operations</li>
<li><strong>nat=yes</strong> tells asterisk that the device is behind a NAT firewall</li>
<li><strong>host=dynamic</strong> tells asterisk that the device may change its IP address, and will tell us where it is.  You could also put a static IP address here.</li>
<li><strong>context=from-internal</strong><strong> </strong>tells Asterisk what context to start in when processing The Rules &#8211; we&#8217;ll get to that later</li>
<li><strong>canreinvite=no </strong>does something that I understand but can explain in one sentence <a href="http://www.voip-info.org/wiki-Asterisk+sip+canreinvite">try here for more detail</a></li>
<li><strong>callerid=device &lt;1000&gt; </strong>sets the caller id for the device</li>
</ul>
<p>I have two entries like this set up, one for each of the two channels on the PAP2T</p>
<p>To set the PAP2T, login to the web interface as adiministrator and set the SIP proxy to the address of the MR3201a (192.168.0.30) in my case, the User name to 1000 and the password to the one specified above.  this is obviously repeated for each channel as well.</p>
<p>Now, plug in a telephone (or two) and asuming everything is ok, nothing at all will happen &#8211; since no extensions are set up yet.</p>
<p>To test that things are working, add the following to extensions_local.conf (remember to add a #include to extensions.conf as well)</p>
<p><code>[from-internal]<br /> exten =&gt; 1000,1,Dial(SIP/1000)<br /> exten =&gt; 1001,1,Dial(SIP/1001)<br /> </code></p>
<p>Now pick up extension 1000 and dial 1001, extension 1001 should ring &#8211; you may need to get Asterisk to reload it&#8217;s configuration before this will work.</p>
<p>The next post will explain how to set up a SIP trunk to Pennytel, and after that, we&#8217;ll get into some detail with The Rules</p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4">Configuring Asterisk &#8211; Part 4</a></li>
<li><a href="http://www.loomiverse.net/2008/10/23/configuring-asterisk-part-3">Configuring Asterisk &#8211; Part 3</a></li>
<li><a href="http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2">Configuring Asterisk &#8211; Part 2</a></li>
<li><a href="http://www.loomiverse.net/2008/09/27/openwrt-and-asterisk-my-new-pabx">OpenWRT and Asterisk &#8211; my new PABX</a></li>
<li><a href="http://www.loomiverse.net/2007/07/20/it-begins">It begins&#8230;</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2008/09/29/configuring-asterisk-part-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenWRT and Asterisk &#8211; my new PABX</title>
		<link>http://www.loomiverse.net/2008/09/27/openwrt-and-asterisk-my-new-pabx</link>
		<comments>http://www.loomiverse.net/2008/09/27/openwrt-and-asterisk-my-new-pabx#comments</comments>
		<pubDate>Sat, 27 Sep 2008 02:09:56 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=11</guid>
		<description><![CDATA[risk enable
 /etc/init.d/asterisk start
All that remains is to configure trunks and extensions. Which will be in a later post. Configuration files for asterisk are located in /etc/asterisk
Possibly Related Posts:
Configuring Asterisk - Part 1
Machines (Virtual)
It begins…

 
« Urrrrrrgh
Configuring Asterisk - Part 1 »

 
Write a comment
Logged in as loom. Logout.
Comment:
 
11Submit60e3736004Random Images
PICT8557.jpg 
PICT3953.jpg 
PICT8654.jpg 
PICT8351.jpg 
PICT8571.jpg 
PICT3939.jpg 
PICT3958.jpg 
pict0115.jpg 
 
 
Blogroll
Dylan’s Blog
Moondriven
[m i a o w] the cat
My Sites
My Photography Site
My Twitter account
Tags
Asterisk Blogging HOPE Linux OpenWRT Photography QEMU VMWare VOIP XEN
 
September 2008
M
T
W
T
F
S
S
« Jul      
  1  2  3  4  5  6  7
  8  9  10  11  12  13  14
  15  16  17  18  19  20  21
  22  23  24  25  26  27  28
  29  30   
Meta
Site Admin
Log out
Entries RSS
Comments RSS
WordPress.org
 Newest Image 
pict0131.jpgViews: 7
 Most Viewed Image 
PICT3658.jpgViews: 274
 Picture of the Day 
PICT3963.jpgViews: 37
 Picture of the Week 
PICT8602.jpgViews: 41
 Picture of the Month 
PICT5589.jpgViews: 38
 

 
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running <a href="http://www.asterisk.org/">Asterisk</a> on my desktop for about a year now.  A few months ago I acquired two <a href="http://wiki.openwrt.org/OpenWrtDocs/Hardware/Fon/Fonera">Accton MR3201A</a>&#8216;s configured for OpenMesh using <a href="http://openwrt.org/">OpenWRT</a>. I finally got around to installing Asterisk on one of them a couple of weeks ago, and this is a record of how I did it.</p>
<p>To give you an idea of the size of the MR3201, her is a picture of one</p>
<p><wpg2>12933|300px</wpg2></p>
<p>Yes, that little box really is running a full-blown PABX</p>
<p>Anyway, enough of that, how to set it up</p>
<p><span id="more-11"></span></p>
<p>Using Linux on a PC with a free ethernet port run the following:</p>
<p><code>wget http://www.open-mesh.com/flashing/easyflash<br /> chmod +x easyflash<br /> wget<br /> http://downloads.openwrt.org/kamikaze/7.07/atheros-2.6/<br /> openwrt-atheros-2.6-vmlinux.lzma<br /> wget<br /> http://downloads.openwrt.org/kamikaze/7.07/atheros-2.6/<br /> openwrt-atheros-2.6-root.squashfs<br /> </code></p>
<p>Directly connect to the MR3201a using a standard cat5 patch lead &#8211; don&#8217;t power the MR3201a yet</p>
<p>Execute the following:<br /> <code>sudo ./easyflash eth0 openwrt-atheros-2.6-root.squashfs openwrt-atheros-2.6-vmlinux.lzma<br /> </code></p>
<p>Now connect power to the MR3201a.</p>
<p>Wait for a while, this will replace whatever firmware is on it with OpenWRT 7.07</p>
<p>The clean firmware install uses an IP of 192.168.1.1 the following should get the local ethernet to work<br /> <code>sudo /sbin/ifconfig eth0 192.168.1.2/24</code></p>
<p>By default OpenWRT runs a telnet server until a password has been set at which point it switches to an ssh server.</p>
<p><code>telnet 192.168.1.1<br /> login as root<br /> passwd<br /> </code></p>
<p>The network configuration is stored in /etc/config/network mine looks like this&#8230;</p>
<p><code># Copyright (C) 2006 OpenWrt.org<br /> config interface loopback<br /> option ifname   lo<br /> option proto    static<br /> option ipaddr   127.0.0.1<br /> option netmask  255.0.0.0<br /> config interface lan<br /> option ifname   eth0<br /> option type     bridge<br /> option proto    static<br /> option ipaddr   192.168.0.30<br /> option netmask  255.255.255.0<br /> option gateway  192.168.0.1<br /> option dns      192.168.0.1<br /> </code></p>
<p>A restart will set the device to it&#8217;s new IP<br /> <code>reboot</code></p>
<p>now to update the ipkg repositories and get some packages installed</p>
<p>The file /etc/ipkg.conf has a list of repositories in it.  I use :</p>
<p><code>src release http://downloads.openwrt.org/kamikaze/7.07/atheros-2.6/packages<br /> src packages http://downloads.openwrt.org/kamikaze/packages/mips<br /> src extras http://downloads.openwrt.org/kamikaze/7.07/packages/mips<br /> dest root /<br /> dest ram /tmp</code></p>
<p>To get asterisk installed, use the following ipkg commands<br /> <code>ipkg update<br /> ipkg upgrade<br /> ipkg install asterisk<br /> ipkg install asterisk-sounds</code></p>
<p><code> </code></p>
<p><code>/etc/init.d/asterisk enable<br /> /etc/init.d/asterisk start<br /> </code></p>
<p>All that remains is to configure trunks and extensions.  Which will be in a later post.  Configuration files for asterisk are located in /etc/asterisk</p>
<p>EDIT: Asterisk will fail to start when trying to load the zaptel channel driver.  we don&#8217;t need this, so add the following to /etc/asterisk/modules.conf</p>
<p><code>noload =&gt; chan_zap.so ; Don't load zaptel<br /> </code></p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2009/02/12/configuring-asterisk-part-4">Configuring Asterisk &#8211; Part 4</a></li>
<li><a href="http://www.loomiverse.net/2008/10/23/configuring-asterisk-part-3">Configuring Asterisk &#8211; Part 3</a></li>
<li><a href="http://www.loomiverse.net/2008/10/09/configuring-asterisk-part-2">Configuring Asterisk &#8211; Part 2</a></li>
<li><a href="http://www.loomiverse.net/2008/09/29/configuring-asterisk-part-1">Configuring Asterisk &#8211; Part 1</a></li>
<li><a href="http://www.loomiverse.net/2007/07/20/it-begins">It begins&#8230;</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2008/09/27/openwrt-and-asterisk-my-new-pabx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Urrrrrrgh</title>
		<link>http://www.loomiverse.net/2008/07/14/urrrrrrgh</link>
		<comments>http://www.loomiverse.net/2008/07/14/urrrrrrgh#comments</comments>
		<pubDate>Mon, 14 Jul 2008 03:00:49 +0000</pubDate>
		<dc:creator>loom</dc:creator>
				<category><![CDATA[HOPE]]></category>
		<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.loomiverse.net/?p=8</guid>
		<description><![CDATA[Two days to go before I have to spend 20,000 hours on a plane, and I&#8217;m getting a cold. It isn&#8217;t The Flu, this is an important distinction. I am not getting the flu. We went shopping this morning, just some last minute things, Australia/US power adapter and a USB flash card reader. I also [...]]]></description>
			<content:encoded><![CDATA[<p>Two days to go before I have to spend 20,000 hours on a plane, and I&#8217;m getting a cold.  It isn&#8217;t The Flu, this is an important distinction.  I am not getting the flu.<br /> We went shopping this morning, just some last minute things, Australia/US power adapter and a USB flash card reader.  I also got a 4GB SanDisk Extreme III CompactFlash card for the DSLR.</p>
<p>And most importantly, a box of Codral Cold &amp; Flu tablets, for the Cold that I&#8217;m getting, since I am not getting the Flu.</p>

<p><strong>Possibly Related Posts:</strong></p>
<ul>
<li><a href="http://www.loomiverse.net/2008/07/09/so-this-is-it">So this is it</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://www.loomiverse.net/2008/07/14/urrrrrrgh/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
