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.

Thursday, July 9, 2009

3 months going... 3 months to go...

By the end of this week.... I have been into my work for 3 months... 3 months to go until my probation period comes to an end...

Should I stay or should I go? Must I strive to further excel in the office... or pave a new career path out?

It is still too early to tell, or even too early to make a decision... My concern here is that... within 3 months, my opinion with regards to the company itself has changed... the next 3 months might change once more my opinions towards my employer and the company as a whole (in a not so good light). The people here are all nice and easy to work with... except for a few which I wished to have not been with at all... their influence over my well-being is still insignificant, but maybe the next 3 months just might change all this.

A job working as a Systems Administrator is not that bad... and in fact you will learn a lot from it... the major downside of it is that you are stuck being an employee, and not a boss or management position... and your job involves getting slack and "garbage" from everyone else... not to mention the unreasonable or uncalled-for sermons from your boss saying that you don't work enough (we work an irregular 6 days a week... nearly having a 10 hours shift on weekdays, and an extra half day on weekends... and NO extra/OT pay)... now that's not very fair isn't?

My other concern is that... I want a career that I could live through without having much trouble in the financial aspect. Being employed will not bring me to places and the kind of life I (and my future family; still dreaming to have a relationship) in a comfortable manner... it is either being a big-shot or having your own business is probably the better option.

3 months is actually a short span of time... but crucial to what you decide for the next months, or even years, that you intend to live through...