Great news! Â The excellent A/UX capable emulator Shoebill, now has working Ethernet support! Â The sad news is that it only supports the TUN/TAP interface. Â So Windows users are kind of left out in the fun.
Except, I’ve been here before with SIMH ages ago. Â So I dusted off my source code, and injected it into Shoebill. Â The first issue I had was that SLiRP was rejecting all the inputted frames, because of invalid frame length. Â Even more weird is that ARP worked, and I could see the 10.0.2.2 and 10.0.2.3 virtual IP’s but TCP and UDP outbound wouldn’t work at all.
It took me longer than it should have but although this code worked great with GCC 2.7 and 3.0, 4.x breaks it. Â And it’s the same reason why Shoebill originally didn’t work on Win32, the blasted packed structures! Â So adding the ‘-mno-ms-bitfields’ flag to GCC is all it took, and now I could ping 10.0.2.2 for about 5-7 pings until SLiRP would crash. Â I tried all kinds of stuff trying to see if there was an issue with SLiRP, but I should have payed closer attention to the debugger, with all those threads flying around. Â It turns out Shoebill was trying to read & write a the same time, which caused SLiRP to crash as it is not re-entrant. Â I tried to place mutex’s on every SLiRP call but that ended up having SLiRP not process any packets. Â Very strange. Â I then reduced it to where I read the frame out of SLiRP and pass it to Shoebill, and where Shoebill write’s a frame out the SLiRP. Â And much to my amazement I can run ‘worms’ just fine!
So after a minute of worming and pinging I called it ‘good enough’ and rebuilt a production binary, and packaged up my source code.
For anyone who want’s to play, my Win32 EXE is here, and the source code I am using is here.
Next needed is /dev/bpf and vde2 support. 😉
I wsa thinking of hecnet with appletalk… I am pretty sure I can do both at the same time, shunt the appletalk over a bridge, and slirp the tcpip.. .. pcap should be easy too, I can uh ‘borrow’ the code from SIMH.
DOSBox SVN builds also use PCap for its NE2000 emulation, it should be trivial to port. Will Appletalk/EtherTalk DDP work over a PCap interface without any additional code?
If not, GSport 0.31 has some pretty nifty Appletalk support via the SCC emulation (since there was never any native EtherTalk devices for the platform). It has a LLAP stack that uses PCap to communicate with the outside world in addition to the Ethernet card emulation (which is TCP only).
Also, I think OpenVPN comes with a TUN/TAP interface driver for Windows, although PCap is a bit more end user friendly.
Windows has a tuntap drive via the OpenVPN project but as a user I find it incredibly klunky, especially on *NIX with the need to bridge and all that… I know how to do it, but honestly it’s too much work!
Ages ago I did a SIMH direct to hecnet, I’ll have to dig up that code and see if it works now that I know how to configure DecNET, and alter it.. I think an AppleTalk hecnet would be cool… no?
I don’t think A/UX supports the DECNet protocol at all.
Ethertalk support would be cool. I like being able to access AFP file shares and printers from my emulated IIgs.
I doesn’t support decnet at all, I’m talking about running ethertalk on a hecnet like network. Although Im having issues getting ethertalk running for some reason.
I’ve read that some ethernet adapters are TCP/IP only for some reason, and I have a feeling the ae0 interface is tcpip only.
Somebody already kinda did that: http://synack.net/~bbraun/avpn.html
Its certainly a neat idea. The Apple Ethernet driver should support EtherTalk. I had a register compatible Asante card in my old IIci that worked fine with both protocols out of the box under A/UX 3.1. Maybe this is of help? http://support.apple.com/kb/TA43860?viewlocale=en_US
I can only say ‘hooray!’. I’m still amazed at this emulator, really. Out of nowhere and working so sweet.
If its author is reading: I tip my hat to you, sir.
pruten hangs out at emaculation, you should let him know.. 🙂
Need username and password for downloading files!
hit escape, and it’ll fail. read the page. the username and password are right there.
Because of that idiot Gerhard W. Recher.
What! I get username : uXXr and pass : openXXXss93 and trying to download with IDM but fails!
Don’t use any weird downloading things, as it will give you a 404. You have to read the error message to get the file.
Sorry, but I can’t link files directly anymore.
The link to the source code only goes to the win32 binary… can you provide the link to the Shoebill+SLiRP source?
http://vpsland.superglobalmegacorp.com/old/install/MacOS/shoebill/win32-slirp/shoebill-source+slirp-21112014.7z appears to be the source code download link actually? from https://www.emaculation.com/forum/viewtopic.php?f=7&t=8288&start=275#p49104