Saturday, June 13. 2009Centos Asterisk / Freepbx Shorewall Firewall install scriptWednesday, June 10. 2009Asterisk / Freebx on Centos 5.3
Tuesday, June 9. 2009Asterisk / Freepbx ClarkConnect 5.0
Wednesday, April 30. 2008What does a man in his mid-30s need with a minibike?
Sunday, December 16. 2007Convert your DWL-800AP+ Wireless Repeater to a DWL-810+ Wireless Bridge
Tuesday, December 4. 2007Easy EchoLink Interface for the Icom Mobiles
Catch me on node 360935 12-16-07 Just wanted to show how small you can build the interface: Monday, November 5. 2007OpenTracker APRS Experiment
Monday, October 22. 2007High-Resolution Remote Monitoring Sytem
Wednesday, October 17. 2007Build a Soekris / m0n0wall Firewall Appliance
Sunday, September 23. 2007La Fonera, La Serial Port
Tuesday, September 18. 2007Icom Repeater Housing/Power Supply Kits Available!
CLICK HERE FOR DETAILS Saturday, July 7. 2007The $10 Network CameraI was digging through a box of junk and found an old Logitech Quickcam Express. I started to throw it away, but wanted to see just what could be done with the archaic device. A little google-searching turned up a link to "webcamserver" which is a small Linux based program that allows you to view the Quickcam from a web browser. The installation is straight forward using the proper Linux Quickcam drivers. I wrote the install script for Centos, but you could modify it for other Linux flavors. 1) Download the Centos4 "Single Server CD" (it's 580 megs). 2) Install the "Minimal" software packages. 3) yum -y update && reboot After the reboot, plug in the Quickcam to the USB port and check to see if the system recognizes it by entering lsusb at the linux prompt. You should see the Logitech camera listed. If it does not show up, fix the problem before continuing. 4) wget http://www.prestonmoore.com/images/ezwebcam.sh 5) sh ezwebcam.sh The Quickcam driver installation asks a bunch of questions. I just hit "Enter" for all of the prompts. 6) nano +10 /var/www/html/webcam.html Change "http://localhost:8888" to the IP of your server "http://xxx.xxx.xxx.xxx:8888" Now open a web browser on a network computer and enter this line => http://xxx.xxx.xxx.xxx/webcam.html (the IP of the machine with the cam server for the "xxx") Remember the browser must be Java enabled for the applet to run. You should have a live webcam running like this. The default frame rate is set to one frame per second. You can change this by entering: nano +11 /var/www/html/webcam.html Change the FPS value="1" to FPS value="40" (this will set the Quickcam to use maximum frame rate) Almost forgot to mention webcamserver is started by issuing webcamsever -s at the prompt. Check webcamserver -h for a list of settings. Need a cam? The Quickcams are all over ebay for $5- $10. 11-9-07 I noticed on a new Centos 5 install the script failed for some reason. If you are having problems successfully executing the script just use the "cut and paste" method. Here is the contents of the "ezwebcam.sh": yum -y install gcc httpd kernel-devel libjpeg-devel cd /usr/src/ wget http://easynews.dl.sourceforge.net/sourceforge/qce-ga/qc-usb-0.6.5.tar.gz tar xvfz qc-usb-0.6.5.tar.gz cd qc-usb-0.6.5 ./quickcam.sh echo "modprobe quickcam" >> /etc/rc.d/rc.local modprobe quickcam cd /usr/src/ wget http://umn.dl.sourceforge.net/sourceforge/webcamserver/webcamserver-0.50.tar.gz tar xvfz webcamserver-0.50.tar.gz cd webcamserver-0.50 ./configure make make install mv /usr/src/webcamserver-0.50/src/client/webcam.html /var/www/html/ mv /usr/src/webcamserver-0.50/src/client/applet.jar /var/www/html/ echo "webcamserver -s" >> /etc/rc.d/rc.local service httpd start chkconfig httpd on webcam_server -s Wednesday, May 23. 2007New Product!Tuesday, February 6. 2007Homemade MP3 playerYeah...your iPod is cool, but does it have 160 gigs? This MP3 player is not exactly homemade, but just about. The mainboard is a kit from Natiem Electronics I picked up in my travels. The firmware is based on an old program by Nasif Akand called ZipAmp. I can no longer find any information or working links to the ZipAmp project. If you want to see what the ZipAmp code is all about click here to download the zip file. The manual can be downloaded by clicking here. Saturday, December 9. 2006Centos wireless for $5![]() I was at Microcenter the other day an noticed they were selling Gigafast USB Wireless adapters for $5.00 after rebate. I bought one after checking to make sure it was linux compatible. I got home and found the chipset was acutally "zd1215", not the 1211 like the driver info showed. I also found that the driver would not compile on my Centos 4.4 system. I was able hammer out the problems with some help from theloveoflinux. I have only tested this on the Gigafast dongle, but it should work for any 1211b chipset. cd /root/ wget http://www.prestonmoore.com/images/usbwifi sh usbwifi That should do it for the driver installation. The configuration will take some experimentation, but it is not that difficult. I followed the guide written by Ward Mundy here. This is all I had to do to get my system running. netconfig --gateway=192.168.1.1 --ip=192.168.1.77 --nameserver=192.168.1.1 --netmask=255.255.255.0 --device=wlan0 service network restart then I add the following line to /etc/rc.local file: iwconfig wlan0 mode Managed essid "COHNET" key 8367b179c997675f4696969696 That's it. Your system will now connect on boot. The rebate on the Gigafast USB wifi adapter ends 12/31/2006 Sunday, November 26. 2006Asterisk/Freepbx basic Centos Install Guide6-13-09 ![]() I was looking through the web stats and saw that the Freepbx on Centos guide is still very popular. I guess people are getting back to the basics and really don't need all the extras. I updated the guide to install the latest stable releases of Asterisk and FreePBX along with making it executable for easier installation. I tested the script several times and all appears to be working fine. Here we go: 1) Download the Centos "Single Server CD" (it's 580 megs). 2) Install the "Minimal" software packages. 3) yum -y update && reboot 4) wget http://prestonmoore.com/images/guide.txt 5) sh guide.txt That should do it. Reboot and you should have a working system. Enjoy UPDATE 7-6-07 I have had a ton email requesting that I update the script. Here is the new version, but there is a bug in the freepbx 2.2.2 installer that will add a couple of steps to the install. I read the bug is fixed in the yet to be released 2.3 version. Until then we have to add a couple of steps. Anyway, the software packages are the latest as of 7-6-07. 1) Download the Centos "Single Server CD" (it's 580 megs). (I tested this on Centos 5 and it works fine) 2) Install the "Minimal" software packages. 3) yum -y update && reboot 4) wget http://prestonmoore.com/images/guide070607.txt 5) sh guide070607.txt You might see errors when you get to the freepbx installtion. Just continue anyway. Also, dont reboot when the script is finished. Continue to step 6. 6) chown root:asterisk /etc/amportal.conf 7) asterisk (may have to press "enter" to get to the prompt again) 8.) cd /usr/src/freepbx We have to run the installler again 9) ./install_amp Your done. Like I said, not pretty, but it does work. Thursday, November 23. 2006How to keep track of your servers uptimeUptimed is a simple program that allows you to track the uptime of your server. It is easy to install and works great. ![]() Here's how: cd /tmp wget http://podgorny.cz/uptimed/releases/uptimed-0.3.9.tar.gz tar xvfz uptimed-0.3.9.tar.gz cd uptimed-0.3.9 ./configure make make install Now issue the following: uptimed -b uprecords You should see a display of your current uptime similar to the above image. Now we want the program to start at boot, so per the INSTALL doc in the package: nano /etc/rc.sysinit ---add the following to the end of the file echo "Creating unique uptime daemon bootid..." /usr/local/sbin/uptimed -b nano /etc/rc.local ---add the following echo "Starting uptime daemon..." /usr/local/sbin/uptimed There are other settings available in the config file. You need to move the file to /etc/ cp /tmp/uptimed-0.3.9/etc/uptimed.conf-dist /etc/uptimed.conf Happy T-day Adding a LCD display to a ClarkConnect server![]() Adding an LCD display to your ClarkConnect server is very easy. This project assumes you have basic soldering skills and a working knowledge of command-line linux. If your not handy with a soldering iron, and don't care to learn, you can purchase a kit. The LCD for this project is driven by LCD4Linux software. Hardware You are going to need a Hitachi HD44780 compatible module. These modules are available in different colors and sizes from many sources. I purchased mine from 411 Technology Services and have nothing but good things to say about them. 411 Technology includes a CD with every order with software, diagrams, specs, and schematics that are very helpful. I am not going to "re-invent the wheel" here and instruction on hardwiring the module is available from several websites. I followed the instruction provided by Overclockers Austrailia with a few personal modifications. If the soldering scares you then purchase the kit I mentioned earlier which has the added benefit of a frame designed to fit into a drive bay. Before you continue, make sure you plug the module into the computer to test to see if it is working. When you plug the assembly into the parallel port your display should show a series of horizonal bars. This is a sign your wiring is correct and the display is not dead. Software From the command prompt: apt-get update apt-get install cc-devel cd /tmp cvs -d:pserver:anonymous@lcd4linux.cvs.sourceforge.net:/cvsroot/lcd4linux login <--just hit return when prompted for a password cvs -z9 -d:pserver:anonymous@lcd4linux.cvs.sourceforge.net:/cvsroot/lcd4linux co lcd4linux cd lcd4linux ./configure make make install That's it for installing LCD4Linux software. That was the easy part, the tricky part is the configuration file . I have modified the "lcd4linux.conf" file for use with the 411 Tech Systems LCD module to get you started. This config file should work for other "generic HD44780" modules as well. cd /etc/ wget http://prestonmoore.com/images/lcd4linux.conf chmod 600 lcd4linux.conf Now you are ready testing. Cross your fingers and issue the following command: lcd4linux -Fvv With luck you should see the "default" layout displayed on your LCD. If you don't, you have some troubleshooting to do. I would first check the bios settings concerning the parallel port. I am using the "AT" setting versus the "ps/2" setting on my Dell Optiplex computers. If you are given the bios choice of EPP, ECP, or SPP then select SPP(Standard Parallel Port). If you are still having problems post them in the forum or check around for a solution. You got it working and now you want LCD4Linux to run in the background. Issue the following: lcd4linux (shows splash screen) lcd4linux -q (suppresses splash screen) Add this to the bottom of your /etc/rc.local file to make display start on boot: echo "Starting LCD4Linux..." /usr/local/bin/lcd4linux -q LCD4Linux uses "widgets" to display various functions. You can make your own such as this one I made to display used memory: Widget RAMused { class 'Text' expression (meminfo('MemTotal')-meminfo('MemFree'))/1024 prefix 'RAM ' postfix '' width 8 precision 0 align 'R' update tick } I guess you are getting the hang of it now. Good luck! Anyone else with some interesting widgets please add to comments ![]() Friday, October 20. 2006ClarkConnect / Asterisk PBX Implementation![]() I have been using the Asterisk PBX and the FreePBX GUI on my ClarkConnect gateway for some time now with great success. I recently upgraded to CC 4.0 and have concluded the system works as well or better than it did on the 3.2 version. During my experimentation I wrote an install script to quickly install Asterisk and FreePBX onto the ClarkConnect gateway. At the time, I was working off a "cut and paste" guide written by Samy Antoun and decided to make an executable script. The result was cc-freepbx(for CC3.2) and cc-freepbx40(for CC4.0) which I recently released on several VOIP online forums. The scripts have proven to be very popular judging by the number of downloads. The following guide will assist you in the minor tweaking necessary after initial intallation. What you get... - ClarkConnect 4.0 (Community or Enterprise) - Asterisk 1.2.14 - Zaptel 1.2.12 (running "ztdummy" module) - Libpri 1.2.4 - Addons 1.2.5 - Sounds 1.2.1 - FreePBX 2.1.3 Note that I am running the Zaptel dummy timing module. I have never used any of the hardware cards and I personally use a cheap ATA I bought on ebay. I will leave the hardware card experimentation to those who are inclined. There are a few addons/mods that I included that I use to make the system more user friendly. - an updated index.html page - vnStat network monitor w/ web interface - Asterisk "phpconfig" GUI - FreePBX additional "missing modules" - PHPSysinfo - password protection for FOP, Netstats, PHPconfig, & Sysinfo - Additional Music On Hold Mp3 files - probably other mods I can't think of right now. Getting started... 1) Install ClarkConnect 4.0 making sure you selected the Web Server, Mail Server, and Database modules. 2) After installation you should be presented with the console menu screen. Press ALT+F4 and login with "root" and your password. 3) At the prompt issue the following commands: wget http://www.prestonmoore.com/images/cc-freepbx40 sh cc-freepbx40 At this point the script will begin downloading and installing the software from different sources. You will be prompted to configure Freepbx. Leave everything as default except you will need to set you ip address [xx.xx.xx.xx] and pick a password [passw0rd]. The last prompt will ask you to pick a password for the Flash Panel, Net-stats, etc. The intstallation is complete and it will reboot. Post-install configuration... Login to ClarkConnect and set the Mysql password. The rest of the configs can be done from the console. nano +73 /var/www/html/admin/modules/phpmyadmin/config.default.php change "passw0rd" to your CC Mysql password you entered above. nano +37 /etc/amportal.conf (you should see AMPWEBADDRESS=youripadd) remove your ip address (there should be nothing past the "=" mark. nano +34 /var/www/html/panel/opserver.cfg remove the ip from webhostname= (like above) sensors-detect If you motherboard supports monitoring, configure lm-sensors by following the on-screen instructions.(you will need to reboot after configuring) Change the address in the following files to your CC box. You can use an IP or FQDN (ie. asterisk.pointclark.net) nano /var/webconfig/htdocs/admin/freepbx.php nano /var/webconfig/htdocs/admin/fop.php nano /var/webconfig/htdocs/admin/ari.php You will need to configure your firewall. It should look similar to this if you want remote access. Please contact me with comments, questons or additions. 10-21-2006 I updated the scripts to include the lastest Asterisk packages. I started a forum to support any issues, suggestions, etc.
(Page 1 of 1, totaling 20 entries)
|