Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
31 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
105 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: ...
0
votes
0answers
23 views

route table with eth0 priority and ppp0 second

i have a board with linux-3.20 and it have 4G modules. when i startup i can run "pppd call quectel-ppp &" get a ppp0 interface.i also have eth0/eth1 interface,eth0 can connect to the Internet,now ...
0
votes
0answers
28 views

Change source of packet in a multihomed machine

I got one server. this server has two interfaces named enp30s0 and enp31s0. enp30s0 is connected to a modem to internet with the IP address 10.66.64.130 enp31s0 is connected to a huge Lan with lots ...
1
vote
1answer
184 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
63 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
257 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
270 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
148 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
37 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
436 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 ...
4
votes
2answers
510 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
52 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
46 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
429 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
394 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
225 views

Why my Raspberry pi receive no packets using Ethernet?

First thank you to give me some time to resolve this problem. I've already posted this message, but on the wrong forum (AskUbuntu), sorry about this. But I haven't solved it yet, so I post it there. ...
0
votes
1answer
1k 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
1k 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 ...
6
votes
3answers
14k 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
35 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
409 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 ...
1
vote
1answer
524 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
614 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
162 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
72 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
2k 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
550 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
281 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
48 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
98 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
441 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'...
0
votes
1answer
825 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
480 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
116 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
133 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
165 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
85 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
265 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
5k 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
3k 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
690 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
978 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:...
2
votes
0answers
823 views

Connecting to two ISP in local network using two different network

We have two ISP 1. BSNL (INDIA), 2. Airtel (INDIA). we getting Bsnl internet through D-Link DSL 2750U modem which holds the IP 192.168.1.1, Airtel internet modem with 192.168.2.1 IP address, Here it's ...
1
vote
2answers
4k views

How to save customized interface of DeadBeef?

DeadBeeF has a new option, 'Designer mode' allowing to modify the displayed features, modules, addons, in the way Foobar2000 is doing by its layout editing mode. Example of difficulty: All the ...