Archive for the ‘Linux’ Category

Controling Multiple Computers Without a Keyboard Switch

Friday, February 13th, 2009

When I’m working in my home office, I typically have my Windows XP laptop on the left hand side of my desk next the rest of my monitors. I’ve always wanted to control the laptop from my main keyboard and mouse without having to hook up a keyboard switch. I find the hardware solution annoying when you are trying to work on both machines essentially at once or when you just want to pick up your laptop and sit somewhere else (lazy I know). When I drag my mouse off the left side of my Linux Desktop I want to control my laptop. When I drag my cursor off the right side of my laptop screen I want to resume working with my Linux Desktop. Essentially I want to seamlessly make my Windows XP Desktop part of my Linux Desktop.

There is an open source project called Synergy that functions exactly this way over your TCP/IP network. The program redirects the mouse and keyboard as you move the mouse off the edge of a screen. Synergy also merges the clipboards on each system into one, allowing you to copy-and-paste between systems. Handy for copying stuff out of e-mail!

Like all good open source projects the program works on any combination of Linux, Windows XP and MAC OS X 10.2 and higher.

Enjoy!

Charles Angione

Fedora Re-Spins Available

Wednesday, June 7th, 2006







The Fedora Community released re-spins of Fedora Core 5 last week. It incorporates the latest updates available for the release which leads to less download time after your installation. The kernel-2.6.15-1.2054_FC5 shipped with FC5 disallowed the loading of any non-GPL modules. This was quickly fixed but marred the release.

Additionally the Fedora Community plans to re-spin often. Re-Spins will be provided each month for supported releases. This is a welcome addition for people that wait until a release settles down and mirrors the consistent release schedule that commercial vendors are adopting.


NcFTP Nice Replacement for FTP

Thursday, May 4th, 2006







NcFTP is an enhanced FTP client that has some nice command line features like displaying the size of the file and the percentage complete.

Way to remember format for crontab

Thursday, April 6th, 2006







The crontab file is used to schedule commands. To use it you must remember the format it expects. It is not how shall we say mnemonic. In trying to remember the format, I came across a good linuxjournal article that had an easy way to remember it.

Add a header comment that provides the proper sequence:

$ crontab -e
# ****************Roots crontab***********************

# minute (0-59),
#    hour (0-23),
#       day of the month (1-31),
#          month of the year (1-12),
#             day of the week (0-6, 0=Sunday),
#                command


VMware 5.5 Worth the Upgrade for Linux Hosts

Sunday, December 4th, 2005

If you are running VMware on a Linux host it is worth the upgrade to
5.5 for the new bridged support for wireless networks. It used
to be the you had to use NAT when running your Virtual Machines under
Linux using a wireless card. This feature had been available for
windows hosts for awhile.

Starting at Runlevel 3 instead of Runlevel 5

Sunday, October 23rd, 2005

If you do not want to start X automatically edit the /etc/inittab
file like this:

id:3:initdefault:

What wireless networks are available

Sunday, October 23rd, 2005

Wireless support in Linux is still an area that needs work. Currently
there is no reliable UI like in Windows that lists all of the networks
that are available, however there is a way to get the information from
the command line.

Use the following procedure to determine what wireless networks
are avilable
:

  1. Open a terminal and switch to the root user
  2. Issue the command /sbin/iwlist scan
  3. The results should list all of the ESSID’s available as well as
    information on Channel and Encryption information.

Adding Additional RPM sites to yum search

Tuesday, October 18th, 2005

To add additional sites that have RPMs for Linux:

1) Add the site to the yum config file under /etc/yum.conf

Example:

[atrpms]
name=ATrpms for Fedora Core $releasever
baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable

2) Find the sites public signing key

Example:

rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

Now when you do a yum install or update that site is added to sites
searched for RPMs. A note, be very careful with sites that have RPMs at
what’s called RPMS.at-bleeding since these tend to be the raw
development builds and can lead to “bad things”…..


Patch available for VMWare 5 on Fedora Core 4

Sunday, October 16th, 2005

VMWare 5 will not run on FC4 without running the vmware-any-any-update
after installation.

Instructions:

  1. Install VMWare 5
  2. Grab the latest vmware patch from http://knihovny.cvut.cz/ftp/pub/vmware
  3. Extract the files into a temporary directory.
  4. CD into the directory and run the runme.pl script.
  5. This replaces two files in the VMWare installation with updated
    version for FC4.
  6. Run vmware-config.pl

REFERENCES

  • https://www.vmware.com/community/thread.jspa?threadID=18088&tstart=0

Clear DHCP Leases in Linux

Sunday, August 21st, 2005







When switching networks the DHCP lease on a network adapter such as eth1 is not always cleared causing problems connecting to another network. You can manually remove the lease by going to:

/var/lib/dhcp/*.leases