Registered Member
|
Hello, please, how should I make a command for WakeOnLan to be started when network is ready and KDE initiated?
I have tried: System settings -> Starting and finishing (I translate it from my localisation) ->Automatic start - File with script - here I have put link to bash script which contains:
The script is set to be executable by user. But it doesnt work. Thank you, Martin |
Administrator
|
Are you attempting to wake up another computer, or set your own up so that it will respond to wake on lan commands?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi, it should wake up NAS. In command line it works. Thank you.
|
Administrator
|
Is the "wol" tool located in a normal location? Does providing the full path to the binary have any effect?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Is the "wol" tool located in a normal location?
- I dont know - it is just installed via YAST so I guess it is. Does providing the full path to the binary have any effect? - I havent tried because I dont know the location In any case if I use terminal and write the command, it works. |
Administrator
|
You can use "which" to determine where the "wol" tool is installed.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I have tried to modify called file from Autostart and add complete path but no change.
Is there any log to read whati's happening when the file should run? Thank you, Martin |
Administrator
|
There is no individual log file unfortunately, only the general ~/.xsession-errors file, which is filled with numerous other application's output as well.
Just to confirm, the startup script has a .sh extension, is executable and has a shebang which is valid correct?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]