galmei, thank you for a very complete answer.
galmei wrote: ↑28. Jul 2018, 07:24
Hello,
did you allow wake-on in the BIOS setup?
WOL is enabled in the BIOS. (Actually, I couldn't find any setting specifically targeting WOL or the network interface, but do have enabled Wake-on-PCI and Wake-on-PCIE, the only settings that seem remotely related.) However, the BIOS is obviously correctly configured, since WOL
does work, but then seems to become disabled under Linux. Before installing Salix, this computer had Windows installed, and WOL always worked without issue.
Do you use a network manager and if so, is the correct WOL source selected in the configuration settings?
No network manager in use, as far as I know (see more below.)
If the interface is shut down in the shutdown process, then the WOL request can not be stored anywhere. So rc.local_shutdown is the wrong place. If you have no network manager in use and if the desired WOL mode is not already activated by default, this can be activated via rc.local.
I have no idea where WOL is becoming disabled. But, I have already moved the enabling command to rc.local. So far, this seems to be working.
In the mentioned scripts in rc.d the called programs run with root rights.
Thank you. That's what I expected, but it's good to have it confirmed.
Finally, you should have given the full output to the manual calls to ethtool:
and
It may then be possible to deduce more from the program outputs. For these calls you have to use sudo, if you do not want to have a real superuser.
Sorry for the lack of information.
It does appear to be working now, so if it continues, I will leave the command in rc.local.
A bit of background: I began with my own home-built microcomputer using just a 2kB ROM monitor program, and graduated to all kinds of OS's, including FLEX and OS-9 (both 6800/68000 based), CP/M (8080/Z80), and MS-DOS among others, so I am no stranger to the command-line. However, I have been using Windows for more years than I care to think about.
During those years, I have from time to time made an attempt become familiar with (or even convert to

) Linux, but without success. I believe that is because I always concentrated too much on the GUI/Window-manager. This time, I am attempting to learn Linux from the ground up, using
only the command-line (no GUI.)
With that in mind, and since this topic is about startup/shutdown scripts, how would I configure Salix to boot into multiuser command-line mode (run level 3,) rather than the current windowed default of run level 4?
In /etc/inittab, I see the lines:
Code: Select all
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
which I presume I would change to:
Code: Select all
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
But are there any other changes required?