473,766 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wake on LAN and Shutdown for Windows and Linux

I am using 8 computers on a small network. I have one Main computer
which should be able to remotely start other computers. I used Wake on
LAN to start them all.

My Main computer is Linux.

Other 4 are Windows and 3 are Linux.

How can I shutdown Windows box from my Main (Linux) ?

Also, How can I shutdown other Linux terminals from my Main (Linux) ?
Help is appreciated.

May 2 '06 #1
6 6833
Am Dienstag 02 Mai 2006 21:02 schrieb di********@gmai l.com:
Also, How can I shutdown other Linux terminals from my Main (Linux) ?


Has this got anything to do with Python?

--- Heiko.
May 2 '06 #2
Heiko Wundram wrote:
Am Dienstag 02 Mai 2006 21:02 schrieb di********@gmai l.com:
Also, How can I shutdown other Linux terminals from my Main (Linux) ?


Has this got anything to do with Python?

I could actually see that as a useful python function if i was writing
some type of manager for a computing farm or something like that.

--

Carl J. Van Arsdall
cv*********@mvi sta.com
Build and Release
MontaVista Software

May 2 '06 #3
di********@gmai l.com schrieb:
How can I shutdown Windows box from my Main (Linux) ?


Have you seen this?

http://aspn.activestate.com/ASPN/Coo.../Recipe/360649

it probably won't work on linux (maybe with wine or similar?), but you
can try to invoke this script on a windows machine somehow...

have fun, David.

May 3 '06 #4
Thanks, In fact I checked that.

I thought that any other literature would help.
David Murmann wrote:
di********@gmai l.com schrieb:
How can I shutdown Windows box from my Main (Linux) ?


Have you seen this?

http://aspn.activestate.com/ASPN/Coo.../Recipe/360649

it probably won't work on linux (maybe with wine or similar?), but you
can try to invoke this script on a windows machine somehow...

have fun, David.


May 3 '06 #5
because you can write scripts in python so easily as compared to other
scripting languages.

May 3 '06 #6
Any help is appreciated

May 4 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2766
by: Jonathan Heath | last post by:
Hi all, I have created an ASP script that enters data into an Access Database. My problem is that I'd like this script to run when the computer is shutdown or the user logs off. I think this would be simple enough if the ASP didn't have any user input, but it does.
3
1189
by: Senthil | last post by:
Hi, I would like to know the code for reboot and shutdown windows xp professional using VB.Net. thanx Senthil
3
1789
by: The New Celibacy | last post by:
I go to bed at night, leaving XP running, and my Internet connection is dropped when I wake up. I go to bed at night, leaving Suse Linux running. I wake up in the morning, and it's still connected.
8
4191
by: Bill Sonia | last post by:
I've written a Windows Service to send e-mails on events like OnStart, OnStop, OnShutDown using System.Web.Mail. It works for everything but OnShutdown. My guess is that for OnShutDown, once my send mail code is executed, other necessary Windows Services have been terminated before it can actually send the mail. I've updated my HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services registry DependOnService value including SMPTSVC and...
6
8762
by: carbon_dragon | last post by:
Ok, so here is the problem. I'm working on a headless server program implemented as a .NET C# Console project. There is a UPS mounted to this server (though not a windows compliant UPS). I can only talk to the UPS over a special device driver. Through this device driver I can detect that the UPS is going to notify Windows 2000 server to shut down. So I start doing a graceful termination. But Windows shuts down pretty quickly and there...
2
11415
by: Brian Worth | last post by:
I have just upgraded from VB 4.0 to VB .NET 2002. One program under VB 4.0 was able to shut down or restart the (windows XP) machine using a series of API calls. (Getlasterror, GetCurrentProcess, OpenProcessToken, LookupPrivilegeValue, AdjustTokenPrivilegese, ExitWindowsEx. I am trying to avoid using any API calls if possible and to use managed code instead. I couldn't find any easy way of doing this but searching the Internet with...
2
2566
by: Sin Jeong-hun | last post by:
I created a windows form application. It has a Threading.Timer and when the timer ticks it does some work and show a popup window. The problem is that while this program is running if the user tries to shutdown Windows, my application doesn't quit and neither does Windows. Of course, if the user first click of my application and then tries to shutdown, there is no problem. To solve this problem, I overrode WndProc of the main form,...
2
2598
by: mlevit | last post by:
Hi, I currently have a VB program that uses the Shell command to shut it down. I use shutdown -f to shut the computer down. I was wondering if anyone knows what I can use to put the computer to sleep (S3 mode) and at the same set it to wake up at a certain time? I know there are programs that can do that but I need to a command that I can use in VB using Shell. Thanks
3
4288
by: IdleBrain | last post by:
Gurus, I am trying to delay Windows Shutdown/Restart to perfrom cleanup and I am using the following code: protected override void WndProc(ref Message ex)
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9837
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.