Ethernet support with OSx 10.12.6

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

Ethernet support with OSx 10.12.6

Post by KnuddlMac »

Dear MacEmuAficionados, :wink:

Is there a possibility to get Ethernet support running with OSx 10.12.6 ?
I downloaded and installed a couple of BII's, but I can't get Ethernet working similar to my Linux installation.

It would be great if you could point me to the right link.

The emulation is working like a charm, I am very impressed!

Thanks to all helping hands and happy hacking!

KnuddlMac
User avatar
rickyzhang
Apple Corer
Posts: 205
Joined: Mon Sep 15, 2014 7:59 pm

Re: Ethernet support with OSx 10.12.6

Post by rickyzhang »

If you have time and knows programming, you can fix slirp and make it 64 bit clean. I believe slirp can runs in all Mac OS X, Windows and Linux. Someone sent a pull request to fix it before but it didn't get merge in the end.
There is an App for that!
https://github.com/rickyzhang82
User avatar
KnuddlMac
Granny Smith
Posts: 123
Joined: Thu Apr 06, 2017 9:32 am
Location: Southern Bavaria

Re: Ethernet support with OSx 10.12.6

Post by KnuddlMac »

Thanks for your quick reply, Ricky!

Is there a possibility to run BII just in the 32bit mode with Ethernet support?

I tried the tuntap solution w/o success as lined out in: http://www.emaculation.com/forum/viewto ... f=6&t=8067

It seems like more recent versions of OSx don't support the network side anymore.
Could you confirm my impression?
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: Ethernet support with OSx 10.12.6

Post by 24bit »

SLIRP is still working on my side.
This is SheepShaver, but Basilisk II is very similar. ;)

Image

The harder part for Basilisk II is finding a browser that will still work, kind of.

Image
Last edited by 24bit on Mon Sep 04, 2017 8:18 pm, edited 1 time in total.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Ethernet support with OSx 10.12.6

Post by Ronald P. Regensburg »

In the older 32-bit only BasiliskII builds slirp works fine, also on macOS Sierra.
Last edited by Ronald P. Regensburg on Mon Sep 04, 2017 7:02 pm, edited 1 time in total.
Reason:  
User avatar
KnuddlMac
Granny Smith
Posts: 123
Joined: Thu Apr 06, 2017 9:32 am
Location: Southern Bavaria

Re: Ethernet support with OSx 10.12.6

Post by KnuddlMac »

Thanks for clarification, so it is really 'just' the 64bit side impacted. :smile:
User avatar
rickyzhang
Apple Corer
Posts: 205
Joined: Mon Sep 15, 2014 7:59 pm

Re: Ethernet support with OSx 10.12.6

Post by rickyzhang »

KnuddlMac wrote:Thanks for your quick reply, Ricky!

Is there a possibility to run BII just in the 32bit mode with Ethernet support?

I tried the tuntap solution w/o success as lined out in: http://www.emaculation.com/forum/viewto ... f=6&t=8067

It seems like more recent versions of OSx don't support the network side anymore.
Could you confirm my impression?
No, as rest of others points out that you can use 32bit build BII binary here.

However, if you build BII from latest source code in upstream git repo with modern day Mac OS X 64 bit compiler, you can't get network working.
There is an App for that!
https://github.com/rickyzhang82
User avatar
KnuddlMac
Granny Smith
Posts: 123
Joined: Thu Apr 06, 2017 9:32 am
Location: Southern Bavaria

Re: Ethernet support with OSx 10.12.6

Post by KnuddlMac »

:???: OK, now I am kind of confused.

I didn't compile recently myself and did use the following version:

Basilisk II 1.0, Mac OS X port 19, build 2014-03-01

It was described as 32bit and I can't get Ethernet start working.

As I understood the instructions here in the forum, I downloaded the following blob:

http://www.xs4all.nl/~ronaldpr/basilisk ... 140301.zip

Shall I use a different version? It seems like compiling a new version from git wouldn't work with recent versions of OS X.

Would be great, if you could shed some light on the right path. J
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: Ethernet support with OSx 10.12.6

Post by 24bit »

Thats the build I´m using too.
Which OS are you using? In 7.5.3 for example, you have to set Control Panels / Network to EtherTalk Built in.

Image
User avatar
rickyzhang
Apple Corer
Posts: 205
Joined: Mon Sep 15, 2014 7:59 pm

Re: Ethernet support with OSx 10.12.6

Post by rickyzhang »

KnuddlMac wrote:
http://www.xs4all.nl/~ronaldpr/basilisk ... 140301.zip

Shall I use a different version? It seems like compiling a new version from git wouldn't work with recent versions of OS X.

Would be great, if you could shed some light on the right path. J
If you use BII binary here, you should use slirp. In Macintosh guest OS, choose DHCP in TCP/IP control panel.

I just tested it in Sierra. It works.
There is an App for that!
https://github.com/rickyzhang82
User avatar
KnuddlMac
Granny Smith
Posts: 123
Joined: Thu Apr 06, 2017 9:32 am
Location: Southern Bavaria

Re: Ethernet support with OSx 10.12.6

Post by KnuddlMac »

24bit>>

I am using 7.5.3 Rev 2 as guest OS.
On the browser side I am ICab'ed and have a variety of different browses running on a Mac Classic II.
Right now I am just trying to ping my router using MacTCP Watcher and Anarchie Pro but w/o success so far. J

Wow! I need to learn how you did integrate these nice screen shots in your post. - I'll browse through the 'how to' section to find some instructions here in the forum.

Ricky>>

Thanks also for your confirmation, so the bad end is with me and this is something I am - hopefully - able to fix. :)
My settings are Open Transport Networking.
I noticed that the The Network control panel did vanish, when I switched to Open Transport.
In the TCP control panel DHCP doesn't work and also manual settings did fail.

I'll give it a try again - Thanks for all your kind support!
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Ethernet support with OSx 10.12.6

Post by Ronald P. Regensburg »

KnuddlMac wrote:I noticed that the The Network control panel did vanish, when I switched to Open Transport.
After switching to Open Transport, "Network" and "MacTCP" control panels should be replaced by control panels "AppleTalk" and "TCP/IP".

Make sure that slirp networking is enabled. In BasiliskIIGUI (Ethernet interface > slirp).

Set TCP/IP to Ethernet and DHCP server. It should get the addresses from the slirp networking as soon as you try IP network access (for instance with a browser).

If that does not work, you can also configure TCP/IP control panel manually for slirp networking:
IP Address: 10.0.2.15
Subnet mask: 255.255.255.0
Router address: 10.0.2.2
Name-server address: 10.0.2.3
User avatar
KnuddlMac
Granny Smith
Posts: 123
Joined: Thu Apr 06, 2017 9:32 am
Location: Southern Bavaria

Re: Ethernet support with OSx 10.12.6

Post by KnuddlMac »

It is blowing my mind, because it works right now!

After tons of unsuccessful attempts manually and with DHCP arranging a connection, I noticed that the BII folder name was inaccurate.
I changed the name, wanted to start BII but the ROM file couldn't be found. - So I changed the name back, started BII and this time I tried opening my web server with an editor and BANG! it finally worked!

Ronald's hint was also important, that the DHCP values will be pulled in, by the first connection request.
I was used to just activating DHCP and values get populated by the DHCP server.

Thank you very much Ronald, you made my day! :smile: :!:
User avatar
KnuddlMac
Granny Smith
Posts: 123
Joined: Thu Apr 06, 2017 9:32 am
Location: Southern Bavaria

Re: Ethernet support with OSx 10.12.6

Post by KnuddlMac »

Maybe another important detail:

Right before Ethernet access became available, I did also remove the TunTab drivers for AppleTalk. - Just in case someone else might experience a similar pain. :wink:
Post Reply