Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [interface]

The tag has no usage guidance.

0
votes
0answers
19 views

hcxdumptool - “failed to save current interface flags: No such device” “failed to init socket”

I'm following a tutorial to crack a WPA2 Wi-Fi network password, and it's using hcxdumptool, hcxtools and hashcat. After I set my Wi-Fi interface wlan0 to monitor mode with airmon-ng, I ran the ...
0
votes
0answers
14 views

Dell poweredge running ubuntu server, redundant interfaces

I have an ubuntu server 18.04 with redundant internet interfaces. As of now my ifconfig looks like this: eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.150 ...
3
votes
4answers
92 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 --...
0
votes
0answers
15 views

How can I check which interface is connected to link when I install CentOS?

When I install the CentOS 6.8 Operation System: there are two network interfaces. one is connected link, the other isn't. I want to know how can I check which is connected link?
0
votes
1answer
75 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: ...
-1
votes
1answer
321 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: ...
4
votes
1answer
502 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:/...
1
vote
1answer
100 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 ...
1
vote
1answer
397 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 ...
1
vote
1answer
328 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 ...
0
votes
1answer
181 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 ...
0
votes
1answer
66 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 ...
4
votes
0answers
550 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: ...
5
votes
2answers
748 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 ...
0
votes
2answers
56 views

Shared to other computer - Different Interface

I'm using a Debian based Linux system, basically there are these interfaces: wlan0 "wifi connected - 192.168.0.0/24" interface2 "not physical interface - 192.168.20.0/24" eth0 "ethernet cable ...
1
vote
0answers
58 views

DMA Random Access and Playback [closed]

I have a peripheral connected to my Linux PC via PCIe that plays a waveform(for example it could be a music stream). I would like create a programmable waveform generator that stores pre-generated ...
1
vote
0answers
521 views

Debian, two IPv6 addresses on single interface

I need to add the second IPv6 to the single interface in Debian Stretch. When using IPv4, this is simple becasue multiple inet static definitions works, i. e.: iface enp5s0f0.10 inet static ...
2
votes
0answers
527 views

Configuring serial driver sc16is7xx

Initial Question I work with the NXP chip SC16IS740 as a peripheral to an embedded linux system (mainline kernel v4.8). The usecase is quite simple, a continuosly transmitting uart line (9600 8n1) ...
1
vote
0answers
349 views

Why my Raspberry pi receive no packets using Ethernet?

I use a Raspberry pi 3b. The OS is Raspbian jessie. I don't understand why I can't connect with any RJ45 cable, and only wireless connection works. The cable rj45 is straight. The step I did to ...
0
votes
1answer
2k views

isp-dhcp-server, ipv6, WARNING: Host declarations are global. They are not limited to the scope you declared them in

Ciao, this is weird. Everything is working, but I cannot assign static ipv6 addresses. error Jun 12 10:19:15 server dhcpd[2768]: WARNING: Host declarations are global. They are not limited to the ...
1
vote
1answer
2k views

DHCPD ip6, No subnet6 declaration for enp2s0 (2001:470:1f1a:5b3::2)

This is weird! I got IP4 DHCP, it works. But with IPV6 not working. Do you know what it could be? INTERFACE allow-hotplug enp2s0 iface enp2s0 inet static metric 10 address 192.168.78.20 ...
7
votes
3answers
20k views

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 ...
1
vote
0answers
56 views

How does the following network configuration differ on eth0?

I have a raspberry pi and it has 2 configuration files in /etc/network/, although I set it up I'm very new to networking and not sure what each of the lines do or what the differences are between the ...
1
vote
1answer
545 views

Redirecting IPv6 traffic to a VPN interface

I would like to redirect all ipv6 traffic from my local network to a VPN interface. Eth1 is a local interface on the local server, while eth0 is used for internet connection from my home router. So ...
2
votes
1answer
688 views

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 noqueue What is the meaning of M-DOWN? ...
2
votes
1answer
737 views

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 ...
1
vote
0answers
319 views

Is value of bInterfaceProtocol fixed or decided by Kernel?

Let's say: $ ls -l /dev/input/by-id lrwxrwxrwx 1 root root 10 Feb 10 03:47 usb-Logitech_USB_Keyboard-event-if01 -> ../event22 lrwxrwxrwx 1 root root 10 Feb 10 03:47 usb-Logitech_USB_Keyboard-event-...
2
votes
1answer
93 views

Where can I find the japanese interface package for zabbix server?

Yesterday I installed zabbix server and agent on some of my EC2 Instance (running Ubuntu 16.04) Now I want to add the japanese language interface for my zabbix server (because I'm working for a ...
3
votes
1answer
3k views

How to setup a WLAN interfaces with one for Hotspot?

So I'm trying to setup a two interfaces for two wireless cards. One card for connecting to wireless network an one for a hotspot to access this computer through SSH. I need wlan0 for WI-FI connection ...
0
votes
1answer
669 views

how to create virtual router/switch on Ubuntu server

I have a dedicated server ubuntu 16.04 OS / 8 GB Ram, with over 5000 IPv6 from /48 subnet assigned to using below command ip -6 addr add IPv6/48 dev eth0 creating massive parllel connections cycling ...
1
vote
0answers
336 views

Tap interface is not receiving packets

I'm configuring a tap interface and trying to send and receive packets through it, i configure it like this: ip tuntap add name tap0 mode tap multi_queue ip link set tap0 up i'm using scapy to send ...
1
vote
1answer
59 views

Find what physical interface is external facing

I would like to know how I can bash script a check to see which interface has an external connection (eth0, eth1, wlan0, em1 and em2) so i can get a script to work on any machine without having to ...
1
vote
0answers
121 views

Route specific layer 2 traffic output to another interface

Supposing I have 1 interface (wlan0) and 1 virtual interface (wlan0:0). What I want is to route specific layer 2 traffic (arp request only for example) from wlan0 to wlan0:0 My problem is very ...
0
votes
0answers
533 views

Internet connection over GSM module + PPP

I am trying to get internet connection in my raspberry pi 3 (Raspbian) with a GSM (SIM900a) module, connecting it to RXD/TXD Serial ports (/dev/ttyS0), I already got an ip address and DNSs, but I can'...
1
vote
1answer
1k views

What network interface is a process using?

Is there a way to find what process is using a given network interface? The title of a related question on here is a bit too specific for my needs. I need to confirm whether my process is running on ...
1
vote
2answers
558 views

Assigning persistent interface names, using udev, with a generalized method

I'm currently working on a Raspberry Pi 3, trying to do some IoT stuff. I want it to be able to sniff on a usb wireless adapter, and send its data either via default wireless adapter or ethernet. I ...
0
votes
2answers
121 views

Ubuntu 15.10 Networking Problems

I recently deployed a VM with Ubuntu 15.10 and I am having trouble configuring the network properly. Note: When the OS was installed, it picked up an IP (from DHCP I guess), because it didn't ask me ...
0
votes
1answer
147 views

How to run bash script when eth0 came up from hibernate

I have following problem and I can not solve it: My Debian server should execute a Bash script as soon as eth0 came up from hibernate. I have created a script in /etc/network/if-up.d/: #!/bin/sh # ...
3
votes
1answer
214 views

Can AppArmor restrict access to a specific interface?

A deceptively simple question; Can Apparmor on Ubuntu (any release) restrict network access for a specific application to a specific network interface? If it can; an example/tutorial/etc link would ...
1
vote
0answers
98 views

Configuring a Linux Forwarding Engine

I am trying to configure my Debian machine to simply forward all ingoing network packets on interface eth0 to eth1. My hardware setup is the following: Sender Machine A (eth0) ----> (eth0) Forward ...
4
votes
1answer
8k views

Ubuntu 14.04 server: Change em1 to eth0 - no /etc/udev/rules.d/70-persistent-net.rules file

I am trying to rename one of my network interfaces from em1 to eth0. I do not have /etc/udev/rules.d/70-persistent-net.rules. I have tried to regenerate this file by running these commands: udevadm ...
4
votes
2answers
2k views

Stop writing to a capture file after it reaches a specific size

I'd like to monitor my network traffic of an specific interface to file. Then I would like to stop the interface if the traffic counts over 60mb total. Is there a possible way to do that?
0
votes
1answer
318 views

characteristics of interface type dummy

I've configured an interface 'nonlocal' with type dummy ip link add nonlocal type dummy on that interface are some IPv6 addresses configured. Now an apache can start with some ip based vhosts on ...
0
votes
1answer
3k views

Metasploitable 2 on VirtualBox. Virtualbox Host Interface Networking Error

I get this message when I try to run Metasploitable 2 on VirtualBox VM 5.0.0 win.amd64: Failed to open a session for the virtual machine Metasploitable 2. Failed to open/create the internal network '...
7
votes
1answer
7k views

How to find out the number of network interfaces available in a linux system?

I need to loop over the network interfaces available in Linux. I'm interested in all kinds of interfaces (loopback, ethernet, vlan, bridge) - whatever shows up in ifconfig -a. Is there a way to ...
0
votes
1answer
32 views

I wish to move SBC flash image to new board and maintain network interface indexing

I wrote a small php application on a SBC. I created a disk image from the CF card. When I write the image to a new CF and install on a new SBC the interface index numbers (I hope I am stating that ...
0
votes
0answers
1k views

Create the button's action with glade

I used linux glade to create interfaces of a bash script but I can not configure the button's actions the first interface asks the user to choose the type of the query. When they click the button ...
2
votes
2answers
4k views

Add vlan to interface with unique mac - different syntax for different Linux distros

I need to add a subinterface to an existing interface, which is on a VLAN. Furthermore, the subinterface must have it's own MAC address. Through the man pages I found this syntax which works fine on ...
2
votes
0answers
798 views

Linux choke on interface labels > 16 characters under Fedora 20+

I have an app that creates a subinterface (appending :ABCDE to the associated NIC label). This worked fine when interfaces were labelled something like eth0 or eth1. However, under Fedora 20 (and ...
0
votes
1answer
1k views

SUSE 12 setting up virtual network interface

I'm struggling to setup virtual eth interface on Suse 12 When I run: ipconfig eth0:1 10.0.0.2 netmask 255.255.255.0 Output from ifconfig is as expected: eth0 Link encap:Ethernet HWaddr 00:01:...