[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wake on lan with RTL8111/8168B



Le Lun 11 février 2013 10:29, assirati@nonada.if.usp.br a écrit :
>>> Le Lun 11 février 2013 9:27, assirati@nonada.if.usp.br a écrit :
>>>
>>>> Hello,
>>>>
>>>>
>>>>
>>>> I have an ASUS P8Z77-M motherboard with an onboard RTL8111/8168B
>>>> network card. I want to enable wake on lan for this card. Wake on lan
>>>> itself is workg when I call
>>>>
>>>> wakeonlan <mac address>
>>>>
>>>> from another machine, but when I shutdown the computer, the system
>>>> powers down and about 5 seconds later it powers up again without any
>>>> sending of magic packets. The effective result is therefore a reboot
>>>> and not the wished power down.
>>>>
>>>> I wonder if anyone had the same problem?
>>>>
>>>
>>> I think your problem is not related to the wake on lan, since you
>>> correctly start the needed computer with WoL. Your problem here is to
>>> shutdown, and not reboot.
>>>
>>> So, how do you shut it down?
>>>
>>>
>>>
>>
>> Sorry for not including this in the description. I tried the following
>> ways to shut down.
>>
>> shutdown -h now shutdown -hP now poweroff telinit 0
>>
>> both from runlevel 2 and single. All of them gave the same results.
>
> Also, the problem must be related to WOL somehow, because it restarts
> only if it was turned on by WOL. If I turn it on by the power button, it
> shuts down normally.
>
>

And, how do you connect to that distant computer? SSH, I guess?
If I had the same problem, I would check that the correct profile
(environment variables, rights, such kind of things) related to poweroff
is loaded, since I think ssh does not provide all environment variables to
connected users.


Reply to: