Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 1996 10:58:21 -0500 (EST)
From:      Chuck Robey <chuckr@Glue.umd.edu>
To:        Colman Reilly <creilly@maths.tcd.ie>
Cc:        Andrew Gallatin <gallatin@isds.duke.edu>, hackers@FreeBSD.ORG
Subject:   Re: Linux emulator and Mathematica 
Message-ID:  <Pine.OSF.3.91.960401105552.2191A-100000@maryann.eng.umd.edu>
In-Reply-To: <9604011003.aa25264@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Apr 1996, Colman Reilly wrote:

>      
> 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, I am running Mathematica, but it only works if I compile the 
linux support statically into my kernel, not with LKMs.  Is this fix you 
suggested (above) one that would possibly explain that?  I haven't tried 
it yet, as it works statically already.

> 
> Colman
> 

==========================================================================
Chuck Robey chuckr@eng.umd.edu, I run FreeBSD-current on n3lxx + Journey2
 
Three Accounts for the Super-users in the sky,
  Seven for the Operators in their halls of fame,
Nine for Ordinary Users doomed to crie,
  One for the Illegal Cracker with his evil game
In the Domains of Internet where the data lie.
  One Account to rule them all, One Account to watch them,
  One Account to make them all and in the network bind them.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960401105552.2191A-100000>