Ask a Question related to SCO, Design and Development.
-
David Huang #1
How to get the mac address in the Unixware 2.1.3
In Unixware 7.X, the net driver name is /dev/netX (just use the
ifconfig -a to see). Then we could use the ioctl and MACIOC_GETADDR to get
the address.
#define LAN_DEV0 "/dev/net0"
if ((dev_fd = open(net_buf, O_RDONLY)) != -1) {
si.ic_cmd = MACIOC_GETADDR;
si.ic_len = sizeof(dce_802_addr_t);
si.ic_timout = -1;
si.ic_dp = (char *)addr;
ret = ioctl(dev_fd, I_STR, (char *)&si);
if (ret == -1) {
close(dev_fd);
continue;
}
But in the Unixware 2.x, the net driver name is more like the driver name
( sample : TCM5X90 , using the ifconfig -a could see).
So in this situation , how could we get the mac address ????
David Huang Guest
-
Anyone have experience with dst_sync on Unixware 7?
We had a problem with one of our servers adjusting two hours ahead for daylight savings time instead of one. Apparently what happened was that it... -
Is 'ntop' supporting SCO Unixware 7?
I found out 'ntop' would be very useful for us. However, it didn't work properly when I did ./configure after I downloaded it. We are using SCO... -
unixware 2 : how to config tcp/ip
Hi, there, I need do some code porting on unixware 2. (yes, very old, uw2.1.3 ), and I have 3com 3c509tp lan card ( another one is intel pro100+... -
rpm Problems on SCO UnixWare 7.1.1
I am having problems using the rpm v. 3.0.6 that comes with UnixWare 7.1.1. Whenever I give it any command other than --help, --showrc, or --version... -
Unixware Evaluation
On Sat, Jul 19, 2003 at 08:45:06PM +0100, Graham Wharton wrote: Perhaps you might get some ideas here: http://www.opensource.org/sco-vs-ibm.html...



Reply With Quote

