Questions tagged [interface]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-5 votes
2 answers
34 views

Display the IP addresses of all currently configured interfaces [closed]

Display the IP addresses of all currently configured interfaces. The output should done in the following format:i The interface eth0 currently has the IP 192.168.178.22 The interface eth1 currently ...
user avatar
1 vote
0 answers
36 views

renaming wireless interface

I know I can rename my wireless interface with ip link set name , but when I do other programs won't identify the new name, namely wash, and then if I run iwconfig down I can't get systemctl won't ...
user avatar
0 votes
0 answers
54 views

Debian name wifi interfaces according to their drivers using udev persistent-net.rules?

Hi I am working on Debian. Would like to name my wifi interfaces according to their driver modifying /etc/udev/rules.d/90-persistent-net.rules with: SUBSYSTEM=="net", ACTION=="add&...
user avatar
0 votes
0 answers
115 views

how to create virtual interface without ip address and without link to base interface in /etc/network/interfaces on Ubuntu/Debian

I have these two virtual interfaces test1 and test2 without ip addresses through this command: ip link add test2 type veth peer name test1 root@ubuntu:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu ...
user avatar
2 votes
1 answer
179 views

Interface groups

I started to study Linux networking system (especially Ubuntu) lately. I got interface info by command ip a like this: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group ...
user avatar
  • 23
0 votes
0 answers
28 views

CentOS: fix nic name to eth0 for a specific mac yet keep others nic names be eth1,2,3

Not just a simple case of fixing nic name to eth0 for a specific mac, I have done that, but this time it is a special case: By default: first detected nic (disconnected) -> eth0 second detected ...
user avatar
  • 219
0 votes
0 answers
112 views

nmcli add a route to dev not a next hop

Need to add a static route with nmcli to a device interface. I would like to mimic a command like this with ip route (traffic sent to the interface NOT a next-hop ip) ip route add 4.4.0.0/30 dev ens4 ...
user avatar
  • 294
0 votes
1 answer
21 views

Measure traffic for an interface monthly

I am running a small RPi server in a remote home and I have a simcard with very limited data usage. I would like to have a file that measures cumulatively month by month (starting, for example, from ...
user avatar
  • 709
1 vote
1 answer
245 views

RTNETLINK "file exists" error when attempting to create veth interface that was previously a dummy

Linux Mint 20.2 I used this command to create a dummy ethernet interface called veth0: sudo ip link add veth0 type dummy Once finished I removed it with: sudo ip link delete veth0 type dummy The ...
user avatar
1 vote
2 answers
281 views

Meaning of "default" in "iface default inet dhcp" in interfaces file

My /etc/network/interfaces file contains the line: iface default inet dhcp I vaguely remember putting it in there years ago, but I don't remember why I did so. If I am not mistaken, iface precedes a ...
user avatar
0 votes
2 answers
713 views

nmcli - command line means to delete all wifi / wlan0 connections

I'd like to delete all active or inactive Wifi connections on interface wlan0, with the intention of having a known-empty clean slate to set things up. Is this possible? I was hoping for something ...
user avatar
0 votes
0 answers
246 views

How to redo renaming interfaces with 70-persistent-net.rules?

I use Ubuntu 18.04 and renamed the interfaces and want to redo this renaming. I don't want to use the 70-persistent-net.rules for the back renaming. I delete the content and removed the file with ...
user avatar
  • 71
0 votes
0 answers
154 views

I can't state up my interface

sudo ip link output: 2: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000 link/ether 80:c5:f2:81:ca:31 brd ff:ff:ff:ff:ff:ff sudo ip link ...
user avatar
0 votes
1 answer
372 views

Logical Device Name assigned to Physical NIC mapping

I'm looking for a scripted solution that will show which logical network interfaces are mapped to which physical NICs. That is, if a server has 2+ interfaces and 2+ NICs, how do I know which NIC ...
user avatar
0 votes
2 answers
1k views

how can I change the interface ip address in linux without ifconfig command. my current interface and want to change the ip to 192.168.10.100

network: version:2 renderer : ethernets: ens160: dhcp4: no dhcp6: no address: 192.168.10.13/24 gateway4:192.168.10.1 nameservers: addresses: 142.55.100.25 142.55.44.25
user avatar
  • 11
3 votes
2 answers
5k views

/etc/network/interfaces - difference between auto and allow-hotplug

I am running Debian 9.13. I tried to check what is the difference between auto eth1 and allow-hotplug eth1 in /etc/network/interfaces. I have eth1 networking interface connected via USB. I tried ...
user avatar
0 votes
0 answers
101 views

Secondary (Virtual) Interface on Same NIC with DHCP

I'm currently working on Buster, but the more portable the solution, the better. I have a system for which I would like to add a second IP address to the same adapter. The initial IP address is DHCP, ...
user avatar
  • 11
1 vote
2 answers
415 views

Automatic set-up, the network can bus with Ubuntu 20.04

I want to set-up the network of the CAN bus automatically with Ubuntu 20.04. For other distributions, it is done like this in /etc/network/interfaces: allow-hotplug can0 iface can0 can static ...
user avatar
  • 11
0 votes
1 answer
140 views

What are the key components of a desktop environment?

I'm a relatively new Linux user. I started with Ubuntu 20.04 a few months ago, and eased myself into the experience, learning a bit of the command line and becoming familiar with the system structure ...
user avatar
  • 157
0 votes
1 answer
291 views

How to configure 2 network interfaces which make use of the same physical ethernet port?

I currently have a linux system with only one physical ethernet port. This physical port has the eth0 network interface attached to it. I want to create another ethernet interface which also makes use ...
user avatar
1 vote
0 answers
428 views

Ubuntu 20.04 problems with interface after installation

I have just installed Ubuntu 20.04 Focal Fossa. After the restart, I found a particular problem with the interface (see figure attached). I'm a beginner in the use of Ubuntu, I have managed to work ...
user avatar
0 votes
1 answer
371 views

Create can0 interface for USB CAN Converter Basic (UCCB) on Arch

I have a USB CAN Converter Basic as described here: https://ucandevices.github.io/uccb.html When I plug it into my Arch Linux laptop, dmesg shows the following: usb 1-6: new full-speed USB device ...
user avatar
0 votes
1 answer
14 views

My CentOS do not have the brief command vie0

I watch a video, theres has a brief command: I use vie0, but there do not have this command: [root@ansible-master ~]# vie0 -bash: vie0: command not found My CentOS version is: CentOS 7.2
user avatar
  • 613
1 vote
0 answers
1k views

How to change network mask using ip command

I tried to change the network mask using Linux ip command and got confused. Google search doesn't clarify it either. If someone could explain? Say I have interface enp0s31f6 on my Linux machine rtuser@...
user avatar
  • 11
2 votes
1 answer
696 views

Route traffic between interfaces on same device ( wlan0 to usb0 )

I have a usb0 interface with 10.0.0.1 ip with a router on 10.0.0.2 and unaccessible to internet. I also have a wifi adapter on wlan0 with 192.168.0.3 connected to my router at 192.168.0.1 (this is ...
user avatar
  • 21
1 vote
1 answer
508 views

How to reduce the time of the "networking.service" service?

I have been using linux for some time and I have already learned to adapt to this new operating system so I want to improve some details of my configuration. Currently the system loads fast, but I see ...
user avatar
1 vote
0 answers
46 views

How can I switch dinamically the output interface in a router depending on input interface?

I have an Ubuntu 18.04 acting as router with 3 interfaces. Two of them end up in the same device (they are used as dual path since depending on the situation one of the paths can be down or viceversa)....
user avatar
0 votes
2 answers
793 views

Send packet on one interface and receive it on another one for testing purposes

I would like to test the DHCP client that I wrote on Ubuntu 16.04.6 LTS. I would like to do it locally on my laptop i.e. send and receive DHCP packets inside. Here is what I tried: created two dummy ...
user avatar
0 votes
1 answer
225 views

Change interface name

I'm with NetworkManager I want to change the interface name, what I don't know sure the steps.... First I should know my interface name and mac from it, ip a Seconds, set down the interface, ...
user avatar
  • 147
3 votes
1 answer
3k views

dummy interface on linux

I need to create a second separate virtual interface on Linux. I choose dummy. And do these steps: $ cat /etc/modules-load.d/dummy.conf # Load dummy.ko at boot dummy $ cat /etc/sysconfig/network-...
user avatar
  • 31
0 votes
1 answer
215 views

Traffic into lo vs eth, why might I be seeing only half the traffic on lo compared to eth?

I am forwarding traffic to ports on eth0 and lo. For the same traffic at the same ports and different ports, when I do a tcpdump and count the packets, for time t, I only see about half the number of ...
user avatar
  • 101
0 votes
0 answers
42 views

How to route network traffic through an interface on another host?

I have limited networking knowledge, so please bear with me :) I have a host that runs a VM that has 2 interfaces (ens33 and crc). My host has an interface (eth0) that is on the same subnet as "ens33"...
user avatar
0 votes
1 answer
1k views

How to Combine a Bridge with VLAN over a Bonding and Two Default Gateways

I have a Linux server with three NIC that are connected to a switch (one NIC is the management, two NIC form a LACP bonding). In addition I need to use a VLAN (167), because the switch is configured ...
user avatar
  • 25
0 votes
1 answer
691 views

How to set the interface name in `kickstart.cfg` file?

How to set the interface name in kickstart.cfg file? We know if we install CentOS system in a Server, there maybe eth0, ens0, ensxxx, eno1 and so on. I have questions, Why there will generate ...
user avatar
  • 613
1 vote
1 answer
5k views

Bonding of two NIC does not work/go up

I have a Linux server with two NIC that are connected to a switch (and one NIC for management) and I want to use combine them and use LACP there, but for some unknown reason to me the bonding will ...
user avatar
  • 25
6 votes
1 answer
2k views

Where does ethtool get information from?

When I run the command ethtool -S wlp2s0, I get the following information: NIC statistics: rx_packets: 63 rx_bytes: 14163 rx_duplicates: 2 rx_fragments: 58 rx_dropped: 30 ...
user avatar
  • 199
0 votes
1 answer
77 views

I do not want a debian interface [duplicate]

Today I set up an old portable pc to be a dedicated machine I have installed debian and at installation process I have chose Cinnamon for graphical interface Now my system is configured and working ...
user avatar
  • 31
-1 votes
1 answer
973 views

Kali Linux (Kernel 4.19) MT7610u failed to load

I have installed Kali Linux alongside windows 10 on my system all is good except I get the following errors in dmesg every time I boot. mt76x0 1-1.3:1.0: firmware: failed to load mediatek/mt7610u....
user avatar
1 vote
0 answers
3k views

UDP send buffer error in netstat

I we are running voice application which stream UDP (RTP) packets for voice, I am investigation some strange issue where my ifconfig ens4 | grep error counter going up specifically overrun If you see ...
user avatar
  • 1,530
4 votes
6 answers
3k views

setting firewall-cmd --permanent is not sticking after reboot

I have two network interfaces: eth0, and p2p1. My default zone is set to public. I would like to permanently set p2p1 to be trusted. In order the achieve this I run: sudo firewall-cmd --permanent --...
user avatar
  • 297
0 votes
1 answer
227 views

Error running vlc on Redhat Enterprise Linux 7

I have installed vlc using following commands- #> yum install vlc #> yum install vlc-core When i try to run vlc, i am getting the following error- [0000000001bce288] core demux error: ...
user avatar
-1 votes
1 answer
6k views

eth: error fetching interface information: Device not found

I have an ubuntu 18.04 linux server. Why does the command(ifconfig eth) says Device not found whereas this command(ifconfig eth0) works? $ ifconfig eth eth: error fetching interface information: ...
user avatar
  • 323
9 votes
1 answer
3k views

What does "if1@if2" mean in interface name in output of "ip address" command on Ubuntu

What does at sign (@) mean in interface name in output of "ip address" command (or the "ip link" command) on Ubuntu, for example interface name "eth0@if44" in the following output: root@aafa1fc24a0b:/...
user avatar
2 votes
1 answer
1k views

Edit interfaces file in C++

Is there any known API to edit /etc/network/interfaces file? I've written a piece of code to make the user able to change IP address of the system from the frontend (web interface). I'm modifying the ...
user avatar
1 vote
1 answer
2k views

Linux emulate multiple Wifi connections

I have a Linux machine that creates a Wifi hotspot. I need to simulate a few clients connecting to that hotspot and then using that connectiong to talk to a service, through the wlan interface. The ...
user avatar
1 vote
1 answer
911 views

How to use different virtual network interfaces for different processes?

The solution to non-virtual network interfaces is here: https://unix.stackexchange.com/a/210992 But the problem is I have multiple IPs on one network interface and I'd like to be able to assign each ...
user avatar
  • 111
0 votes
1 answer
318 views

How to interface LCD for new WaRP7 (imx7s-solo)?

I'm trying to interface LCD for my new WaRP (imx7s-solo). (we can found both LCD and WaRP7 here LCD and WaRP7 product) The problem is I can not have enough knowledge to verify my work is right or ...
user avatar
0 votes
1 answer
179 views

Getting unexpected interfaces in CentOS 7

Suddenly getting some bulk interfaces which should not be in server. Interfaces named like as0t1,as0t2,as0t3 etc. Almost 40 interface like this has been created of which i have no idea. Actually some ...
user avatar
4 votes
0 answers
1k views

Entries order in /etc/network/interfaces

I have a device with two interfaces, eth0 and eth1. One should get its IP from a DHCP server and the other should get its IP statically. If my /etc/network/interfaces file is configured as follows: ...
user avatar
  • 51
4 votes
2 answers
2k views

Connecting two clients on different physical interfaces using smcroute

I am very new to networking. I have two clients connected on two different physical interfaces which has upnp running on them. I want to add both of them to the same multicast group, so that they both ...
user avatar
  • 193