Page 1 of 1

Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 4:50 pm
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

Re: Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 5:16 pm
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.

Re: Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 5:47 pm
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?

Re: Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 6:17 pm
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

Re: Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 7:01 pm
by Ronald P. Regensburg
In the older 32-bit only BasiliskII builds slirp works fine, also on macOS Sierra.

Re: Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 8:11 pm
by KnuddlMac
Thanks for clarification, so it is really 'just' the 64bit side impacted. :smile:

Re: Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 8:16 pm
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.

Re: Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 8:30 pm
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

Re: Ethernet support with OSx 10.12.6

Posted: Mon Sep 04, 2017 8:45 pm
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

Re: Ethernet support with OSx 10.12.6

Posted: Tue Sep 05, 2017 2:14 am
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.

Re: Ethernet support with OSx 10.12.6

Posted: Tue Sep 05, 2017 9:57 am
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!

Re: Ethernet support with OSx 10.12.6

Posted: Tue Sep 05, 2017 11:02 am
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

Re: Ethernet support with OSx 10.12.6

Posted: Tue Sep 05, 2017 12:50 pm
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: :!:

Re: Ethernet support with OSx 10.12.6

Posted: Wed Sep 06, 2017 8:33 am
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: