Adun
asked on
Get MAC Address under DOS
Hi there,
Can some1 teach me how to get my network card MAC address in dos by pure programming(Turbo C)?
I know I can find it by looking at the sticker on my networkcard. But I just wanna find it by programming. And i dont want to get it by parsing it from the output of, say, ipconfig /all or any other software.
Any ideas?
Ultimately i would also like to write a software that can test my network card.
my environment is win98 dos (not the dos box in windows), intel 8255xbased 100 network adapter.
Any information is deeply appreciated.
THANKS!!!
Can some1 teach me how to get my network card MAC address in dos by pure programming(Turbo C)?
I know I can find it by looking at the sticker on my networkcard. But I just wanna find it by programming. And i dont want to get it by parsing it from the output of, say, ipconfig /all or any other software.
Any ideas?
Ultimately i would also like to write a software that can test my network card.
my environment is win98 dos (not the dos box in windows), intel 8255xbased 100 network adapter.
Any information is deeply appreciated.
THANKS!!!
Which network drivers do you have loaded? Netware? or straight windows?
does ipconfig/all not work?
ASKER
to djluff,
i am using dos of win98.( not windows ms-dos command windows).
i loaded the driver (dos version) provided by intel.
to stevemjp
ipconfig /all does work. but i just wanna get the MAC address thru programming, like go to the networkcard, issuse a command to some of its register, then the network card feed back its MAC address.
Thank you for your time.
Any information is wecome!
i am using dos of win98.( not windows ms-dos command windows).
i loaded the driver (dos version) provided by intel.
to stevemjp
ipconfig /all does work. but i just wanna get the MAC address thru programming, like go to the networkcard, issuse a command to some of its register, then the network card feed back its MAC address.
Thank you for your time.
Any information is wecome!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Adun:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.