Skip to main content

Questions tagged [ifconfig]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

ifdown: interface end0 not configured. RTNETLINK answers: File exists. ifup: interface end0 already configured when setting static and DHCP interface

In a device with Debian BookWorm 12.5, I want to enable and disable a static IP using a Node application at runtime. The /etc/network/interfaces is the following : auto lo iface lo inet loopback ...
M.Liscio's user avatar
  • 230
1 vote
1 answer
43 views

RHEL 8 IP/Kernel Routing Multi-Homed Server Issue - Cannot get a response to ping, when trying to ping from 2nd Interface

Set up/configuration: I have a RHEL 8 server, running Asterisk 15.x, that has 2 NICs. NMCLI is used for networking NIC0 (eno5np0) is on the trusted network and is configured as a static IPv4 and NIC1 (...
ripvw32's user avatar
  • 13
1 vote
2 answers
372 views

Machine MAC address with Ubuntu on top of WSL2

Running Ubuntu 22.04.3 LTS on top of WSL2 Output of ifconfig: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1492 inet 172.28.193.11 netmask 255.255.240.0 broadcast 172.28.207.255 ...
yossi-matkal's user avatar
0 votes
0 answers
44 views

Can a network interface be activated if the ifcfg-files are missing?

I have a RHEL/CentOS7 installation with some unused network ports. NetworkManager is not in use on this system, only the legacy "ifupdown" network scripts. I would like to "disable"...
AdminBee's user avatar
  • 22.9k
7 votes
3 answers
2k views

How to find unspoofed MAC address of NIC

In Red Hat Enterprise Linux (RHEL) 8, if someone does ifconfig eth0 hw ether abcd12341234, all I know is ifconfig and ip -a, so then is there a way to reliably get the real MAC address of that eth0 ...
ron's user avatar
  • 7,239
0 votes
1 answer
84 views

How to fix inet not showing after sometime permanently?

┌──(root㉿kali)-[~] └─# ifconfig eth0: flags=4163<UP,BROADCAST,...
Sunil Kumar Das's user avatar
2 votes
1 answer
165 views

default gateway not set when using bond0 interface

This is my /etc/network/interfaces file: auto bond0 iface bond0 inet manual address 10.66.7.11/24 gateway 10.66.7.1 bond-mode 802.3ad bond-slaves eth2 eth3 bond-miimon 100 bond-...
Martin Vegter's user avatar
0 votes
0 answers
140 views

Errors when trying to bring ethernet interface up on embedded Linux

I am trying to compile the Linux kernel (3.0.8, buildroot-gcc-12.3.0, ARMv7) to run on my IP camera. eth0 is not able to get up. At first, kernel boot just crashed at Starting network step: Unable to ...
hypers's user avatar
  • 101
0 votes
0 answers
88 views

Centos 7 Two Gateways (virtual and VLAN) question

I could not get this working. I have two public ip addresses . on centos 6 my setup was eth0.2 VLAN2 was DHCP from ISP 1 and eth0:1 was static ip address from ISP 2. It worked out the box without any ...
user3265051's user avatar
0 votes
0 answers
117 views

Why is my loopback interface losing its address sporadically?

After I upgraded to Fedora Linux 36 from 34 (first to 35) I'm getting an issue I had not faced before. The lo interface is losing its inet address and that's causing issues with programs that make ...
Aspiring Dev's user avatar
0 votes
1 answer
63 views

bxe0 and bxe1 to eth0 and eth1 respectively

I have a freebsd which has the network interfaces as follows. bxe0, bxe1, igd0 and igd1 I want to move them to names like eth0, eth1 and so on. I know that I can do it in the /etc/rc.conf ...
AAB's user avatar
  • 13
0 votes
0 answers
207 views

ifconfig and systemd-networkd are not synced and behaving differently

I have two questions if someone can help: I have a linux based system. I configured the /etc/systemd/network/00-eth0.network file with IP, Gateway, and MAC addresses. After I restart the systemd-...
Alex's user avatar
  • 1
0 votes
1 answer
102 views

Why does Vagrant-defined networking have no effect?

I'm attempting to provision two VM's that can send traffic to each other, but I am having trouble implementing this with Vagrant. In my Vagrantfile I have: Vagrant.configure("2") do |config| ...
wwillfred's user avatar
0 votes
1 answer
88 views

Manage wifi card directly

My motherboard has builtin wifi that I use to connect to the internet. I also have a usb wifi card and I want to write a custom program that manages this wifi card (create hotspot, list hotspots, ...
thewolf's user avatar
  • 153
3 votes
0 answers
779 views

Gentoo wifi setup issue: wpa_supplicant works but wpa_cli doesn't

I am trying to setup Gentoo on my laptop and am having trouble connecting to wifi. I've never done this before, so I might be making a simple mistake. I've been following these instructions. My /etc/...
Kshitij Sachan's user avatar
0 votes
1 answer
604 views

ifconfig showing eth0 when using wifi

I'm using Ubuntu through WSL. When running the ifconfig, I get back two blocks; one for eth0 and one for lo. However, it is my understanding that eth0 is only for when you are connected to the ...
scrow's user avatar
  • 101
1 vote
0 answers
655 views

/proc/net/dev providing wrong information about transferred bytes

I have a zte router with Linux kernel 4.1.25 which I have installed an snmp agent (mini-snmpd) on it to control traffic. As I was getting inaccurate data I investigated a bit and detected that ...
Alex's user avatar
  • 111
1 vote
1 answer
3k views

'RTNETLINK answers: Invalid argument' after ifup ethX

On a device with Debian 10, I want to make a permanent change to the IP via modifying /etc/network/interfaces . Hence, I modify it as follows : auto lo iface lo inet loopback auto eth0 ...
M.Liscio's user avatar
  • 230
2 votes
1 answer
2k views

ifconfig bridge on macos - BRDGADD en0: Resource busy

Anyone know how to createa bridge network interface on MacOS v12.4 Mon? I have tried: sudo ifconfig bridge7 create sudo ifconfig bridge7 addm en0 sudo ifconfig bridge7 up In step two I get this: ...
Chris G.'s user avatar
  • 163
1 vote
1 answer
601 views

ifconfig/ip link show- how to get only Hardware interface

How do you get only hardware interfaces Tried: ifconfig -a ip link show How do you get only local hardware interfaces using ifconfig/ip link show? Like from my ifconfig I get(removed a lot): en0: ...
Chris G.'s user avatar
  • 163
0 votes
1 answer
669 views

Auto detect network interface card, network init.d

I have build my LFS linux that based in this book, it's working fine and network interface card is working. Even it's configuring IP automatically with using dhcpcd service. According chapter 9 in ...
Muhammad Ikhwan Perwira's user avatar
0 votes
1 answer
550 views

What are all the IPs that I see in the result of `ip a`

So I issued a command ip a which list all the IP addresses. However I don't understand what all the other Ip addresses and details it printed. In this output I just understood that inet W.X.Y.Z/20 brd ...
Himanshuman's user avatar
4 votes
2 answers
3k views

What is my LAN IP (ubuntu and missing eth0)?

Running 20.04 I am trying to figure out what my LAN IP is on my laptop. If I run ifconfig I get (trimmed down): $ ifconfig docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172....
u123's user avatar
  • 971
0 votes
2 answers
6k views

RHEL 8 - How can I modify an ethernet device name?

I am trying to modify the ethernet device name without modifying grub. I have tried to modify the device name, but when I do, the device stops working. Things I have tried: I've tried this nmcli con ...
Shōgun8's user avatar
  • 711
5 votes
2 answers
1k views

What is the ip address command equivalent of the default output of the ifconfig command?

The default output of the ifconfig command on GNU+LINUX displays only active and up network interfaces while the default output of the ip address command (which can be shortened as ip a ) shows all ...
Rilwan Smith's user avatar
0 votes
1 answer
4k views

ens3: Host name lookup failure | sudo ifconfig up ens3

On both the live image of Trisquel in a virtual machine: $ sudo ifconfig up ens3 ens3: Host name lookup failure ifconfig '--help' gives usage information
Kitty Cat's user avatar
0 votes
0 answers
3k views

How to find the subnet of your Server public IP address?

I have found that answer: How to allow SSH into Terminal after connecting to VPN server using NordVPN servers through OpenVPN? ip rule add from x.x.x.x table 128 ip route add table 128 to y.y.y.y/y ...
yarek's user avatar
  • 101
1 vote
1 answer
4k views

Why ifconfig shows a different IP address

I have Embedded Linux devices connected to a local network via Ethernet cable connection. I access each device via their local IP addresses on subnet 192.168.34.0/24. For example, one device has 192....
Engineer999's user avatar
  • 1,171
-3 votes
1 answer
1k views

Ip address of wireless adapter is not showing on ifconfig [closed]

Even when my wireless adapter is in managed mode it is not showing the ip address of it on ifconfig.
3.14159's user avatar
0 votes
0 answers
157 views

SELinux: command output printed on serial but not on ssh

I am trying to configure SELinux on Poky Linux distro. I am connecting to the board both on serial and ssh. Launching ping and ifconfig on ssh the board prints nothing, whereas the same command on ...
EagleOne's user avatar
  • 423
0 votes
0 answers
103 views

ssh into a server which is connected to a VPN service, using ifconfig and route not ip

Same issue as described here: ssh into a server which is connected to a VPN service However I have no access to the "ip" utility. Just good 'ol ifconfig and route commands as I'm working on ...
jf4i2d's user avatar
  • 63
2 votes
1 answer
2k views

Are RX bytes and TX bytes of ifconfig since uptime or lifetime or something else?

I have this output via ifconfig: user@host:~$ ifconfig eth0 | grep bytes RX bytes:999249172034 (999.2 GB) TX bytes:33403577196 (33.4 GB) The host has 7 days uptime. Are the RX bytes and TX ...
Kahn's user avatar
  • 1,742
1 vote
1 answer
995 views

Ethernet config for computer-USRP communication

I am trying to set up communication between my laptop computer, running Ubuntu 20.04.2 LTS, and an Ettus Research USRP N210. I have been consulting the following resources: https://files.ettus.com/...
ummg's user avatar
  • 301
0 votes
1 answer
427 views

eth0 disappears with "Graceful transmit stop did not complete". PHY gone?

An i.MX6dl-based embedded device with NXP kernel 4.14.98 receives data packages over eth0. In one of some hundred cases the interface stops after twenty minutes or an hour with no obvious reason. The ...
Philippos's user avatar
  • 13.5k
0 votes
3 answers
583 views

Extract interface name, hwaddress and IP address from ifconfig(must to use ifconfig not ip commands)

Input 1 eno16780032: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.1 netmask 255.255.255.255 broadcast 192.168.0.254 ether 00:50:56:00:00:00 txqueuelen 1000 (...
skmohan's user avatar
  • 33
0 votes
1 answer
4k views

installation of wifi in debian

~$ lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09) 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd ...
user avatar
0 votes
0 answers
113 views

Fail to activate network, even manually

I'm in the middle of a nightmarish Debian upgrade. The latest problem I have, after a reboot is that I get dropped in single user mode and the network won't come up. 1st question: how do I know the ...
dargaud's user avatar
  • 565
1 vote
0 answers
115 views

Strange issue multiple ip addresses on single NIC - OEL linux

I however got two IP addresses. But when I use ifconfig command I cant see secondary ip address (10.10.20.51) in my ifconfig command. when I use ip addr command I can see both primary (10.10.20.50) ...
Cell-o's user avatar
  • 505
0 votes
2 answers
3k views

wlan0 isn't working most of times

I earlier asked a question Wifi isnt working after using wifite [duplicate]. This and this answer helped me. But, the problem is it works but, after few hours later when I start my laptop I get the ...
user avatar
0 votes
1 answer
51 views

Does change of date or inconsistency between date and hwclock affect to ipv4 (inet addr) in ifconfig in linux?

I have trouble that inet addr(ipv4) of eth0 disappears and eth0 interface becomes unavailable. I'v not waited for refresh but I thought it would not restore itself. I guess that It Occurs When I ...
user avatar
1 vote
0 answers
139 views

Centos 6 - cant access the systems IP address until i change it and change back to original (easy question) [closed]

IP system is 192.168.1.100 static i boot up server i can ping it from the lan (with reply) but can not access services if i do ifconfig eth0 192.168.1.101 netmask 255.255.255.0 then back to ifconfig ...
user3265051's user avatar
2 votes
4 answers
2k views

ifconfig and locate command not found, `bash: ifconfig: command not found`

In the Linux-Ubuntu terminal: ifconfig throws bash: ifconfig: command not found locate command does the same. sudo yum install net-tools throws: bash: yum: command not found as well, but I might also ...
pelz's user avatar
  • 23
0 votes
1 answer
343 views

No Internet on my Ubuntu 20 box, How do I restart network related items if I do not have ifconfig for ifup ifdown?

I need to restart my networking in ubuntu 20 as I do not have ifconfig or ifdown or ifup. Right now my vps ubuntu box has no internet, and I am logged in via the web console. When I do a ping 8.8.8.8, ...
Patoshi パトシ's user avatar
3 votes
1 answer
1k views

Use the internet access of another network interface when the main one is down

I have an embedded system running Ubuntu 18.04 LTS that has a 3G modem and an Ethernet interface (eth0). Both of these interfaces have access to Internet. When the internet is unavailable on the ...
Aminos's user avatar
  • 141
0 votes
1 answer
219 views

Correct way to find vpn gateway using script

I need to find ip that my vpn interface (vpn0) uses to connect so I can setup routes correctly using a script. What is correct way to do this? First solution I tried ❯ ip r | sed -rn "s/.*dev ...
warbaque's user avatar
  • 131
5 votes
3 answers
1k views

Why linux ip command output is so messy [closed]

I understand that the ifconfig command has not been developed and updated for a while and is now deprecated, we are supposed to use the ip command. I just dont understand why in 2020 the output has to ...
santoscaj's user avatar
0 votes
1 answer
78 views

How to learn "RUNNING" status with `ip` tool?

ifconfig was said to be deprecated ca 2009 with the introduction of ip. Many online pundits advise users to drop ifconfig in favor of ip. I use ip myself, but mostly due to the fact that its output is ...
Seamus's user avatar
  • 3,087
2 votes
2 answers
2k views

ETH0 no address ip with ifconfig

I've created a new LXC on debian jessie, but it doesn't have an ipv4 address. When I connect to my LXC and do ifconfig: eth0 Link encap:Ethernet HWaddr blabla inet6 addr: blabla/64 ...
Akame14's user avatar
  • 21
-1 votes
1 answer
116 views

Why is the server accepting connections after disabling the network interface?

I've googled around and executed other commands (I had left here only the ones that I think are more useful). Most searches pointed me to explanations about how to shut down/up interfaces and no hints ...
Sebastian's user avatar
  • 143
6 votes
1 answer
16k views

What are these ifconfig interfaces on macOS

I have a MacBook Pro 15" 2018 (Touch Bar). I see it has a lot of network interfaces. I would like to know what they are/what they do. I did some research but I couldn't really figure out all of ...
Velociround's user avatar

1
2 3 4 5