WOL (Wake On LAN) on Debian 11 + autostart script in description

  Рет қаралды 5,456

StalkerClubMinsk

StalkerClubMinsk

Күн бұрын

Пікірлер: 11
@kokolols
@kokolols 2 ай бұрын
Thank you for the video and helpful description
@PeteClean
@PeteClean 2 жыл бұрын
Much obliged mate! very good video
@Demitsur1
@Demitsur1 2 жыл бұрын
Thanks man! От души спасибо!
@drawing_a_little
@drawing_a_little 2 жыл бұрын
thank you very much, i needed this for my debian 11, excellent video
@StalkerClubMinsk
@StalkerClubMinsk Жыл бұрын
Update for Systemd: 1. Create enp2s0_wol.sh in /root folder and place next script in it: #! /bin/sh # Enable WOL function via magic packet ethtool -s enp2s0 wol g 2. Set privileges and owner: sudo chown root:root enp2s0_wol.sh sudo chmod +x enp2s0_wol.sh 3. Create .service file which will run enp2s0_wol.sh on startup in /etc/systemd/system. For example, name it like wol_autostart.service with next content: [Unit] Description=Service for Wake On LAN script [Service] ExecStart=/bin/bash /root/enp2s0_wol.sh TimeoutStopSec=30 Type=simple [Install] WantedBy=multi-user.target 4. Set privileges and owner: sudo chown root:root wol_autostart.service sudo chmod 644 wol_autostart.service 5. Enable service autostart: sudo systemctl enable wol_autostart.service 6. After that, you can restart your computer and check the WOL status (you must see the letter "g" insted of "d"): sudo ethtool enp2s0 | grep 'Wake-on' | awk '{print $2}' *Verified on Ubuntu 20.04 LTS.
@gkesport1055
@gkesport1055 2 жыл бұрын
Good first video =)
@firasnacef001
@firasnacef001 Жыл бұрын
When I try to enable the shell script it keeps telling me that enp3s0_wol.sh.service does not exist, even though my file name ends with .sh and not with .sh.service. I tried moving it to /etc/systemd/system and adding the .service extension in the name, but it tells me there’s an error in the installation section of the config file and that it lacks arguments ( WantedBy, RequiredBy, Also, Alias, etc..)
@StalkerClubMinsk
@StalkerClubMinsk Жыл бұрын
Sorry for loooooong response. Update in description.
@conrad004
@conrad004 3 жыл бұрын
Hey, Great vid, thanks. What software would I use to send the magic packets from a windows machine?
@StalkerClubMinsk
@StalkerClubMinsk 3 жыл бұрын
Hi, you can use this software: www.microsoft.com/en-us/p/wake-on-lan-magic-packet/9nblggh51pb3
@itsnotalberto
@itsnotalberto 3 ай бұрын
@@StalkerClubMinskany way to do it over the internet?
Turn on your Server from anywhere!
20:31
Christian Lempa
Рет қаралды 103 М.
БАБУШКА ШАРИТ #shorts
0:16
Паша Осадчий
Рет қаралды 4,1 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
👑 Шифруем файлы и пароли аки Царь с GPG и Pass!
26:53
Диджитализируй!
Рет қаралды 76 М.
Linux Matters 28: Wake-On-LAN for Preschoolers
26:57
The Late Night Linux Family
Рет қаралды 363
(482) Start PCs from remote (Wake on LAN, WOL) for Windows and Linux
13:04
Nextcloud в Docker контейнере
25:56
Pavel Zloi aka EvilFreelancer
Рет қаралды 18 М.
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02
Как создать свое облако с помощью Nextcloud
17:41
Как настроить KDE Plasma (2021)
30:30
PLAFON - Канал о линуксе
Рет қаралды 82 М.
How to Set Up an NFS Server on Ubuntu (Complete with AutoFS!)
36:30
Learn Linux TV
Рет қаралды 64 М.
Wake On Lan - Remotely Turn On Your Computer
5:58
KMDTech
Рет қаралды 13 М.