Tuesday 21 June 2016

Linux Wake on LAN with Realtek RTL8111F

So I splashed out and bought a new motherboard, CPU and RAM after finding my motherboard BIOS was last updated in 2010 and upgrading the RAM was going to cost more than a new combo.

Quite a difference.  I can compile Firefox, LibreOffice, Webkit etc in about 20 to 25 per cent of the time it used to take.

I've converted everything from old MBR to GPT and booting with UEFI boot files which is quite cool.

One thing I couldn't get going was wakeonlan.

I set wakeonlan to magic packet (g in ethtool) but it would not wake up. I'm using kernel 4.6.2 so that's the most recent stable for Gentoo.

After some searching I found another network problem with the RTL8111F that they fixed by using a driver from Realtek's web site.

So I went to this page

http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false

and downloaded the driver for 3.X kernels.  I build kernels in the monolithic style so, disabled the RTL8168 driver (I think the kernel calls it that or rtl8169) and rebooted.  The download from ReakTek has a script that  unloads the rtl8168 module and compiles the new one and loads it.

Low and behold, after that WoL started working.  So maybe the kernel driver for the Realtek cards needs some love.

1 comment:

Unknown said...

Did you hear there's a 12 word phrase you can communicate to your crush... that will induce deep feelings of love and instinctual appeal for you deep within his heart?

Because hidden in these 12 words is a "secret signal" that fuels a man's instinct to love, cherish and care for you with his entire heart...

12 Words Will Trigger A Man's Desire Impulse

This instinct is so hardwired into a man's brain that it will drive him to work better than before to make your relationship as strong as it can be.

Matter of fact, triggering this mighty instinct is so essential to getting the best possible relationship with your man that the second you send your man one of the "Secret Signals"...

...You'll instantly find him open his heart and mind for you in a way he's never experienced before and he will identify you as the one and only woman in the galaxy who has ever truly attracted him.

Gentoo grub-probe not working

 I have a bunch of history commands I run when I d a new kernel etc and one stopped working. grub-mkconfig would fail with grub-probe for /....