- Adtran TA924 PRI Conversion – Routing Inbound DIDs to FXS Ports or via a SIP Trunk to Asterisk and Allowing Bi-Directional Communications Between the Two
- Adtran Total Access TA924 – SIP Configuration for Asterisk
- Asterisk – How to Host a PRI Circuit with a Sangoma Card
- Asterisk – Modular Dialplan
- Asterisk Dialplan Module – stdexten
- BackupExec 2012 – How to Limit CPU Usage and Disk I/O on RALUS (Or Any Other Process and It’s Child Processes) with Cron Jobs
- BackupExec 2012 Linux Agent SP1 Patch Update – Ubuntu Fix
- Bash Script – An Alternative to Logrotate.d for Asterisk Log Files
- Bash Script – Auto-Repair an Array of MySQL Database Servers
- Bash Script – Backup All MySQL Databases to Separate Files
- Bash Script – Convert a Batch of WAV Files to SLINEAR Format for Asterisk Hold Music
- Bash Script – Log Concurrent Asterisk Calls to MySQL and Other Useful One-Liners
- Bash Script – Move Asterisk Call Files into Spool Directory
- Bash Script – Move Files into Subdirectories Based on Modified Date – OR – Moving Ntop Netflow Dumps into Subdirectories by Date
- Bash Script – OpenMCU-ru Service Monitor -OR- Monitor and Automatically Restart a Service Upon Failure
- Bash Script – Pcapsipdump Spool Directory File Rotation – OR – Rotate Directories Based on YYYYMMDD Format
- Bash Script – Script Based MySQL Table Replication on an Array of Slaves
- Bash Script – Split a Variable into an Array with Carriage Return Line Feed as the Delimiter
- Bash Script – Sync a File to an Array of Hosts
- Carrier Access Adit 600 – Reset to Factory Defaults
- Cisco SPA500S Excel Sidecar Template
- Firefox – Version 33 Update Causes Certificate Error in Webmin
- Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
- Install BackupExec 2012 Agent on Debian 3.0 Kernel
- Install MySQL Activity Report from Source
Table of Contents - Linux
Most Popular - Linux
- Ubuntu Desktop – Run X11vnc Server at Startup 3,293 views
- pcapsipdump – Dump SIP Signalling and RTP Streams Per Call Leg into Separate Pcap Files 1,346 views
- Adtran TA924 PRI Conversion – Routing Inbound DIDs to FXS Ports or via a SIP Trunk to Asterisk and Allowing Bi-Directional Communications Between the Two 1,257 views
- Linux – How to Backup or Restore a Disk Image from an FTP Server 1,248 views
- Adtran Total Access TA924 – SIP Configuration for Asterisk 1,059 views
- Bash Script – Split a Variable into an Array with Carriage Return Line Feed as the Delimiter 996 views
- Startup Script for OpenMeetings Open-Source Video Conferencing Server 908 views
- Install BackupExec 2012 Agent on Debian 3.0 Kernel 848 views
- Bash Script – An Alternative to Logrotate.d for Asterisk Log Files 801 views
- Bash Script – Log Concurrent Asterisk Calls to MySQL and Other Useful One-Liners 793 views
- Asterisk Dialplan Module – stdexten 741 views
- MySQL Script – Alter/Convert All Tables in a Database from MyISAM to InnoDB 468 views
- Manually Restore a Clonezilla Image When Destination Partition is Smaller than the Original 437 views
- BackupExec 2012 Linux Agent SP1 Patch Update – Ubuntu Fix 407 views
- Linux – Policy-Based Routing Enables the Use of Multiple IP Default Gateways 401 views
- Bash Script – Convert a Batch of WAV Files to SLINEAR Format for Asterisk Hold Music 385 views
- Ubuntu – Icecast2 Startup Script with Ices2 Support 382 views
- Bash Script – OpenMCU-ru Service Monitor -OR- Monitor and Automatically Restart a Service Upon Failure 336 views
- BackupExec 2012 – How to Limit CPU Usage and Disk I/O on RALUS (Or Any Other Process and It’s Child Processes) with Cron Jobs 329 views
- Bash Script – Move Asterisk Call Files into Spool Directory 283 views
- Bash Script – Pcapsipdump Spool Directory File Rotation – OR – Rotate Directories Based on YYYYMMDD Format 278 views
- Install MySQL Activity Report from Source 276 views
- Bash Script – Script Based MySQL Table Replication on an Array of Slaves 236 views
- Ubuntu Server 14.04 – Disable IPv6 140 views
- Bash Script – Auto-Repair an Array of MySQL Database Servers 124 views
Here’s a cheap ass script to tar up and dump all of your MySQL databases to separate files using the Debian system maintenance account. Sure there’s plenty of room for improvement here, but hey, it gets the job done and is perfect for a midnight cron job.
Let’s keep this short and sweet, here’s how to run x11vnc server on startup with your Raspberry Pi running the Raspbian OS. Obviously, if you don’t have x11vnc installed beforehand, then you’re a dumbass blankety blank blank and you should die.
Either SSH into the Pi (as pi) or open up a terminal and do one of the following:
Bash Script – Move Files into Subdirectories Based on Modified Date – OR – Moving Ntop Netflow Dumps into Subdirectories by Date
In a busy network environment, it is critical to have some form of network monitoring on all your servers and equipment. Network monitoring comes in many different forms and flavors, whether it be to monitor critical system services and applications via SNMP, WMI, or some proprietary third party software, or just generically pinging some devices to make sure they are up.
Nowadays, it is getting more and more necessary to dig deeper to be able to track what end users are doing and what websites they are visiting and this is where the Cisco Netflow comes in handy. Essentially, netflow allows us to peer down into the network traffic streams and give us vital source, destination, and protocol information coming to and from our network hosts but isn’t quite as storage intensive as doing a full fledged pcap dump, which makes historical accounting of this data a whole lot nicer.
Recently I set up an Icecast server to be able to stream music on hold to my Asterisk servers at work. Here is an updated init script for Icecast2 that adds support to start the Ices2 source client at the same time. For streaming audio from a playlist with Ogg support, Ices2 is a good candidate. For streaming audio from an mp3 based playlist, have a look at Ices0 that can be downloaded on the same site. There is also an array of different Icecast source clients to choose from here. This just happened to be the first one that I tried out. I ended up bastardizing the code somewhat to make it conform to my own personal preferences by using functions and what not to make it all pretty like. I also chose to run Ices2 as the same user as the icecast user, so you would have to update any permissions on the Ices2 directories and config files as needed.
These are just a few quick notes of mine on how to host a PRI circuit from a Sangoma card in an Asterisk server to another Asterisk server or wherever for that matter.
This config here is for a Sangoma A102 with two ports and Asterisk will provide the clocking source. Channels 1-23 will be the B channels and channel 24 will be the D channel for signaling. Echo cancelling will be enabled as well.
#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit #autogenrated on 2015-08-28 #Dahdi Channels Configurations #For detailed Dahdi options, view /etc/dahdi/system.conf.bak loadzone=us defaultzone=us #Sangoma A102 port 1 [slot:4 bus:6 span:1]
span=1,0,0,esf,b8zs bchan=1-23 echocanceller=mg2,1-23 hardhdlc=24 #Sangoma A102 port 2 [slot:4 bus:6 span:2] span=2,2,0,esf,b8zs bchan=25-47 echocanceller=mg2,25-47 hardhdlc=48
BackupExec 2012 – How to Limit CPU Usage and Disk I/O on RALUS (Or Any Other Process and It’s Child Processes) with Cron Jobs
Backup Exec on Linux, otherwise known as RALUS, is great but it has no provisions for limiting it’s disk I/O or CPU usage during different periods of the day. Unfortunately, BE for Windows doesn’t have that option either, so get on it Symantec, nudge, nudge.
If you’re like me, you might have backup jobs on File Servers that span several terabytes worth of data that can essentially run for a day or two on their own. The problem is that people get really bitchy when things don’t run at the normal speed that they are used to and the inconsiderate jerks don’t give a shit when you explain why, they just want it fixed.
Well, here are a few cron job tasks that I came up with to help relieve some of that pressure on your file server. View Post
Adtran TA924 PRI Conversion – Routing Inbound DIDs to FXS Ports or via a SIP Trunk to Asterisk and Allowing Bi-Directional Communications Between the Two
I have to say, I’ve worked with the Adtran TA924 Gen1 and Gen2 in the past and thought it was a great product then, but here recently I’ve just rediscovered the amazing flexibility of this unit and I am extremely impressed.
I’ve used the TA924 with a SIP trunk from both a Metaswitch and Asterisk before to convert to analog FXS ports and have had great success. It has always been rock solid but even back when the device was still in it’s infancy stages, it had a few limitations. I remember specifically when the unit could only do a PRI into a PBX and that is certainly no longer the case any more. There doesn’t seem to be anything this unit can’t do at this point. <3
At work, we had around 20 plus regular POTS lines through AT&T and were getting massively raped over the past several years (every year our prices have went up and at the time of porting our numbers out, we were looking at $74 dollars per POTS line and not including usage charges. Effing ridiculous. That is why I hate AT&T and refuse to support them, not to mention all their NSA spying garbage.) and I got a great deal on a PRI through our fiber internet provider so I needed a way to sort of peel out some of the channels into fax lines with DIDs and then bring the rest of the lines into my Asterisk server. In comes my old TA924 Gen2, that was collecting dust on a shelf, to the rescue. View Post
Copied this highly useful info straight from this website. Very strange that I didn’t have this problem until I hit Firefox version 39 but it is possible that I just hadn’t administered that particular server for a long time in Webmin.
Recent browser versions (e.g. Firefox 33) refuse to work with older Webmin installs.
They give a sec_error_invalid_key error, offer a ‘Try again’ button, but do not offer an option to add an exception.
Firefox 33 no longer supports certificates with private keys smaller than 1024 bits.
You can replace your webmin certificate with a new one by running this command: View Post
- From the bash prompt, log into the FTP server with your username and password.
- Change into the preferred directory with the “cd” command.
- If doing a restore, issue the “dir” command to list the directory’s contents to find the correct filename of the disk image you want to restore. View Post
I ran into a problem yesterday where I could SSH into a remote machine but a majority of the bash commands weren’t working and were giving an “Input/ouput error”, including the shutdown command. Upon further inspection, this particular machine, which was a thin client with 128 MB of flash storage, had run out of drive space. The suggestion on this stack exchange article worked perfectly so I just wanted to document it here for my own future reference.
As long as you have root access, you can run the following command to force a system reboot: View Post