Almost the same patch as mine: https://github.com/AdrianBan/rp-pppoe/blob/master/debian/patches/09-fix-kernel-mode-detection.patch I've notice that in your case you eliminate the net/ethernet.h Kind regards, Adrian