9 More Discussions You Might Find Interesting
1. Solaris
So, I've decided to install Solaris (I like to try new things). Used many flavors of Linux over the past several years, and it seems there's more involved in getting Solaris working. I am a total newb to Solaris, so forgive me if I get some terminologies incorrect.
I have searched quite a bit,... (2 Replies)
Discussion started by: jgraves
2 Replies
2. Shell Programming and Scripting
Hi,
I am quite new to shell scripting and was wondering if it was possible to automatically enter the username and password fields to a wifi-access-router and then ping it.
I have most trouble with entering the username and password fields. Is that even possible?
Also, what do I do if the... (1 Reply)
Discussion started by: Xyn
1 Replies
3. Ubuntu
Hi,
I already install bcwl kernel. I can see list of wifi AP. When i try connect, i said wrong password.
When i test on windows, can connect. What i miss?
Thanks. (0 Replies)
Discussion started by: mzainal
0 Replies
4. Ubuntu
Having Issues with wifi in BlackBuntu on my Asus U52F-BBG6 it doesn't see any wifi networks in my neighborhood even though I know they are there. I can connect on my BackTrack 5 R1 side but not on my BlackBuntu side. I have the same network manager Wicd on both my backtrack and blackbuntu but... (1 Reply)
Discussion started by: stephen45ss
1 Replies
5. Solaris
I'm running the 64bit Solaris 11 liveCD and I am having problems with my wifi adapter. It appears to be recognized by the system, but does not show up with dladm, ifconfig, or under the graphical network management icon. I can see my device listed under the driver program on the desktop as... (1 Reply)
Discussion started by: bsdforme
1 Replies
6. Solaris
Hi All, what's the fastest/easiest way to configure my newly installed Solaris 10 to get onto my existing WiFi connection?
Where is the config to add this on? (I'm hoping I do not need to download anything) (4 Replies)
Discussion started by: steve701
4 Replies
7. UNIX for Dummies Questions & Answers
hi i am pradeep.i am new to linux and i am facing problem connecting to net
i am using ubunto 9.0.4 and my network connections are showing signals but i coudnt connect to internet
my proxy setting are correct
i used idea net setter also and i faced the same problem.if some one can help me... (2 Replies)
Discussion started by: chauda
2 Replies
8. UNIX for Dummies Questions & Answers
hi, i'm really new at this. i recently installed ubuntu on my machine and have that and vista installed now. but in ubuntu i cant connect wirelessly to the internet. i'm not using a wifi card the wifi is built into the laptop. can anybody help me configure ubuntu to use the wifi. (4 Replies)
Discussion started by: naner9
4 Replies
9. IP Networking
Can 2 computers be connected (FreeBSD and notebook with WinXP) via WiFi if both have WiFi net cards? (9 Replies)
Discussion started by: Hitori
9 Replies
LEARN ABOUT DEBIAN
sleepd
SLEEPD(8) System Manager's Manual SLEEPD(8)
NAME
sleepd - puts a laptop to sleep during inactivity or on low battery
SYNOPSIS
sleepd [-s command] [-d command] [-u n] [-U n] [-I] [-i n] [-E] [-e filename] [-a] [-l n] [-w] [-n] [-v] [-c n] [-b n] [-A] [-H] [-N
[device] [-r n] [-t n]]
DESCRIPTION
sleepd is a daemon to force laptops to go to sleep after some period of inactivity. This is useful if your laptop does not automatically go
to sleep when you aren't using it, and, like me, you often forget to shut it off. It is also capable of suspending a laptop when its bat-
tery gets very low.
sleepd can detect activity in several ways. The default is to poll both event devices and interrupts to detect when your laptop is in use
due to keyboard or mouse activity. It defaults to polling /dev/input/event*. You may specify a list of device files to poll instead, or
use options to enable other means of checking for activity (network activity, utmp, or load average). After a configurable amount of time
with no activity, sleepd runs a program to put the laptop to sleep.
OPTIONS
-h, --help
Show summary of options.
-n, --nodaemon
Don't fork to background; run in forground.
-v, --verbose
Output status messages.
-u, --unused
Number of seconds the laptop can remain idle before being put to sleep. Defaults to 600 seconds (10 minutes). Set to 0 to disable
any sleeping due to idleness.
-U, --ac-unused
If set, controls the number of seconds the laptop can remain idle before being put to sleep when running on AC power. If not set,
the laptop will not sleep when it's on AC power.
-e, --event
Adds an event file to the list that is watched. Using this switch disables polling all files in /dev/input/event*.
-E, --no-events
This switch disables event device polling.
-l, --load
If set, a load average higher than this number will prevent the computer from sleeping If not set, the computer will ignore the load
average.
-w If set, sleepd will also check idletime based on utmp. This will prevent the system from sleeping while remote connections are
active. It uses the time limit from -u.
-i, --irq
Adds an irq to the list that is watched. Using this switch disables automatic detection of keyboard and mouse irqs unless -a is
specified as well.
-I, --no-irq
This switch disables interrupt polling.
-a, --auto
Automatically detect and watch mouse and keyboard irqs.
-s, --sleep-command
Command to run to put the laptop to sleep. Defaults to "apm -s" for systems with APM and "pm-suspend" for systems with ACPI.
-b, --battery
If this option is specified, the daemon will put the laptop to sleep if the percentage of battery charge drops below the specified
number and the system is off AC power. This is useful for some laptops which don't handle this themselves. It supports using APM,
ACPI, and HAL for querying battery status.
-d, --hibernate-command
A command to run instead of the regular sleep command when the battery is low. This can be useful if you want to make the system go
to sleep when it's not active, but suspend to disk if the battery is low. If not set, the sleep command is used.
-N, --netdev
Monitor a network interface for activity based on packet count. eth0 is the default. This option may be used more than once with
different network interfaces.
-t, --tx-min
Set a baseline transmit raffic rate in packets per second for network monitoring. Requires -N.
-r, --rx-min
Set a baseline receive traffic rate in packets per second for network monitoring. Requires -N.
-A, --and
Only go to sleep if all specified conditions are met. For example, only sleep if idle and if the battery is low.
-c, --check-period
Number of seconds between check on system status. Defaults to 10 seconds, which should be fine generally.
-H, --force-hal
Force HAL to be used instead of ACPI or other methods to query battery status.
SEE ALSO
sleepctl(1)
http://kitenet.net/~joey/code/sleepd/
BUGS
Interrupt monitoring cannot always detect keyboard and mouse. If the keyboard or mouse interrupt is shared (as is common with usb
devices), other devices on the same interrupt can keep the system awake. Use event device polling instead.
AUTHOR
Joey Hess <joey@kitenet.net>
SLEEPD(8)