Notes about setting up additional features on the XIPAR box
In my setup, I'm using XIPAR with EVB as my communications hub. This means it not only handles HAM communications. It handles my network routing/firewall, voice mail, HAM radio interface, and such. Here are some notes about my install with XIPAR:0.014
Original install w/slowband cable took about 15 to 18 hrs. Mostly download time, what can I say, I'm cheap and reasonably patient. Toast.net's speed test claims 68K, so bandwidth similar to 56K modem. Assuming my QOS is OK, that's likely good enough for one external remote channel, but not much more. Skype / Vontage work just fine.
My original hardware install was with one eth0 card, USBfob device, and a A400P01 from openvox.
After it settled down, I shutdown and installed eth1, then on the local shell ran system-config-network to configure the network. For a router eth1 needs to be static, not DHCP. Then I ran ifup eth1, and did the rest from a remote PC in a warmer friendlier environment. I like it this way because eth1 is internal 1 looks like I for internal, and 0 looks like outside.
From a remote PC on the internal side, I browsed to the IP address for this XIPAR setup, and EVB came up.
- To setup routing from webmin I selected networking --> network interface --> interfaces active at boot time --> and changed eth1 to be active at boot. I Selected eth1, and "apply selected interfaces". This allows the machine to route packets, however they need modification when routed from the internal to the external interface. So we need to setup the firewall as a NAT device to do this packet mangling.
- To setup the firewall from webmin I selected networking --> Linux firewall --> (2nd on list) Nat Device --> close to the top select "packet filtering", for input, output and forward set the default to accept. Select "apply configuration". You really should lock it down more than that. You really want the input default to be drop. Then have rules that allow traffic based on proper parameters. However, the above should get it functioning, with out adding any real security. I recommend more security.
- To setup a user, from webmin choose System --> users and groups --> create a new user.
- To setup ssh, from webmin choose Servers --> ssh server --> authentication --> allow root login NO. It's best for remote logins to be established by a user, then changed to super user status.
- To setup sendmail, from webmin choose Servers --> send mail server --> sendmail M4 configuration --> get SMARTHOST in there, Here's what mine looks like
define(`SMART_HOST',`smtp.metrocast.net') - Now ssh to it via putty or what have you. It will pause for a while, login with the user established above, the "su -" to become root. Now edit /etc/hosts to include your remote login IP address with a name. This will prevent the pause when login in with SSH. Normally SSH tries to resolve the incoming IP, but can't and has to wait until it times out. Adding it to hosts will make it resolve preventing the timeout. I installed these text editors yum install emacs joe
These are some of the changes I did to make it function as a router and allowing my network to function again. You may also want to setup DHCP. I have that on an internal machine, so I didn't setup that up here.
I'm currently ironing out bugs in my voice mail setup, and I'll likely post about that here in a bit, when time permits.
After I've got the basic features back, I plan to finish the installation instructions for the radio part.
FreePBX 2.5 update
I had updated to FreePBX 2.5 before I read the note that 2.4 works, and 2.5 isn't supported. Once you update you can't go back. Or at least I don't know how to go back. I also recommend you do not update to 2.5, but if you did, here are some notes about my experience.
I found 2.5 appeared unstable, things didn't work reliably, it worked flat out bad. Eventually I noticed asterisks was restarting every 30 seconds or so. So I started looking into how asterisk is stared, amportal is used, I found /usr/sbin/amportal calls /var/lib/asterisk/bin/freepbx_engine who calls /usr/sbin/safe_asterisk -U asterisk -G $AMPASTERISKGROUP and needs to be changed to /usr/sbin/safe_asterisk -U root -G $AMPASTERISKGROUP
That change opens asterisk as root, not the asterisk user. This will allow asterisk to stop crashing, and allows FreePBX to start working reliably again.
There appear to be other problems, EVB's system tab notes asterisk is stopped, however FreePBX notes asterisk is OK. There are a couple odds and ends like that, but they don't seem to be huge items.
audacity notes
Here are some notes about how to get audacity to install with Centos5 EVB. Audacity is handy for checking that you have basic audio working with the usbfob device.
Appears rpmforge won't be supporting audacity or will have limited support for audacity. Some more about it found here.
http://lists.rpmforge.net/pipermail/users/2008-September/001880.html
The basic problem is that other software needs wxGTK2.8 However the current Audacity package uses 2.6, not 2.8. So to get it working, we either need Audacity updated, or an older version of wxGTK. So if you tried to install it already #yum remove wxGTK audacity, The do the following found in this thread.
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=16273 Do this
wget http://dag.wieers.com/rpm/packages/wxGTK/wxGTK-2.6.3-1.el5.rf.i386.rpm
then
rpm -i wxGTK-2.6.3-1.el5.rf.i386.rpm
then
yum install audacity
Thanks for the Example
Jared, It was interesting working with you to try and make this station fully functional with such limited bandwidth. I think we would have got there but trying to do this all on a 400MHz PC just didn't work out. Like it says in the Installation Manual, 800MHz, P3 or better required. I look forward to getting past this with you. 73, Steven Henke, W9SH