Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Boot one computer when a different one boots
New Posts  All Forums:Forum Nav:

Boot one computer when a different one boots

post #1 of 4
Thread Starter 
I ran a search and couldn't find what I was looking for in these forums or through a search engine. Anyway, here's what's going on.

I have a desktop computer with no wireless card. I do have wireless internet in my house, and I'm just massively cheap and I don't want to buy a $30 wireless PCI card, plus my PCI slots are full anyway.

What I have setup now is an OLD OLD OLD windows XP laptop running 802.11g internet. It's connected to A/C power and has ethernet running to my desktop. I bridged the wireless and LAN connection between it and my desktop, so now I have internet on the desktop through it's bridged connection. Now obviously this means that the laptop has to be on to provide me internet.

Well, this setup is good and all, but my laptop takes like nine years to boot up and acquire a signal. So let me explain what I actually want:

I want the xp laptop to boot up when my windows 7 desktop does. I want the WIndows 7 computer to automatically send a wakeup from shutdown packet to the xp computer as soon as the Win7 desktop is finished booting. ANd I'd like it to send a shutdown command when it shuts down.

This is really complicated, I know, but I figured the OCN community would know better than any how to solve my issue. If you must know, the laptop is in a very innaccessable place to reach the power button, and the power button is essentially shot anyway. Which is why I want this capability.

I know it's a monster of a task, and maybe it can't even be done. Just give it some thought if you have any ideas.
Heisenberg
(10 items)
 
Redemption
(18 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core 2 Extreme @ 2.8GHz (upgrade) Intel GMA 950 2 x 2 DDR2 667MHz (upgrade) 120GB Mushkin ECO2 
Optical DriveOSMonitorPower
Replaced with 42 W/hr aux battery Mint 17.3 1280x800 Dell 65w Dell Adapter 
CaseOther
Latitude D630 Chassis Intel 7260-802.11ac 2x2 
CPUMotherboardGraphicsRAM
Not telling AsRock something Pixel Pusher 2 x 8 GB AMD Radeon RAM @ 1600mhz (All the VM's) 
Hard DriveHard DriveHard DriveOptical Drive
Crucial M4 128GB (8 second boot) Western Digital RE4 1TB Western Digital RE4 2TB Pioneer Blu-Ray Reader/Writer 
CoolingOSMonitorKeyboard
Cooler Master Hyper 212 Evo Windows 8.1 Pro x64 Dell U2713HM IBM Model M (CLICKY!!) 
PowerCaseMouseAudio
Antec HCG-900 NZXT Source 210 (it was cheap) Logitech G502 Schiit Modi 
AudioAudio
Sennheiser HD 598 M-Audio AV40's 
CPUMotherboardGraphicsRAM
Intel Core i5-4200U Microsoft BGA1168 Intel HD 4400 8 GB LPDDR3 Dual Channel @ 1600mhz 
Hard DriveOSMonitorKeyboard
SK Hynix 256GB SSD Windows 8.1 Professional 1920 x 1080p IPS Display Microsoft Touch Cover 2 
Power
48w PSU 
  hide details  
Reply
Heisenberg
(10 items)
 
Redemption
(18 items)
 
 
CPUGraphicsRAMHard Drive
Intel Core 2 Extreme @ 2.8GHz (upgrade) Intel GMA 950 2 x 2 DDR2 667MHz (upgrade) 120GB Mushkin ECO2 
Optical DriveOSMonitorPower
Replaced with 42 W/hr aux battery Mint 17.3 1280x800 Dell 65w Dell Adapter 
CaseOther
Latitude D630 Chassis Intel 7260-802.11ac 2x2 
CPUMotherboardGraphicsRAM
Not telling AsRock something Pixel Pusher 2 x 8 GB AMD Radeon RAM @ 1600mhz (All the VM's) 
Hard DriveHard DriveHard DriveOptical Drive
Crucial M4 128GB (8 second boot) Western Digital RE4 1TB Western Digital RE4 2TB Pioneer Blu-Ray Reader/Writer 
CoolingOSMonitorKeyboard
Cooler Master Hyper 212 Evo Windows 8.1 Pro x64 Dell U2713HM IBM Model M (CLICKY!!) 
PowerCaseMouseAudio
Antec HCG-900 NZXT Source 210 (it was cheap) Logitech G502 Schiit Modi 
AudioAudio
Sennheiser HD 598 M-Audio AV40's 
CPUMotherboardGraphicsRAM
Intel Core i5-4200U Microsoft BGA1168 Intel HD 4400 8 GB LPDDR3 Dual Channel @ 1600mhz 
Hard DriveOSMonitorKeyboard
SK Hynix 256GB SSD Windows 8.1 Professional 1920 x 1080p IPS Display Microsoft Touch Cover 2 
Power
48w PSU 
  hide details  
Reply
post #2 of 4
A batch file added to autoexec.bat should work (just can't think of the "magic packet wake up" command off the top of my head). You would also need to make sure that Wake-On-LAN is enabled on the XP machine. For shutdown, you would have to have another batch file that would send the shutdown command, and then execute a shutdown command on your machine.

While I don't know the commands, hopefully this is good enough to help you in your search. I'll dig through my notes and see if I find anything useful for you.
Big Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 Wolfdale 3.0 Ghz Asrock P45R2000 WiFi 460 GTX 6GB Patriot Viper DDR3 1333 (2x1GB and 2x2GB) 
Hard DriveOptical DriveOSMonitor
Kingston 64GB SSD, 1TB Hitachi and 3 160GB drives ASUS dual layer SATA II DVD burner Windows 7 Pro 64 Bit and a few virtual machines ;) Hanns.G Hi221D 22" LCD Widescreen 
KeyboardPowerCaseMouse
standard junker nothin' fancy. Yet... HIPER 730 W Rosewill Conqueror Logitech Trackball (TrackMan is the model I think) 
Mouse Pad
The Desk! 
  hide details  
Reply
Big Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 Wolfdale 3.0 Ghz Asrock P45R2000 WiFi 460 GTX 6GB Patriot Viper DDR3 1333 (2x1GB and 2x2GB) 
Hard DriveOptical DriveOSMonitor
Kingston 64GB SSD, 1TB Hitachi and 3 160GB drives ASUS dual layer SATA II DVD burner Windows 7 Pro 64 Bit and a few virtual machines ;) Hanns.G Hi221D 22" LCD Widescreen 
KeyboardPowerCaseMouse
standard junker nothin' fancy. Yet... HIPER 730 W Rosewill Conqueror Logitech Trackball (TrackMan is the model I think) 
Mouse Pad
The Desk! 
  hide details  
Reply
post #3 of 4
Could just bridge the power jumper with the power button on the laptop, so when you press the power button on your Win 7 computer the XP laptop boots up. Also put the damn thing in sleep mode so it takes 9 seconds to boot up instead of 9 years.

Or you could just not be cheap and spend $20 on a wireless USB card, which will be better than any PCI card you could find.

I use this one: http://www.newegg.com/Product/Produc...82E16833704045 It never drops the signal, 5ms latency, and I can still max my 25Mbit connection even though the router is upstairs at the other end of the house.
Edited by nathris - 8/6/11 at 11:54pm
    
CPUMotherboardGraphicsRAM
Core i5 4670k ASUS Maximus VI Gene Gigabyte GTX 460 1GB Kingston Hyper-X 
Hard DriveHard DriveHard DriveHard Drive
Samsung 830 OCZ Vertex 3 WD6401AALS WD5000AAKS 
CoolingOSMonitorMonitor
Noctua NH-D14 elementary OS Dell Ultrasharp U2312HM LG W2442PA-BF 
KeyboardPowerCaseMouse
Microsoft Sidewinder X4 Corsair HX750W Corsair Graphite 600T Logitech G700 
Audio
ASUS Xonar DG 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i5 4670k ASUS Maximus VI Gene Gigabyte GTX 460 1GB Kingston Hyper-X 
Hard DriveHard DriveHard DriveHard Drive
Samsung 830 OCZ Vertex 3 WD6401AALS WD5000AAKS 
CoolingOSMonitorMonitor
Noctua NH-D14 elementary OS Dell Ultrasharp U2312HM LG W2442PA-BF 
KeyboardPowerCaseMouse
Microsoft Sidewinder X4 Corsair HX750W Corsair Graphite 600T Logitech G700 
Audio
ASUS Xonar DG 
  hide details  
Reply
post #4 of 4
Here's a site that explains how to do WOL (wake on LAN), and has some utilities to do it if you decide not to roll your own. Note that you may have to enable the feature in your laptop's BIOS as well.

http://www.ezlan.net/WOL.html
SpaceHeater v3
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1100T BE 4.113GHz Gigabyte GA-890FXA-UD5 (Rev3.1) PowerColor HD6950 2GB + MSI GTX 460 Cyclone HyperX Genesis DDR3 (4GBx2) 1713MHz 
Hard DriveOSMonitorKeyboard
Crucial m4 64GB | WD Blk 1TB | Barracuda 2TB RAID0 Win7 Ultimate x64 / Ubuntu 10.10 x86_64 27" Planar 1080p + Dell 1901FP in portrait Das Keyboard Model S Professional 
PowerCaseMouse
CoolerMaster 800W 80+ Gold CoolerMaster HAF 912 Logitech M570 Trackball 
  hide details  
Reply
SpaceHeater v3
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X6 1100T BE 4.113GHz Gigabyte GA-890FXA-UD5 (Rev3.1) PowerColor HD6950 2GB + MSI GTX 460 Cyclone HyperX Genesis DDR3 (4GBx2) 1713MHz 
Hard DriveOSMonitorKeyboard
Crucial m4 64GB | WD Blk 1TB | Barracuda 2TB RAID0 Win7 Ultimate x64 / Ubuntu 10.10 x86_64 27" Planar 1080p + Dell 1901FP in portrait Das Keyboard Model S Professional 
PowerCaseMouse
CoolerMaster 800W 80+ Gold CoolerMaster HAF 912 Logitech M570 Trackball 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Boot one computer when a different one boots