By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,972 Members | 1,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,972 IT Pros & Developers. It's quick & easy.

How I know the net card is link off?

P: n/a
In linux, c program, How I know the net card's link is off?
I had no idea now.
Thanks

Nov 15 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
canbaby wrote:
In linux, c program, How I know the net card's link is off?
I had no idea now.


It's not ANSI C but I will answer you always:
Probably with an ioctl call but I'm not sure.
Try to get and understand the source code of the package "mii-tool" in
Linux.
http://nibiru.borg.metux.de:7000/wik...x.php/mii-tool

--
Best regards,
Stephan FERRARO - NOOFS Core Developper
{ EPITECH. } 5th year computer science student in Paris.
Nov 15 '05 #2

P: n/a
canbaby wrote:
In linux, c program, How I know the net card's link is off?
I had no idea now.
Thanks

What do you think "net card's link is off" means in a C language group?
Go away now, get a clue, and if you still need c.l.c, come on back.

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Nov 15 '05 #3

P: n/a
Can you gave me a clue? If you had a clue.
I know I get in the wrong door, sorry.

Nov 15 '05 #4

P: n/a
I try it, all run ok, thanks.

Nov 15 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.