Monday, July 27, 2009

two (or more) PCs, one set of keyboard-mouse?

My setup in my office desk might look weird at first glance because apart from having 2 laptops, there is also an external keyboard and mouse (trackball)... normally you would just connect it to one laptop to control it... but would you believe you could also use it on the other laptop at the same time without having to replug it?



There is an application called Synergy... it is freeware... and supports many operating system platforms (Mac, Windows, Linux). Just visit the website, http://synergy2.sourceforge.net , to know more about it. The main requirement of this application to work is that both computers (laptops) are connected on the same network (both computers are connected to your router at home, the one connected to your internet/DSL modem). That network connection is what is used by Synergy to link the keyboard and mouse of both machines together. They could work even if the two machines are running a different kind of operating system, provided you install the proper version for the kind of operating system.

To explain a little further how this works, the keyboard and mouse are connected to the laptop on the left... I'll just set Synergy on how the orientation of the laptops are... so, when my mouse pans to the far right, the mouse passes to the laptop on the right... and it could go back to the other laptop on the left just by scrolling back to the far left.

The limitations of this however is that only the control of the mouse and keyboard is shared between the two computers and also when you copy-cut-paste text from one to the other... you cannot however drag a window to the other computer's desktop, or copy-cut-paste files from one computer to the other.

Since I am a Linux user... I will tell you an easy way to install it. Just type the following commands in a terminal window to install it:

sudo apt-get install synergy quicksynergy

This will install both the application Synergy and a GUI to control it (QuickSynergy).

Sorry if I am unable to post some snapshots of the application itself in action... maybe next time... If you are interested in this application and needs help configuring it... just post a comment and let's see what happens.

Monday, July 20, 2009

Workaround for Huawei E1552 and Ubuntu Jaunty (Linux)

Hello... as I was wondering if there are updates with regards to my HSDPA dongle, the Huawei E1552... actually there is...

Before I post the fix for this... acknowledgments and kudos to the owner of the website I read and took this from... http://neildecapia.wordpress.com/2009/07/05/globe-tattoo-on-ubuntu-jaunty-9-04/

Here’s what I did under Ubuntu 9.04 for my Huawei E1552 Globe Tattoo device:

  1. install the udev-extras package

    sudo apt-get install udev-extras
  2. create a file called /etc/udev/rules.d/62-option-modem-modeswitch.rules, and paste this line:

    ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446,
    RUN+="modem-modeswitch
    -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"
  3. restart udev
               sudo /etc/init.d/udev restart

Now plug-in the Tattoo device. If you’re watching /var/log/messages, you should see the kernel detecting the device as a mass storage device, then disconnecting the device, then finally detecting it as a USB GSM modem. (Interestingly, lsusb reports the device to be a Huawei E620 USB Modem.)

If your device isn’t detected properly, try changing the values for idVendor and idProduct in Step 2 above. Use lsusb -v to find the values for your device. Also make sure that the rules file you saved in /etc/udev/rules.d/ has a higher number prefix than the similary-named rules file in /lib/udev/rules.d/.

You should then create a mobile broadband network connection via the NetworkManager applet. I changed the APN to http.globe.com.ph

Sometimes when I try to connect, the modem will properly authenticate but then hang up. I just keep trying to connect until I am prompted for the password (globe). Connection usually succeeds after that. Still, I feel my connection is too slow. I have no way of determining if I’m connected to HSDPA or 3G or GPRS. Maybe someone out there can find out.