• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

programing

Disabling a NIC
how to disable a nic interface by a small program written on any programing language
probably a small script or so
0
iliriyan
Asked:
iliriyan
  • 7
  • 4
1 Solution
 
iliriyanAuthor Commented:
thanx
0
 
SunBowCommented:
Rather vague, doncha know? How's about:

Answer:  Call ShutDown
0
 
SunBowCommented:
(note also, platform dependencies involved)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
cookreCommented:
This can often be done at the hardware level, but that is NIC dependent, i.e., the method to disable will vary widely.

Doing it in software is OS dependent.  Even within the Windows family, the method of disabling varies.

Do you want to do this for a particular box or for whatever box the program is running on, regardless of NIC model and OS?
0
 
iliriyanAuthor Commented:
in a box where the program will shutdown and start the NIC
on OS windows.
0
 
SunBowCommented:
> in a box where the program will shutdown and start the NIC on OS windows.

This is generally not available where requirements involve heterogenous Windoze environments. Namely, before the Windows UI is sufficiently stable for user access, the stack (including NIC) also has to be stable, a networking prerequisite if you will. Thus, all the times peole experience messages such as "you must shutdown (or restart) computer to complete the process".  Even newer OS, where there are times that the messagebox does not appear, there are substantial networking needs that still require the reboot (not just a logoff) to complete the rebuilding process.

Depending on application need, this is possible, where several restrictions can be applied to requirements. But in general, not all that feasible. Also has many OS dependencies, so any desire for cross platform compatibility must head to back-burner.
0
 
SunBowCommented:
> "program will shutdown and start the NIC"
Answer:  Call ShutDown /Restart
0
 
iliriyanAuthor Commented:
does not works mate
0
 
SunBowCommented:
?
0
 
SunBowCommented:
Should work on common nic's any platform.
Only probs s/b if NIC runs separate intelligence independently.  You might check bios to disable loading Windows from the network.
0
 
iliriyanAuthor Commented:
not bad
i have don it
with one two three and go
0
 
SunBowCommented:
?                                      (thanx)
Good Fortune!                           :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now