Quantcast
Channel: Active questions tagged interface - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 33 View Live

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...

View Article



I can't state up my interface

sudo ip linkoutput:2: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DORMANT group default qlen 1000link/ether 80:c5:f2:81:ca:31 brd ff:ff:ff:ff:ff:ffsudo ip link set dev...

View Article

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...

View Article

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...

View Article

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

My /etc/network/interfaces file contains the line:iface default inet dhcpI 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...

View Article


RTNETLINK "file exists" error when attempting to create veth interface that...

Linux Mint 20.2I used this command to create a dummy ethernet interface called veth0:sudo ip link add veth0 type dummyOnce finished I removed it with:sudo ip link delete veth0 type dummyThe interface...

View Article

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...

View Article

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...

View Article


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 can0iface can0 can static bitrate...

View Article


Debian name wifi interfaces according to their drivers using udev...

Hi I am working on Debian. Would like to name my wifi interfaces according to their drivermodifying /etc/udev/rules.d/90-persistent-net.ruleswith: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",...

View Article

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...

View Article

Change Mac Address permanently inside /etc/network/interfaces

QUESTION:How might I be able to specifically change the Mac Address of the enp3s0 and wlp2s0 interfaces through the /etc/network/interfaces file? What code would I have to include inside? I have been...

View Article

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

Display the IP addresses of all currently configured interfaces. The output shoulddone in the following format:iThe interface eth0 currently has the IP 192.168.178.22The interface eth1 currently has...

View Article


/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...

View Article

How to interpret "functions ... may also be defined as macros"?

For the sake of public record, I'm asking here at SE rather than on the standardization mailing list, so that it'd be more accessible to people.With practically every headers that specify functions (or...

View Article


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 ens4I...

View Article

Good detailed explanation of /etc/network/interfaces syntax?

I understood the very basic concept of how to use /etc/network/interfaces, but all I find online are examples, example after example, which I can copy-paste from. What I miss is an explanation of the...

View Article


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...

View Article

How to use ifconfig to show active interface only

By default ifconfig will show me all available interfaces , but what if I just want to display active ones? Like, en0 only in below. en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST>...

View Article

Using ip, what does M-DOWN mean?

When using the terminal tool ip, there is a number of flags for every interface.Example: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueueWhat is the meaning of M-DOWN? What...

View Article

Audio playback from assembly language in Unix?

Looking for a simple audio interface for UnixFor fun, I'm learning x86 assembly language by porting an old game. The trickiest part is finding a way to play simple sounds (square waves, mostly). The...

View Article


characteristics of interface type dummy

I've configured an interface 'nonlocal' with type dummyip link add nonlocal type dummyon that interface are some IPv6 addresses configured. Now an apache can start with some ip based vhosts on...

View Article


ALSA - USB Interface - How to choose only one channel

I am currently trying to record audio with ALSA and a USB interface. I am using a focusrite scarlett 4i4 3rd gen and a raspberry pi 4b with linux debian bookwarm installed.My question is how do I...

View Article

Inbound connections fail to connect after initiating OpenVPN connection

There is a cronjob on another box which is reaching out to me every minute;$ nc -lvnp 80GET / HTTP/1.1[snipped for brevity]I want to eventually relay the traffic over a VPN, so I've connected to it:$...

View Article

network interfaces rename not working as expected. Where to look?

System is Ubuntu 16.10. It has been updated quite some times, so it might have some remaining stuff from earlier versions in there (at least back till 14.04, probably much longer).The issue it the...

View Article


Script Output In Polybar Network Module?

In standard module we has:[module/wlan]type = internal/networkinterface-type = wirelessinterval = 5format-connected = <label-connected>format-disconnected =...

View Article

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 bootdummy$ cat...

View Article

Predictable network interface names with BusyBox

I want to map each hardware NIC to a specific linux network interface (ethX) persistently, as currently when an ethernet cable is reconnected, it picks an interface seemingly at random. This is trivial...

View Article

how can I change the interface ip address in linux without ifconfig command....

network: version:2 renderer :ethernets:ens160:dhcp4: nodhcp6:no address: 192.168.10.13/24 gateway4:192.168.10.1nameservers:addresses: 142.55.100.25142.55.44.25

View Article



Why is my WiFi is always hard-blocked on my HP Pavilion G6?

I wish you could help me with this matter which is WiFi hard blocked in my Linux machine and can't get the WiFi up.My device is an HP Pavilion G6 and WiFi card is Ralink 5390; the default of the...

View Article
Browsing latest articles
Browse All 33 View Live


Latest Images