Questions tagged [nic]

A Network Interface Card is a computer component which connects to a physical network in order to send and receive data.

321 questions
2
votes
2 answers

Getting the MAC address in Windows 7 when NIC is disabled using C#

I need a way to retrieve the MAC address of a machine with Windows 7 when its Network Interface Card is disabled and using C#. I searched on the web and also refereed to the following links. Using the answer in the 2nd link I could get the required…
Dulini Atapattu
  • 2,735
  • 8
  • 33
  • 47
2
votes
0 answers

Setting MTU in NIC with powershell

need help I’m facing problem with the below script that show several steps: print parameters from NIC before change change MTU 8000 print parameters from NIC after change commands: Get-NetIPInterface | where {($_.interfacealias -eq "Delivery" )}…
2
votes
1 answer

In Terraform, can I choose whether or not a variable is addressed based on a different Variable? NIC, Dynamic Static

I am trying to see if there is a way in Terraform code to optional provide the need for a variable based on the input of a different variable. For example, I have a module that creates a NIC within Azure, the code can look like the…
aseb
  • 274
  • 2
  • 11
2
votes
1 answer

Getting Cannot parse the request. (ErrorCode: InvalidRequestFormat) on Module Update-AzureRmVmss on PowerShell

I am trying to add a second subnet to a Azure Virtual Machine Scale Set using PowerShell. The code I'm using is: Add-AzureRmAccount Select-AzureRmSubscription -SubscriptionId "XXXXXXXXXXXXXXXXXXXXXXXXXXX" $vnetname = "confvnet" $loc = "West…
Ronny Forberger
  • 393
  • 1
  • 8
  • 23
2
votes
1 answer

Option rom: PXE design

During the study of the PCI firmware specification and the looking at the existing implementations of the PXE Boot Agents, I had a misunderstanding of how this should work. According to PCI Firmware Specification, during the POST procedure the BIOS…
PBelous
  • 21
  • 1
2
votes
1 answer

What are NIC MMIO regions used for?

I'm confusing about the usage of NIC (Network interface card) MMIO regions. For example, this is the information of a NIC on my computer 03:02.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) …
Hoang Do
  • 325
  • 1
  • 14
2
votes
1 answer

Adding a new NIC to a Docker container in a specific order

I'm trying to have a CentOS container with two network interfaces. After going through the Docker docs and "googleing" a bit, I found this GitHub issue comment that specifies how to achieve this. Following it, I created a new network (default type:…
Adri C.S.
  • 2,909
  • 5
  • 36
  • 63
2
votes
0 answers

Python -- put wireless card in Monitor Mode without `subprocess` or `os.system`

OBJECTIVE Programatically put wireless card into Monitor mode without using subprocess or os.system I am running Linux and I understand that I could ifconfig wlan0 down iwconfig wlan0 mode Monitor ifconfig wlan0 up This could be done with…
ma77c
  • 1,052
  • 14
  • 31
2
votes
0 answers

NIC binding for c# applications

I need to be able to route all traffic from my application through a NIC of my choosing and be able to inspect and modify HTTP traffic. Currently, I can achieve my goals with a roundabout method due to a lack of time/resources: client -> http proxy…
Yang
  • 483
  • 1
  • 5
  • 9
2
votes
1 answer

Get Intel Network Interface Card Supported RSS Descriptor Queue Number

Is there a way to get the supported number of Receive-Side Scaling descriptor queues for a Intel Network Interface Card in Centos5 programmatically? For example for I210 I want to get 4, for I350 I want to get 8. I will use that value on…
Esref
  • 336
  • 1
  • 7
  • 18
2
votes
1 answer

Routing the packets using mac address in policy routing for two NIC device

I am using policy based routing in my PC having two NICs.This is the content of script which i use to run at startup to configure the routing. My two NIC's IPs are 192.168.1.123/24 and 192.168.1.124/24 echo "1 first">> /etc/iproute2/rt_tables ip…
Ron
  • 21
  • 1
2
votes
2 answers

OpenWrt in Microsoft Azure or Hyper-V Virtual Machine

Goal: I would like to run OpenWrt in a Microsoft Azure Virtual Machine. Problem: From researching it appears that Azure and Hyper-V have the same issue where the Virtual NIC are not detected. Supposed Solution: Supposedly the solution is to patch…
longlostbro
  • 528
  • 2
  • 7
  • 24
2
votes
1 answer

link state notification in Java

Is there any way in Java to receive event notifications whenever link state changes on a computer (connected, disconnected, up, down, etc)? Thanks!
wwh37
  • 41
  • 3
2
votes
1 answer

Hadoop Cluster datanode network error

I have a small cluster with Cloudera Hadoop installation. After a few days, I noticed that there is constantly errors/dropped/frame when I run ifconfig -a command. (From the highlevel perspective, map reduce job will run smoonthly without error and…
B.Mr.W.
  • 18,910
  • 35
  • 114
  • 178
2
votes
1 answer

Testing the performance of NICs in Amazon EC2

Is there any way to know any information about the Network Interface Cards (NIC) of servers in EC2? I've tried a lot of commands that typically work in Linux, but seems it's all abstracted out when you try them on EC2 VMs. Alternately, is there any…
Hajjat
  • 300
  • 2
  • 9