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
/var/lib/dhcp/*.leases
Function for finding the location of the customer folder for Epic
Editor and Styler.
_custom::get_custom_directory();
For a list of optional tasks refer to:
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
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.
Powered by WordPress