On 10/9/04 11:42 AM, "Mark Talluto" <[EMAIL PROTECTED]> wrote:
case "Linux"
> if there is a file("/sbin/ifconfig") then
> put shell("/sbin/ifconfig") into temp
> get matchText(temp,"HWaddr[* ]([0-9A-Z:]*)",retVal)
> else
> return "An error has occured."
> end if
> break
(Sorry about that last one)
Thanks, Mark... I tried this in my copy of RedHat 9, and I don't get
anything with "HWaddr" in /sbin/ifconfig. When I looked at Mark Waddingham's
approach of doing "cat /proc/net/arp", I didn't get anything either. The
only thing I got with /sbin/ifconfig is the localhost address (127.0.0.1).
So perhaps it's not as universal as we'd think... any suggestions for
getting MAC address in RedHat 9?
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution