Sponsored Content
Full Discussion: WakeOnLan, tcp packet
Operating Systems Solaris WakeOnLan, tcp packet Post 302918981 by achenle on Friday 26th of September 2014 01:17:11 PM
Old 09-26-2014
If you don't manually enter the magic packet into /dev/udp each time you want to wake up a machine, you're going to have to install something - whether that's a script your wrote or something somebody else wrote.

Even then, some machines that purport to support wake-on-lan are pretty crappy about it. You probably won't have any problems from enterprise-grade vendors like IBM, Sun/Oracle, or HP, but anything under that level could be problematic. I have a supposedly enterprise-grade Supermicro server that will only wake-on-lan after the OS boots and sets the proper flags in the ethernet interfaces. I can then shut it down and restart it with a magic packet. But if that server ever loses power the only way to restart it is to physically press the power button.
This User Gave Thanks to achenle For This Post:
 

10 More Discussions You Might Find Interesting

1. IP Networking

Seeing IP packet

Hi, Is there any way that i can directly take out the IP packet and see its contents. Waiting for your answer .............. Bye (4 Replies)
Discussion started by: manjunath
4 Replies

2. IP Networking

TCP packet with RST flag not carrying DSCP

Hello, I'm having an issue with TCP sockets. When the TCP connection is terminated on one end, TCP packet with RST flag set is being sent to the sender. All the packets sent so far were carrying the DSCP 'AF21' set by me. But packet with RST flag is carrying DSCP '0'. Is this expected or... (0 Replies)
Discussion started by: Solace
0 Replies

3. Programming

Changing source port number of a TCP client packet

Hi all, I need to change the source port number of an outgoing TCP packet. First I have to bind the socket to a particular port(suppose 9001) but when I send the TCP packet I want to change the source port number lets say to 9002 still letting the socket to be bound to the same old port (9001).... (0 Replies)
Discussion started by: anuragrai134
0 Replies

4. Programming

packet capture

can anyone tell me how can i capture the packets. i have tried ethernet software to capture them but its not doing what i want it to do it (1 Reply)
Discussion started by: dazdseg
1 Replies

5. IP Networking

Packet decoding

Hi, wondering if anyone can suggest a tool to me that will let me either cut & paste hex or type it in for packet decoding. I want to be able to decode a packet as done with tcpdump or wireshark, but I want to be able to manually input the hex myself. (2 Replies)
Discussion started by: Breakology
2 Replies

6. IP Networking

TCP Packet size

Hi! I'm writing an application (using BSD sockets on a Linux host) which communicates over TCP/IP with an embedded device. This embedded device has an old and real slow integrated circuit (Epson S1S6000) which handles all of the TCP/IP communication for it. Problem is, this circuit (S1S6000)... (7 Replies)
Discussion started by: olle
7 Replies

7. Cybersecurity

filter packet

Exercise: Protection of WEB and DNS servers using the context-free rules for packet filtering: - Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns. - Protect your primary DNS-server so that it could be to contact clients and secondary servers.... (1 Reply)
Discussion started by: numeracy
1 Replies

8. Homework & Coursework Questions

filter packet

Exercise: Protection of WEB and DNS servers using the context-free rules for packet filtering: - Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns. - Protect your primary DNS-server so that it could be to contact clients and secondary servers.... (1 Reply)
Discussion started by: numeracy
1 Replies

9. AIX

Packet loss coming with big packet size ping

(5 Replies)
Discussion started by: Vishal_dba
5 Replies

10. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
PMSET(1)						    BSD General Commands Manual 						  PMSET(1)

NAME
pmset -- modify power management settings SYNOPSIS
pmset [-a | -b | -c] [dim minutes] [spindown minutes] [sleep minutes] [womp 1/0] [ring 1/0] [autorestart 1/0] [dps 1/0] [reduce 1/0] [powerbutton 1/0] [lidwake 1/0] [acwake 1/0] [boot] pmset -g [disk | live | cap | sched] DESCRIPTION
pmset changes and reads power management settings such as idle sleep timing, wake on administrative access, automatic restart on power loss, etc. SETTING
The -a, -b, -c flags determine whether the settings apply to battery (-b), charger (wall power) (-c), or all (-a). Use a minutes argument of 0 to set the idle time to never. pmset must be run as root. The boot argument tells power management that system bootup is complete. Loginwindow handles this on a normal Mac OS X system. GETTING
The -g flag outputs the settings currently in use (same as -g live ). -g disk will tell you the settings on disk. -g cap will tell you which power management features the machine supports. -g sched will show scheduled startup/wake and shutdown/sleep events. ARGUMENTS
dim - display dim timer (value in minutes) spindown - disk spindown timer (value in minutes) sleep - system sleep timer (value in minutes) womp - wake on ethernet magic packet (value = 0/1) ring - wake on modem ring (value = 0/1) autorestart - automatic restart on power loss (value = 0/1) dps - dynamically change processor speed based on load (value = 0/1) reduce - reduce processor speed (value = 0/1) powerbutton - sleep the machine when power button is pressed (value = 0/1) lidwake - wake the machine when the laptop lid(or clamshell) is opened (value = 0/1) acwake - wake the machine when power source (AC/battery) is changed (value = 0/1) OTHER ARGUMENTS
These arguments don't directly affect power management settings: boot - tell the kernel that system boot is complete EXAMPLES
pmset -b dim 5 pmset -a dim 10 spindown 10 sleep 30 womp 1 pmset -g live FILES
All changes made through pmset are saved in a persistent preferences file (per-system, not per-user) at /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist pmset modifies the same file that System Preferences Energy Saver modifies. Darwin August 19, 2002 Darwin
All times are GMT -4. The time now is 07:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy