SGMLXML.net A place for SGML and XML application developers.

October 16, 2005

Patch available for VMWare 5 on Fedora Core 4

Filed under: Linux,Software — cangione @ 7:33 am

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

August 21, 2005

Clear DHCP Leases in Linux

Filed under: Linux — cangione @ 1:18 am







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


August 10, 2005

Suspend to Memory

Filed under: Linux — cangione @ 12:15 am







ACPI, which stands for Advanced Configuration and Power Interface, is the successor to APM (Advanced Power Management). The specification provides for many functions besides power management, such as thermal management and plug-and-play events.

The purpose of this post is to outline the steps for setting up ACPI suspend to memory under Fedora Core 4. When the lid is closed on the laptop, the system should suspend.

File setup

Create the file /etc/acpi/events/lid.conf containing the lines

  event=button[/]lid
  action=/etc/acpi/actions/sleep.sh

Create the file /etc/acpi/actions/sleep.sh containing the lines

  #!/bin/sh
  /usr/bin/dbus-send --system 
      --dest=org.freedesktop.NetworkManager
      --type=method_call      
 /org/freedesktop/NetworkManager     
 org.freedesktop.NetworkManager.sleep

  /sbin/hwclock --systohc
  echo -n mem > /sys/power/state
  /sbin/hwclock --hctosys

and make it executable.

  chmod 755 /etc/acpi/actions/sleep.sh

Helpful Sources of Information


August 4, 2005

Removing RPMs from Linux

Filed under: Linux — cangione @ 2:28 am







One task that is often needed is the ability to remove rpms that are currently installed.

The following example demonstrates how to remove installed rpms.

Lets say we need to find the apache package. First you need to find the specific version.

[root@localhost]# rpm -qa apache | grep apache
apache-1.3.19-5
[root@localhost]#

So, we need to remove the apache-1.3.19-5 package.

[root@localhost]# rpm -w apache-1.3.19-5

All gone assuming there were no dependency problems.

July 30, 2005

WINE for Me!

Filed under: Linux — cangione @ 7:53 pm







Setup WINE recently to give me access to some old and some new Windows programs from Linux. Wine is an Open Source implementation of the Windows API on top of X.

From more information on WINE and to get the latest copy, refer to

http://www.winehq.com/

A must have once you get WINE installed is WINE TOOLS. This will help you get your virtual windows file system setup etc.

http://www.von-thadden.de/Joachim/WineTools/index.html

List of the Programs that I was able to get working under the latest version of WINE (Note programs that ran on Windows 98 have a fair success rate. Newer programs have less success unless they have been a focus for the WINE developers.)

  • Internet Explorer 6 SP1 (Mouse Events and Drag and Drop are a bit strange. Drag and Drop crashes the X Window)
  • Office 97 (MS Word mouse events are a bit funky but it at least gives you a true representation of the document)
  • Visio 4
  • Adobe Acrobat 4.0 (Not the reader but the full thing) Reader should work as well.

WINE is definitely not a substitute for VMWARE but it brings some nice additional functionality to the Linux Desktop.


July 20, 2005

Getting the xscreensavers in FC4

Filed under: Linux — cangione @ 3:34 am
The screensaver package got split into 3 packages.

To start the process use:

yum search xscreensaver


Other Packages that can be installed by yum:

yum install xscreensaver-extra

yum install xscreensaver-gl-extras




July 18, 2005

Windows File Shares do not appear in FC4 Network List

Filed under: Linux — @ 7:44 pm

If you are having trouble seeing windows shares with FC4 here are some
tips:

  1. To specify the default workgroup for Samba Networking edit the /etc/samba/smb.conf
  2. As root type setup services
  3. Go to System Serices and ensure that the following services are
    started:
    • NetworkManager
    • network
    • smb

Clear things up for me at least

CA

July 15, 2005

Using rdesktop instead of VMWare for client display

Filed under: Linux — cangione @ 11:59 am
One of the things that I’ve found annoying about using VMWare in Linux is
that you either have to go full screen or you can’t utilize the entire
working space of one desktop. You might get close at say 1280X960 but
it is not “perfect”.
I tried something last night that I like better.

  1. Set windows client to allow remote connections.
  2. Created
    the following line in a shell script:
rdesktop -g workarea -a
16 -E -D -x l -u “user name” -p “[pass]” [computer name]
The -g option with the special word workarea
sets the client desktop resolution to take up all the area on the
screen except the Linux toolbars. So it fits “perfect”. For the rest of
the options read the man page for rdesktop.
The other obvious advantage that I can see to this approach is that if you
run multiple VMs at once you can give each client their own desktop
instead of having to use the VM tabs.

July 8, 2005

Intel Centrino Wireless Setup with FC4

Filed under: Linux — cangione @ 6:00 pm

Ah such a simple task! What a pain but it is fairly simple once you
understand the steps.

The project was created by Intel to enable support for the Intel
PRO/Wireless 2100 Network Connection mini PCI adapter.

Some notes:

June 27, 2005

FC4 Released

Filed under: Linux — @ 10:38 pm

Fedora Core 4 has been released and provides some nice improvements.

http://fedora.redhat.com/

  • UI is still very clean. Nice update with GNOME placing
    preferences and system settings under the Desktop start icon.
  • Networking with windows networks has been cleaned up. I can
    finally see all of my Windows shares when browsing the Network.
« Newer PostsOlder Posts »

Powered by WordPress