[Ukfreebsd] Question about linprocfs
Mark Blackman
mark at exonetric.com
Fri May 27 17:36:07 BST 2011
On 27 May 2011, at 16:05, andy thomas wrote:
> I'm trying to get the Linux binary of the Magma computational algebra software package running on amd64 FreeBSD 8.2. When this binary is executed on a Linux system, it reads /proc/net/dev to determine the system's MAC address and compares this with an encrypted license file to decided whether or not the system is licenced to run the software.
[snip]
>
> Can anyone think of a reason for this? It ought to look something like this (from a Debian Squeeze system):
>
> andy at tornado:~$ cat /proc/net/dev
> Inter-| Receive | Transmit
> face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
> lo:79938338 564655 0 0 0 0 0 0 79938338 564655 0 0 0 0 0 0
> eth0:4743228657 6582199 0 0 0 0 0 224017 558374203 2678846 0 0 0 0 0 0
> pan0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>
I don't see a MAC address there. However, I'd be tempted to fake it out and create a file with the contents it
expects at that location (as you presumably don't linprocfs for anything else)
- Mark
More information about the Ukfreebsd
mailing list