Top "Ifconfig" questions

ifconfig (short for interface configuration) is a system administration utility in Unix-like operating systems to configure, control, and query TCP/IP network interface parameters from a command line interface (CLI) or in system configuration scripts.

Set static ip if not obtained from DHCP (script)

I work on embedded device with linux on it. I want to use DHCP client first, but if there will …

linux ip dhcp ifconfig
How do I set an ip address for TUN interface on OSX (without destination address)?

How do I set an IP address for a TUN interface on OSX? I cannot figure out how to set …

networking macos ip ifconfig tun
Do MTU modifications impact both directions?

ifconfig 1.2.3.4 mtu 1492 This will set MTU to 1492 for incoming, outgoing packets or both? I think it is only for incoming

linux networking mtu ifconfig
socket connection failure

I am beginner in socket programming and reading Linux Network Programming book. I decided to implement client-server connection as shown …

c linux sockets ifconfig
Waiting for network link to be up before continuing in bash

Is there a way to check for successful network interface link for multiple interfaces in a bash script before continuing? …

bash networking ping ifconfig
Find out which network interface belongs to docker container

Docker creates these virtual ethernet interfaces veth[UNIQUE ID] listed in ifconfig. How can I find out which interface belongs …

networking docker ifconfig
C/C++ Linux MAC Address of all interfaces

I am using the following code to retrieve all MAC addresses for current computer: ifreq ifr; ifconf ifc; char buf[1024]; …

c linux mac-address ioctl ifconfig
Why is Wi-Fi called en0, like ethernet, on a Mac OS X?

Linux has been my main system for years now. In Linux, ethernet hardware devices have names like eth0 or enp1…

macos networking wireless ethernet ifconfig
add and remove IP addresses to an interface using ioctl or netlink

Is there anyway to add and remove IP addresses from an interface (like loopback) in C? I found ioctl and …

c network-programming ioctl ifconfig
Ionic mobile browser testing is not working

I try to use mobile browser testing with ionic. I'm connected in the same Wifi as my iPhone and checked …

localhost ionic-framework ionic ifconfig