sheep_net module verification on Linux 4.4.0-71-generic

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
User avatar
KnuddlMac
Granny Smith
Posts: 123
Joined: Thu Apr 06, 2017 9:32 am
Location: Southern Bavaria

sheep_net module verification on Linux 4.4.0-71-generic

Post by KnuddlMac »

Anyone got sheep_net installed on Linux 4.4.0-71-generic?

I followed the detailed instructions on Ricky Zhangs's gitHub page on

https://github.com/cebix/macemu/tree/ma ... /NetDriver

and the sheep_net.ko was built correctly and installed OK in the /dev directory.

I couldn't get TCP working on Basilisk II.
But even more strange: After a reboot, the driver is gone (not listed in /dev anymore) and I found the following strange message applying dmesg:

[ 402.306478] sheep_net: module verification failed: signature and/or required key missing - tainting kernel
[ 482.211371] Netfilter messages via NETLINK v0.30.
[ 489.084078] device eth0 entered promiscuous mode
[ 492.121513] device eth0 left promiscuous mode
[ 516.824125] device eth0 entered promiscuous mode
[ 516.837265] device eth0 left promiscuous mode
[ 556.312109] device eth0 entered promiscuous mode
[ 744.588226] device eth0 left promiscuous mode


Would be great if someone could confirm that sheep_net works on recent Linux builds.

Best & happy hacking,
KnubblMac :)

OS: ubuntu 16.04 LTS
running Linux: 4.4.0-71-generic
on an old Core2Duo Intel CPU
User avatar
KnuddlMac
Granny Smith
Posts: 123
Joined: Thu Apr 06, 2017 9:32 am
Location: Southern Bavaria

Re: sheep_net module verification on Linux 4.4.0-71-generic

Post by KnuddlMac »

(solved!) I found a version supporting Kernel 4.2.0
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 00)

Recompiled using sources from:

https://github.com/cebix/macemu/tree/ma ... /NetDriver

Problems with slirp but success using eth0.
DHCP did crash the system.

Great! - Now I have a KnubblMac with real net access on my Linux :)
galgot
Granny Smith
Posts: 119
Joined: Thu Feb 13, 2014 3:59 pm

Re: sheep_net module verification on Linux 4.4.0-71-generic

Post by galgot »

KnuddlMac wrote:(solved!) I found a version supporting Kernel 4.2.0
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 00)

Recompiled using sources from:

https://github.com/cebix/macemu/tree/ma ... /NetDriver

Problems with slirp but success using eth0.
DHCP did crash the system.

Great! - Now I have a KnubblMac with real net access on my Linux :)
Please , is that the same link as your first post ? cause i can't access it...
Looking to build it for a recent Raspbian .
User avatar
rickyzhang
Apple Corer
Posts: 205
Joined: Mon Sep 15, 2014 7:59 pm

Re: sheep_net module verification on Linux 4.4.0-71-generic

Post by rickyzhang »

slirp never works in 64 bit machine. The sheep_net module never needs slirp. It needs your real physical wifi/ethernet interface.
There is an App for that!
https://github.com/rickyzhang82
Post Reply