Recalculating Domain Used Disk Space in Plesk

Thanks to Keith for this:

Typically when you remove a file or files from plesk, in order to reclaim space it doesn’t always update and shows the space in use incorrectly.

Running the following via SSH will correct the issue;

/usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=Domain_name.com

No Comments

Blogging from iPhone

This is my first blog post written on my iPhone. I’m at Lowes.

No Comments

Comm 4-pin XLR Connector Wiring Diagram

I and fellow engineer friends like taking the audio output from an analog comm unit and turn it into a 3-pin XLR cable to input into say a monitor desk so when we are monitor engineering, we can always have the comm sent to our cue unit for instance.

Every time we go to make one though…can never remember what pins on the 4-pin connector are what!  Here’s the diagram for our own sake and yours if you wish to follow the same technique.  Take pins 3 and 4 to pins 2 and 3 on a standard XLR and you have the audio.

4-pin XLR Comm Wiring Diagram

, , , , , ,

No Comments

Cisco 7960 and LinuxMCE

Just started playing around with LinuxMCE 710 and my first headache was trying to get my Cisco 7960 phone connected up to be happy. To achieve success took a combination of several blog/wiki pages, so I decided to condense it to one for my sake to look up for next time, and for your sake to hopefully save you the headache I just endured.

Add MAC Address Range to Cisco 7960 Device Template

In the Web Admin, go to Advanced > Configuration > Device Templates. Then, choose Cisco as the manufacturer and click the “Apply Filter” button. As the page refreshes, you’ll now see the Device Template list the 7960. Choose that and click “Pick device template”. As you scroll to the bottom of the page to the “Plug & Play” section, you’ll see that it already has a rand of MAC addresses listed in the From/To fields. I’m guessing if that range would have worked, you wouldn’t be looking at this post right now. Underneath that section is an “Add” button. Click that to add a new range.

Now the fun part. You will need to figure out what the range is here based on the MAC address of your phone. (This can be found on the device by going to Settings > Network Configuration). Because we’re creating a range, if your MAC address is 00:16:47:57:c8:74, our low range will be 00:16:47:00:00:00 and high is 00:16:47:FF:FF:FF. Run the following commands:

/usr/pluto/bin/convert_mac 00:16:47:00:00:00
/usr/pluto/bin/convert_mac 00:16:47:FF:FF:FF

Each command will return a number which is your converted MAC address as the low and high range to put into this device template page. Hit save.

Edit /tftpboot/SIPDefault.cfg

The SIPDefault.cfg file is a configuration file that Cisco phones look for when they boot up to load up all the necessary configuration settings. Without this manual step, LinuxMCE will find your phone and configure it with its extension and everything, but when you reboot the phone, it won’t connect to Asterisk. Run this command:

sudo nano /tftpboot/SIPDefault.cfg

At the very bottom of the page, add:

nat_enable: 1

Note while also here you could customize the phone_label field which is the banner across the top of your phone. “Pluto” just didn’t do it for me. Save the file and exit by pressing Ctl – X. Now, reboot your Cisco phone by pressing the * + 6 + all at the same time.

Fingers crossed – it works! After booting up the first time, it may take LinuxMCE 2 minutes or so to “discover” the device, but once it has, reboot the router and your phone and you should be connected. You can make a test call by dialing 200 which is your initial media center location.

, , ,

1 Comment

My 7 Favorite Twitter Apps

Twitter is all the latest craze these days.  There’s some key applications that I have found to make the whole Twitter social media micro-blogging process very streamlined.

  1. TweetDeck (www.tweetdeck.com) - Definitely my number 1, in fact I have a whole screen dedicated to TweetDeck.  You can update your Twitter and Facebook status from one form, have multiple columns of data – ie my columns are: All Friends, Facebook Friends, Replies, TwitScoop, then several search columns for topics I’m interested in.  Easy to Retweet, shorten URLs, etc.
  2. DestroyTwitter (www.destroytwitter.com) – Ok my biggest complain about TweetDeck is that it doesn’t really do multiple Twitter accounts…DestroyTwitter is very similar to TweetDeck…I prefer TweetDeck, but I use DestroyTwitter to follow a second twitter account on the same machine as TweetDeck
  3. HootSuite (www.hootsuite.com) – Web interface that allows you to tweet to multiple Twitter accounts in one post.  Also supports posting to Ping.fm and displaying Google Adsense advertisements in your shortened URLs, however at the time of this writing, that feature was broken. :-(
  4. Tweepler (www.tweepler.com) – ok not everything is about displaying Tweets.  Tweepler is a very slick interface that shows you who has recently followed you, and gives you information about each user allowing you to easily choose to follow them as well, or ignore them.
  5. TwitterCounter (www.twittercounter.com) – Some  people just want statistics…how many people are following you compared to yesterday, and how many people can you expect to get tomorrow based on following trends?!  TwitterCounter to the rescue.
  6. Ping.fm (www.ping.fm) – Ok by far the best multiplatform status update broadcasting tool I’ve ever seen.  You can post one update to everything from Twitter and Facebook to GTalk and AOL.  Many many many ways to send updates as well such as SMS, Email, Web, Mobile Web, IM, etc.
  7. MePing (www.bryanbartow.com/apps/meping/) – Yes, hootsuite can post to Ping.fm, and Twitter can automatically update your Facebook status…I got too many wires crossed and shut off the connection for services updating each other and am letting Ping.fm be the only multi-platform announcer.  BUT, I don’t like having to go to the website, so MePing is a lightweight little app that allows you to quickly shout a message to the Ping.fm network

There’s my seven favoriate apps.  What are you using?  Oh ya – hit up the follow @sators.

, , ,

2 Comments