Date: Mon, 01 Apr 1996 10:02:57 +0100 From: Colman Reilly <creilly@maths.tcd.ie> To: Andrew Gallatin <gallatin@isds.duke.edu> Cc: hackers@freebsd.org Subject: Re: Linux emulator and Mathematica Message-ID: <9604011003.aa25264@salmon.maths.tcd.ie> In-Reply-To: Message from Andrew Gallatin dated today at 22:13.
index | next in thread | raw e-mail
Hi,
I just did a search of the FreeBSD mailing lists & found your reports
of success in running Mathematica for Linux under FreeBSD 2.1R after
adding the sigreturn call from -current into the 2.1R version of the
linux emulator.
I'm attempting to run Mathematica 2.2.4 under 2.1R and/or 2.2-current
using the network licensing scheme and running into some problems. I
was wondering what version you managed to make work & if you're using
the network or one-off licensing scheme.
The network. To make the network run, you have to emulate the SIOCHWADDR call
from linux. This returns the ethernet address of your machine.
Um. Horrible code segment follows.
Insert into linux_ioctl, in linux_ioctl.c, inside the first switch.
case 0x8927:
hwaddr[0]=0x00;
hwaddr[1]=0x00;
hwaddr[2]=0xc0;
hwaddr[3]=0x27;
hwaddr[4]=0xe5;
hwaddr[5]=0x66;
return copyout((caddr_t)hwaddr, (caddr_t)args->arg,6);
The 6 numbers need to be your ethernet address in hex. I'm sorry, this is a
disgusting hack, but I still haven't had time to fix it
Colman
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9604011003.aa25264>
