Archive

Archive for May, 2007

NFS between ubuntu servers

May 29, 2007 Leave a comment

Here is a nice succinct guide to setting up nfs.

NFS Server and Client Configuration in Ubuntu — Ubuntu Geek

Powered by ScribeFire.

Advertisements
Categories: networking, ubuntu

e815 Bluetooth problems

May 29, 2007 Leave a comment

Here is a method for cleaning up bluetooth problems on a Motorola e815. Mine stopped pairing properly with my headset.

On your E815:
Press Menu
Go to “Settings”
Select “Initial Setup”
Select “Master Reset”
Enter the Serial Code: 000000
Select: OK
Asks: Reset all Phone Settings?
Select:YesPhone will turn off for a few seconds and come on again acknowledging a reset.

The phone will not lose any settings or contacts. After these steps have been completed, try the pairing steps again. The phone and vehicle should recognize each other.

Worked for me.

Also, here is the procedure for pairing with a Motorola HS850 headset:

Put the headset in pairing mode. With boom closed, press call button for 3-5 seconds. Indicator light will come on.

Immediately open the boom and the light should stay on steadily.
On Motorola phone, press Menu>Settings>Connection>Bluetooth Link>Handsfree>Look for devices
Select the Motorola HS850
Select OK or Yes to pair/bond headset to phone
End passkey: 0000
Select OK

If you were successful the indicator light should start flashing.

Categories: DIY

Making VMware Keep Correct Time

May 29, 2007 Leave a comment

Nerd Vittles » Introducing Version 3 of the Plug-and-Play Asterisk IP PBX for Windows

Making VMware Keep Correct Time. Until recently, the only sure-fire way to make sure VMware kept the same time as your hardware clock was to use a cron job which polled a time server for the correct time and then reset the VMware/Linux clock every few minutes. That’s been fixed, and we’ll show you how to patch the boot loader to fix it. But, first, while you’re using WebMin, let’s disable the time-setting cron job. From the main WebMin menu, choose Hardware->System Clock. In about the middle of the page is an option to Synchronize (the time) on Schedule. Just set it to No and Save your change. Now go to the command prompt on your server and make certain you are logged in as root. Edit the boot loader (nano -w /boot/grub/grub.conf) and move down to line 16 which begins with the word “kernel.” Edit that line so that it looks like the following and save your change (Ctrl-X, Y, then Enter). Then reboot your system (shutdown -r now). HINT: Everything after “noapic” is new stuff to be added, and it all must be appended to the end of the existing line.kernel /vmlinuz-2.6.9-34.0.2.EL ro root=LABEL=/ acpi=off noapic nosmp nolapic clock=pit

Categories: Asterisk, VMWare

OSX Login Window Manager

May 29, 2007 Leave a comment

Bombich Software: LoginWindow Manager

This is a slick piece of software to enable several things in the loginwindow application. What caught my eye was the ability to set up a login shell script, which is more difficult to do than it should be. I used it to hook up a shell script that starts my synergy server at login.

I simply created a directory accessible by all users (at /Library/LoginWindow), created the shell script and made it executable, then ran LoginWindow Manager. There is a section for login/out scripts. You put in the path to your script, and it has a test button to make sure it works properly.

Here is my script:

#!/bin/sh
prog=(/Applications/synergy-1.3.1/synergys --config /Applications/synergy-1.3.1/synergy.conf)
exec "${prog[@]}"

synergy.conf contains the configuration for the server.

On my Ubuntu (feisty – 7.04) machine, I have it launch the client at login. To do that (I’m using gnome), you go to System>Administration>Sessions. Click on the Startup Programs tab, and hit the New button. I named it Synergy, and put in this command:

/usr/bin/synergyc 10.0.1.10

It is possible to start these at the system startup level, but I prefer the login level since it enables clipboard sharing, which I use constantly.

Categories: networking, OSX, Software, ubuntu

Thinstation Build Problems with Edgy and Feisty

May 23, 2007 Leave a comment

SourceForge.net:

Ubuntu Edgy (6.10) and Feisty (7.04) cause problems when building ThinStation images. Ubuntu changed sh to link to dash instead of bash, which causes odd problems with the build script. Here is an easy fix (you need root privileges):

cd /bin
rm -f sh
ln -s bash sh

Categories: Software, ThinStation, ubuntu

Change IP address of Trixbox (asterisk) server

May 20, 2007 Leave a comment

SSH to the asterisk server.

netconfig and change to the new IP address

nano /etc/asterisk/sip.conf

Change any relevant lines. On our server I have two sets of configuration lines and comment one or the other out.

Reboot the asterisk server

Change internal dns entries if needed

Change external dns entries

You may need to reboot some IP phones or other voip devices.

Categories: Asterisk, networking

Synergy

May 18, 2007 Leave a comment

Synergy is a nifty open source project that allows you to share a keyboard and mouse dynamically between multiple computers. Clipboard contents are even shared. It works on Linux, Windows, and Mac OSX. When it’s set up, to the user it is just like a multiple head setup, but each monitor has a computer attached to it.  I used it for quiet some time with my OSX desktop machine and my XP machine. As time went on I used the XP side less and less until I just hooked both monitors up to the Mac. Lately I’ve been missing my home office Ubuntu machine when at the main office, so I set up a new (used) Via fanless Ubuntu Feisty machine to my left monitor and set up Synergy between them.

I really needed to ability to have multiple rdesktop windows open simultaneously. I need to do that often, and this just works like a charm. The fanless system has just enough performance to get by with, and it runs cool and silent.

Powered by ScribeFire.

Categories: DIY, networking, OSX, Software, ubuntu