jpoliv / wakeonlan

Perl script for waking up computers via Wake-On-LAN magic packets
318 stars 31 forks source link

Program installs but won't run #14

Open pHROZEN-gHOST opened 3 months ago

pHROZEN-gHOST commented 3 months ago

I have been running windows since v3. I decided to move over to Linux. So please be kind to this noobie.

I am running Linux Mint 21.3. As I have done with other software, I installed the program from the software manager. When the install completes, there is a "launch" button. It will not run. Am I missing something?

I REALLY want to have this program working.

Master2386 commented 1 month ago

Same issue for me. Here some more Details: "/opt/homebrew/bin/wakeonlan: bad interpreter: /usr/bin/perl5.30: no such file or directory" The Version installed from Homebrew expects perl 5.30. But macOS 15 (Sequoia) has perl 5.34.

4648100 commented 1 month ago

Same issue for me. Here some more Details: "/opt/homebrew/bin/wakeonlan: bad interpreter: /usr/bin/perl5.30: no such file or directory" The Version installed from Homebrew expects perl 5.30. But macOS 15 (Sequoia) has perl 5.34.

Using the homebrew version on a Mac computer I had the same issue after upgrading to macOS 15. Changing the first line in the wakeonlan executable will make it work again:

From

!/usr/bin/perl5.30 -w

to

!/usr/bin/perl -w

See also: https://github.com/jpoliv/wakeonlan/blob/master/wakeonlan

101Dude commented 1 month ago

@4648100

I made that change and still when I run wakeonlan -n -i 255.255.255.255 I get the help page. Am I doing something incorrectly?

EDIT

Yes I was. I followed the man page but I didn't see [hardware_address] at the end. ugghhh