Это видео недоступно.
Сожалеем об этом.

Turn on your Server from anywhere!

Поделиться
HTML-код
  • Опубликовано: 15 авг 2024
  • In this video, I'll show you how to configure Wake On LAN, a technology that uses a small packet sent over your network to power on your server or computer, even when it's powered off. I'll also explain how to enable Wake On LAN in both your BIOS and OS, as well as how to send the Magic Packet. Plus, I'll show you how to integrate Wake On LAN into Home Assistant and how to route it across networks. #techtutorial #homelab #wakeonlan
    Related Videos/Links
    Home Assistant Tutorial: • Home Assistant and Zig...
    ________________
    💜 Support me and become a Fan!
    → christianlempa...
    💬 Join our Community!
    → christianlempa...
    ________________
    Read my Tech Documentation
    christianlempa...
    My Gear and Equipment-*
    christianlempa...
    ________________
    Timestamps:
    00:00 - Introduction
    00:53 - Community Update
    02:18 - How does Wake on LAN work?
    05:35 - Enable WoL on Linux
    10:57 - Create the magic packet
    13:06 - What about routing?
    16:28 - Set up WoL in HomeAssistant
    ________________
    All links with “`*`” are and/or include affiliate links.

Комментарии • 143

  • @olsenlid
    @olsenlid 10 месяцев назад +71

    Happy to see you back, Christian! Remember, if you don't have your health, all the money in the world won't matter. Mental health is important. Great to see you taking a step back, reflecting and being open about it, and coming back stronger! Wish you all the best for the future!

  • @zyghom
    @zyghom 2 месяца назад +1

    it is amazing that you spent 20 minutes on explaining rather than 1 minute on showing the commands - much appreciated ;-)

  • @myuuiii
    @myuuiii 10 месяцев назад +5

    Wake-On-LAN has been great for me for the exact same reason you said, saving power. I go between two houses so being able to turn it off and on without being there is so useful. Look forward to the rest of the video! 💖

  • @GumShoeNoir
    @GumShoeNoir 10 месяцев назад +6

    Thanks Christian! How topical and timely! I'm glad you're back. I just implemented power monitoring of my servers using HomeAssistant with some Sonoff S31 mini plugs. I can't wait to enhance the UI with a power button. FWIW you can use the Sonoff to switch power but I disable this functionality so that I don't accidently power off a device when I'm blindly exploring wires and by invertedly power off a server without a proper shutdown.

  • @lalala987
    @lalala987 10 месяцев назад +2

    Schön, dass du zurück bist! ❤ bitte geh es gemütlich an, kein Stress. Optimalerweise machst du nur so viel, wie dir spaß macht!

  • @demanuDJ
    @demanuDJ 10 месяцев назад +3

    Happy to have you back on youtube. Keep pushing forward Christian!

  • @MrJackPL
    @MrJackPL 10 месяцев назад +2

    Home assistant part it is what I was looking for! Thank you! It will reduce my bills.

  • @biglipsadboi5475
    @biglipsadboi5475 7 месяцев назад

    I’ve literally spent a week trying to figure this out and this is the only video that properly explains and teaches, thanks so much

    • @christianlempa
      @christianlempa  7 месяцев назад

      Thank you! I'm glad it helped you :)

  • @iongchihang5828
    @iongchihang5828 10 месяцев назад +3

    I just wanted to learn how to configure Wake on LAN in Homeassistant, then you uploaded this video🥰🥰

  • @sekus
    @sekus 10 месяцев назад

    Welcome back! I am still trying to absorb all of your past videos. You have great content on your channel!

  • @entropy_69
    @entropy_69 10 месяцев назад +1

    it's good to see you back, I hope you're doing well! :)

  • @romayojr
    @romayojr 10 месяцев назад +3

    i haven’t watched the video yet but welcome back christian!

  • @marsim4150
    @marsim4150 10 месяцев назад +1

    really happy to see you back 🙂

  • @davemeech
    @davemeech 10 месяцев назад

    Welcome back! Awesome seeing a video from you again. The home lab itch is once again real.

  • @jonathanchevallier7046
    @jonathanchevallier7046 10 месяцев назад

    Happy to see you back Christian. Thank you for this video.

  • @jacobbrown1445
    @jacobbrown1445 10 месяцев назад +2

    Absolutely great video. Thank you for the in-depth explanation of this at the packet level. I’ve heard of this concept in other videos and now finally understand it fully

  • @legendaryz_ch
    @legendaryz_ch 10 месяцев назад +3

    10:36 small addition: the seventh bit of the MAC-address indicates, wether the address is a globally unique address or a generated one:
    bit 0: unique, natural MAC address
    bit 1: generated address
    so for example
    01:23:45:67:89:AB is natural while
    03:23:45:67:89:AB has been created
    ~Tobi

  • @kennethbudts105
    @kennethbudts105 10 месяцев назад +1

    Static arp entry on your router/fw to cross subnets would work as well. Thanks for the awesome content

  • @vaster1142
    @vaster1142 10 месяцев назад

    I was so excited when I saw that you uploaded but I guess I'll come back for this when I finally have my server setup

  • @ApexDesignsAU
    @ApexDesignsAU 10 месяцев назад

    Perfect timing! A few power outages have put me offline recently, glad I will be able to remotely boot back up!

  • @ChrisValcke
    @ChrisValcke 10 месяцев назад

    glad to see you back! great example of using HA to automate the Homelab

  • @patrickcasavant-cssmv
    @patrickcasavant-cssmv 10 месяцев назад

    Hey welcome back to your channel!! :) I hope everything is going well for you! VERY appy to see that you are back! Forget about all others youtuber, all your content is very is absolutely perfect!! You entertain us and help us enormously!! Wish you the best!

  • @plagosus
    @plagosus 10 месяцев назад

    First, welcome back. I am glad that you feel like making videos again and that you enjoy it.
    Second, this is a great topic. Would watch with joy.

  • @aminebc8541
    @aminebc8541 10 месяцев назад

    Welcome back🎉🎉🎉🎉 we missed you, really happy to see you again😊😊😊

  • @Myektaie
    @Myektaie 10 месяцев назад

    Hi, its a beautiful day to see you back! 🎉 hope you had a good time off 😊

  • @AliCaliskan-km5jc
    @AliCaliskan-km5jc 10 месяцев назад

    Nice to see you back! Really missed your awesome content

  • @brodierobson4490
    @brodierobson4490 10 месяцев назад

    Welcome back! this is exactly what I was looking for to

  • @deathpie5000
    @deathpie5000 10 месяцев назад

    I greatly appreciate all of your content ,I'm glad to see you're back. I would love to see more proxmox videos, maybe setting some up for use just like it was a normal desktop being able to RUclips with sound and everything, how to get on board graphics to pass through? Who knows, I love all your videos but when you can I'd love some proxmox :) I watched all the learn Linux TV but I'd still love some from you I think many would :) I know that you're very busy so only if you get time, keep going bud. You are amazing

  • @zairahira3447
    @zairahira3447 10 месяцев назад

    Good to see your video after a long time Christian :)

  • @mason8714
    @mason8714 10 месяцев назад

    welcome back matey! good to see you online :)

  • @vaster1142
    @vaster1142 10 месяцев назад +1

    Man resumed like he never left ❤❤❤❤

  • @markloughtonUK
    @markloughtonUK 10 месяцев назад

    Perfect. I'll use it with the Work Day Integration and automate the startup so it doesn't turn on at weekends or holidays. Thanks !

  • @neodzen
    @neodzen 10 месяцев назад

    Glad to see your new video, Christian!

  • @itssoaztek4592
    @itssoaztek4592 10 месяцев назад

    Excellent. Thank you so much!! The timing couldn't be better.

  • @mauricetroisville646
    @mauricetroisville646 10 месяцев назад

    Willkommen zurück ❤ Ich weiß nicht ob du auch Inspiration durch User annimmst, aber ich fände es toll etwas über die Kombination von Teleport über Tailscale (oder auch andere Mesh-Networks) zu erfahren. 😊 Vielleicht hat ja auch ein anderer User hier Erfahrungen damit und hätte Lust mir ein bisschen Wissen weiterzugeben.

  • @jorgegomez374
    @jorgegomez374 10 месяцев назад

    Glad your back my friend. Take care

  • @Psoewish
    @Psoewish 10 месяцев назад

    This is also really fun to enable on your actual desktop PC and setting up a trigger through say homebridge. Being able to turn my pc on and off whenever is so lovely, I even have it sync with my desk lamp depending on time of day.

  • @ash_lab
    @ash_lab 10 месяцев назад

    Happy to see you back Man !!

  • @accesser
    @accesser 10 месяцев назад

    Looking good man, welcome back hope you had a good break

  • @drbyte2009
    @drbyte2009 10 месяцев назад

    Glad that you are back !!👍

  • @eleuteriogarcia1225
    @eleuteriogarcia1225 10 месяцев назад

    As everyone's saying, I'm happy to see you here again! Willkommen zurück!

  • @diazrocks
    @diazrocks 10 месяцев назад

    awesome video man! great to see you back!

  • @cserajesh
    @cserajesh 10 месяцев назад

    Happry to see you back :) Good content

  • @ZeeKay80
    @ZeeKay80 10 месяцев назад

    Welcome back!! Missed your videos

  • @JavierPerez-fq2fi
    @JavierPerez-fq2fi 10 месяцев назад

    Welcom back Christian! Remember to take it easy after this time off, there is no hurry 😊

  • @mistakek
    @mistakek 9 месяцев назад

    Thanks. This was rather simple, and pfsense has wake on lan service. Now I don't have to walk across the room to turn on my test system when I want to try something on it. 🤣

  • @NetScalerTrainer
    @NetScalerTrainer 10 месяцев назад +3

    My supermicro servers can be powered on by IPMI commands. No OS changes required. When the server boots, the OS just boots up!

  • @Siyual
    @Siyual 2 месяца назад

    Interesting, I'd not heard of HomeAssistant before this video. What I was doing was using a Raspberry Pi Zero with a static IP plugged in via USB to my router. If the router is up, it's up. Then I can VPN into my home network, and terminus into the Pi from my phone to run the WoL script.
    I'll check out home assistant, that looks very useful!

  • @IJayJayI
    @IJayJayI 10 месяцев назад

    This is a wonderful video - great instructions. Another alternative is what I do is use govee smart plugs. After powering off pc safetly remotely i shut the power off in the govee app. In the bios of the server pc i make sure that power turns on when power is detected. So when i turn power back on on the govee smart plug my server will auto power on. Just another alternative :)

  • @hagner75
    @hagner75 8 месяцев назад

    Nice guide!
    One difference, at least for me, was that I had to reboot home assistant for it to pick up the entity.

  • @lukaswalker2342
    @lukaswalker2342 4 месяца назад

    very helpful video love the in-detail explanations

  • @A4orce84
    @A4orce84 10 месяцев назад +4

    Hey Christian - Great video! What do you use to build out your diagrams? I really dig the color scheme and look / feel.
    Keep up the great content, thanks again!

  • @michaelhess4825
    @michaelhess4825 10 месяцев назад +1

    This is a good intro. I would like to point out wol is not used (or shouldn't be) in business/enterprise/carrier networks. Either use remote managed pdu's for physical, or api calls if using virtualization. If you need to use it for bulk updates of clients for example, make sure you have acl's on your switch infrastructure to firewall access from your jump machine only! There are better options, scheduled on/off on the os for example.

    • @jakedrake99
      @jakedrake99 10 месяцев назад +1

      As a newcomer to enterprise IT, why shouldn't it be used?

    • @michaelhess4825
      @michaelhess4825 10 месяцев назад +1

      @@jakedrake99 security. Don't want systems turning on when they shouldn't be. Think about relatively insecure dev boxes, cert roots, anything that isn't hardened.

  • @IwishIcanFLighT
    @IwishIcanFLighT 10 месяцев назад +3

    Great video! Wake On Lan is neat, I've used it a lot in the past. But after trying the PiKVM I highly prefer its reliability with remote ATX control, plus all the other benefits of the PiKVM. TBF it might be a bit overkill if it's just to wake up a secondary server from time to time.

    • @sivi151
      @sivi151 10 месяцев назад +2

      Free vs 300 eur/device does not compare really in the real world

    • @naveentechs
      @naveentechs 10 месяцев назад

      @@sivi151 not if you can make one yourself for less than 100$

  • @mathesonstep
    @mathesonstep 10 месяцев назад

    Great video Welcome back

  • @marcelk.4371
    @marcelk.4371 10 месяцев назад

    Willkommen zurück Christian 😊

  • @rille47
    @rille47 10 месяцев назад

    Great video, I do magic packets and also use the lom interfaces eg. dell-idrac hpe-ilo supermicro-ipmi and send wake up and shut-down instructions via ssh and scripts.

  • @nalle475
    @nalle475 10 месяцев назад

    Welcome back 😊

  • @patrickambrosso
    @patrickambrosso 10 месяцев назад

    Welcome Back Christian!

  • @davidclark9173
    @davidclark9173 10 месяцев назад

    welcome back you were missed!

  • @yifeiren8004
    @yifeiren8004 10 месяцев назад

    Actually, for professional IT, there is HBI that you can use software like MAAS to monitor the server, install system, auto provisioning, etc.

  • @VelislavVarbanov
    @VelislavVarbanov 8 месяцев назад

    ip addr show is fine, but ‘ip a s’ is even better 😂. More so ‘ip a’ as show is the default behavior. A neat thing I learned this week after finally ditching ifconfig.

  • @lucaannuiti675
    @lucaannuiti675 10 месяцев назад

    Thank you for continuing sharing knowledge 👍

  • @Mr.White90
    @Mr.White90 9 месяцев назад

    Hey Christian! It's great to have you back! Keep doing such great videos! One question: What servers are you powering down at night? Are you shutting them down manuall or automatically? Grüße aus Deutschland!

  • @Jan12700
    @Jan12700 10 месяцев назад +2

    Is there a better way with the routing? In the company I work we have a software distribution tool (like the microsoft endpoint configuration manager) that also can send WoL packets, but because the tool runs in the server network and the clients are in their own network section the WoL doesn't work directly with it. We use also a VM that is in the Client network to turn on the clients with a WoL tool. It would be nicer if we just could route the packets directly into the client network.

  • @pcroom595
    @pcroom595 10 месяцев назад

    Welcome back!
    What about when you don't have /etc/network/interfaces => There's only folders there if-up.d, etc. and in there wpasupplicant. Also writing the command in there doesn't execute after reboot.

  • @markandrow4010
    @markandrow4010 10 месяцев назад

    Great tutorial as always, thank you. 👍

  • @awetisimgaming7473
    @awetisimgaming7473 10 месяцев назад +1

    This seems like a pretty cool idea, but I'm sort of stumped when I comes to mine I think, I have full disk encryption with LUKS, and I'm not sure if the home assistant could detect the prompt, and maybe remote input a password, but I think that would be necessary for me to implement this fully on my machine. Also preferably not storing the password on the home assistant device since that's part of the beauty of my encrypted disk is you're screwed until you have me there to type it in or something

  • @Alistarwormwood
    @Alistarwormwood 3 месяца назад +1

    I'm using kubuntu and don't have network/interfaces. Is there somewhere else I can have this script?

  • @ArifKamaruzaman
    @ArifKamaruzaman 10 месяцев назад

    Ey good to see another video.

  • @BGroothedde
    @BGroothedde 10 месяцев назад

    Awesome video. Do you have a video on your terminal configuration? I love the lines before each prompt

  • @Chalisque
    @Chalisque 10 месяцев назад

    I love wake on lan. I have some HP microservers for NAS's that don't need to be on that often. I have a Thinkpad (with broken screen) as a server for common stuff. All are woken by wakeonlan and suspended/powered-off via ssh. I have a web interface running on my Pi3 so that I can control it all through a browser (e.g. from my phone).

  • @johnboyboy919
    @johnboyboy919 5 месяцев назад

    Make sure when your PC is off you can still see link lights
    If you have 2 mac addresses, try both
    and if that doesn't work try the other one
    and if that doesn't work try the other one

  • @0zzy0zwood
    @0zzy0zwood 10 месяцев назад

    Please don`t forget to talk about the Security Risks behind the WOL over Internet. Normally it's save to use it on the Local Network (in most cases), but especially it's used over internet, it could be a not so harmless risk!!!

  • @willraya1791
    @willraya1791 2 месяца назад

    i will probably be setting this up oce i get home for some readon my server went down randomly and im away from it 😢

  • @christianmayr7953
    @christianmayr7953 10 месяцев назад

    Take HPE-Server's und u got iLO remote-Managment or Dell AND you could see the booting procedure! It's the most coolest feature to remote control headless your Server's

  • @ionia-life
    @ionia-life 10 месяцев назад

    Super video!.. Thanks...

  • @PicSta
    @PicSta 4 месяца назад

    Hello Chris, thanks a lot for this video. I was looking for a straight forward video about this topic. Have you ever tried UpSnap for your Wake-on-LAN home lab?

    • @christianlempa
      @christianlempa  4 месяца назад +1

      Thanks for watching! No I haven't but i'll check it out ;)

  • @c0p0n
    @c0p0n 10 месяцев назад +1

    I don't understand why os support would be required to turn on the computer. The os isn't active, since the computer is powered off. What am I missing?

  • @andreas.grundler
    @andreas.grundler 10 месяцев назад

    It would also be great to be able to schedule the startup and shutdown of the servers. I don't know if every BIOS can do that yet.

  • @Anklav24
    @Anklav24 10 месяцев назад

    I've noticed that if my proxmox doesn't shut down properly, such as during a power outage, WoL doesn't work before property reboot. Why?

  • @user-hc4lh8cl5z
    @user-hc4lh8cl5z 10 месяцев назад

    Nice Video, will try this night. But I'd like to know whitch Shell you used for the video. I really need this for Linux

  • @markloughtonUK
    @markloughtonUK 10 месяцев назад

    Anybody know why you have to input the MAC address into the Switch setup and then again into the Button setup ? If you are selecting the switch as part of the button creation process then wont the info already be available to the button ?

  • @Stoney_Eagle
    @Stoney_Eagle 9 месяцев назад

    My servers even have shutdown and reboot on LAN 😁
    I have 2 Dell poweredge servers with IDRAC, but they are on 24-7 and I rarely touch them.

  • @TommYFreaK
    @TommYFreaK 10 месяцев назад

    How you manage your Servers in Visual Studio?

  • @JensAndersson
    @JensAndersson 10 месяцев назад

    Great video, thanks

  • @AntonKrall
    @AntonKrall 10 месяцев назад

    Which terminal / shell are you using on your mac, looks very interesting

  • @brianedge6253
    @brianedge6253 10 месяцев назад

    Love the video Christian! Well, I love all your videos, and have been eagerly waiting for anything new. This is a great topic, and I have been using WoL for years, but never was able to get it work on my Linux Server. Tried your method, and can't do it without sudo, so the /etc/network/interfaces change won't work on reboot. :(
    Anyone on here know the solution? I know this isn't a forum, but if you have an easy answer, I'd appreciate a reply. :)

  • @tld8102
    @tld8102 10 месяцев назад

    is it safe to leave this feature turned on? what if a device on the network is compromised

  • @postnick
    @postnick 10 месяцев назад

    I have a small web service on a Rasbery Pi where I can go to click a button to wake up any of my devices.

  • @byrd203
    @byrd203 10 месяцев назад

    I do use windows server in my home lab setup. Yes, I'm been using it from Windows Server 2000 then I went to Server 2003 then Home Server 2003 then Home Server 2011/2008R2/SBS11 SBS11 boot CD from Dell creates the Driver Partion then it installed my Drivers right from Factory then I setup the 20211 System years ago this way then I Went to Synology Nas but still use Server 2022 yes love it yes SBS 2011 is the same platform as home server 2011 same family so funny though no one tells you that but I Knew they Both run 2008R2 so lol worked perfectly installing those drivers manually Locks up the system Dell was weird with that OS

  • @Morpheus2515
    @Morpheus2515 9 месяцев назад

    Love your videos - which app are you using on your phone to use WOL ?

    • @christianlempa
      @christianlempa  9 месяцев назад +1

      Home Assistant is pretty easy

    • @Morpheus2515
      @Morpheus2515 9 месяцев назад

      Thanks will try it out later :)@@christianlempa

  • @mmuneebahmed
    @mmuneebahmed 9 месяцев назад +1

    How to WoL to a VM or even a container?

    • @christianlempa
      @christianlempa  9 месяцев назад

      You don’t need it on a VM or Container, just use remote commands :D

  • @psicodelico6
    @psicodelico6 10 месяцев назад

    Propagate VLAN to Client works?

  • @TomBroyer
    @TomBroyer 9 месяцев назад

    What Terminal are you using in Section 4 of the video? looks nice

  • @ravipratapmishra7013
    @ravipratapmishra7013 10 месяцев назад

    Will it work even if server is encrypted(hardisk)?

  • @welovetech7357
    @welovetech7357 10 месяцев назад

    hi, is it possible for os to detect if it was powered by wol or not,?? i have pc whith dualboot windows/linux and i want to set grub tu run windows on normal boot and linux on wol

    • @welovetech7357
      @welovetech7357 10 месяцев назад

      second question, you have activated wol at the os level do that change anything to grub ?

  • @BurkenProductions
    @BurkenProductions 10 месяцев назад

    What software are you making those network drawings in? Looks cool

  • @iamnotaskynet9038
    @iamnotaskynet9038 10 месяцев назад

    Did you know that it is uncomfortable to watch command prompts while there is youtube player options play/stop/forward/timeline/etc ??????
    Are you doing it for users suffer?

  • @deep_utsav
    @deep_utsav 10 месяцев назад

    Any idea on how I can set it up on ubuntu machine. I can't seem to find the /etc/network/interface file on the system

    • @christianlempa
      @christianlempa  10 месяцев назад +1

      Yeah, that should be put inside the a yaml config in netplan /etc/netplan/...yaml and then add a "post-up" section under your interface

    • @deep_utsav
      @deep_utsav 10 месяцев назад

      @@christianlempa Thanks I'll try it out