The bold line could be uncommented in your case. If that's the case, comment it. Stop it and reboot the box when you get a chance to see if it worked. Else just stop the dhcpcd and wait if it's still changing the IP address.
Is it possible, and if so, how can I assign a static IP address to my RedHat 8.0 machine. I am using a Linksys router/switch with DHCP enabled. I have a small linux/windows2000 LAN at home. I want to assign a static IP so that I can setup port forwarding to my linux machine so that I can ssh into... (7 Replies)
Hi Frens,
I want to list some files from a directory, which contains "DONE" in their name, i am receiving files every minute. In this i want to list all the files which are newer than 6 hours but older than 3 hours, of current time
i dont want my list to contain the latest files which are ... (4 Replies)
hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first.
... (0 Replies)
I have some static library(libxxx.a libyyy.a).
And I want to generate my library(libzzz.a), libzzz.a will use libxxx.a and libyyy.a
I wan't my application only use libzzz.a, (means libzzz.a had include libxxx.a, libyyy.a), how can I do that? Thank you.
example:
I have zzz.c.
I do ... (4 Replies)
I'm writing a program which uses curl to be run on Linux PCs which will be used by a number of different users. I cannot make the users all install curl on their individual machines, so I have tried to link curl in statically, rather than using libcurl.so. I downloaded the source and created a... (8 Replies)
Hi All,
I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :(
which have similar names ( /var in root and var of some other directory ).:confused:
Can some one suggest me with the... (1 Reply)
We have 2 solaris 10 t5240 servers with static IP addresses on nxge0 I/F which were rebooted a few days back with a known good config that has been in place for years (for /etc/hosts, /etc/hostname.nxge0, /etc/netmasks, etc)
They are not using dhcp.
About the same time today, both of their... (7 Replies)
Discussion started by: hdatontodo
7 Replies
LEARN ABOUT NETBSD
acpilid
ACPILID(4) BSD Kernel Interfaces Manual ACPILID(4)NAME
acpilid -- ACPI Lid Switch
SYNOPSIS
acpilid* at acpi?
DESCRIPTION
The acpilid driver supports ACPI ``lid switches''. The powerd(8) daemon can be used to control actions against the events of opening or
closing the lid. The script used is /etc/powerd/scripts/lid_switch, and the events are either pressed (the lid was closed) or released (the
lid was opened).
EXAMPLES
The following example modifies the mentioned script in order to put the system into (S3) sleep when the lid is closed:
...
case "${2}" in
pressed)
logger -p info "${0}: suspending..."
# As in sleep_button, kill some daemons.
#
/etc/rc.d/dhcpcd stop
/etc/rc.d/network stop
/etc/rc.d/wpa_supplicant stop
# Suspend.
#
if /sbin/sysctl hw.acpi.sleep.state >/dev/null 2>&1; then
/sbin/sysctl -w hw.acpi.sleep.state=3
fi
# Waking up.
#
/etc/rc.d/wpa_supplicant start
/etc/rc.d/network start
/etc/rc.d/dhcpcd start
...
SEE ALSO acpi(4), powerd(8), sysmon_pswitch(9)HISTORY
The acpilid driver appeared in NetBSD 1.6.
BSD January 9, 2011 BSD