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 [network-interface]

hardware (or its representation by software) that connects a computing device (host) to a computer network (net)

-1
votes
0answers
16 views

Kali Linux Activation of network connection failed after bringing WLAN0 down and up [duplicate]

So I'm working on a virtual Kali Linux in Virtual Box. When I boot the machine the wireless USB adapter works perfectly. But when I run ifconfig wlan0 down and then ifconfig wlan0 up the connection ...
1
vote
1answer
25 views

Web Server access via second interface

I’m trying to access a Web Service (port 8080) on my Raspberry Pi via both of the following interfaces (which have static IPs): Ethernet (eth0, 172.22.0.99, connected to a Netgear router). Wi-Fi (...
0
votes
0answers
44 views

Debian Stretch - how to run 2 network adapters simultaneously

How can I run 2 network adapters in Debian simultaneously? I have a common NIC and the second adapter USB->LAN adapter and I need to run them both but when I turn on USB LAN adapter then NIC ...
0
votes
2answers
27 views

Disable Internet Access on Eth0

I have a Raspberry with eth0 (192.168.02 / static) connected to a router (Fritz Box @ 192.168.0.1). The Router has internet connection. The Raspberry has a mobile usb stick with ppp connect to the ...
0
votes
1answer
20 views

Centos 6.7 in a laptop does not detect network interfaces but detect network hardware

I am installing CentOS 6.7 in my laptop, I have Windows 10, Centos 6.7 and Ubuntu 18 installed, but CentOS is the only OS that is not detecting any network interface, wired neither wifi. I used ...
0
votes
0answers
11 views

How do I configure the network from command line in CentOS 7

Is there a command that will configure the network in CentOS7 persistently (survives reboot) ? I want to write a script to do this and I'd rather avoid echo'ing output to a config file. Can this be ...
0
votes
0answers
31 views

Tapdev open function returns me 37 value

I am trying to create a tun device and tap interface. But the open function returns 37 value. why? fd = open("/tmp/tun", O_RDWR) https://github.com/contiki-os/contiki NOTE: It works well in my pc ...
0
votes
0answers
21 views

Pernament tunnel at every boot in CentOs 7

I want to have my tunnel UP at every system restart. It is my non persistent solution: ip tunnel add vti0 local 222.222.22.222 remote 33.333.333.333 mode vti key 41 ip link set vti0 up ip addr add ...
0
votes
1answer
43 views

How does iptable work with linux bridge?

Setup: VM1 --- Bridge -- VM2 VM1 and 2 are on same subnet. Bridge has 2 interfaces added to brctl bridge. When I block VM2 ip using uptables -A FORWARD -s (VM1 ip) -j DENY it doesn't work. I ...
0
votes
1answer
52 views

How to read data from tap interface?

I have a problem with network bridges and tun/tap devices. Actually, the main problem is that I am trying to create a network bridge and a tap interface before compile time. And in compile time my ...
0
votes
0answers
8 views

How do I access the network from the terminal in a Tails OS booted from USB with persistent storage and a WiFi connection?

I am trying to configure a usable coding environment on a tails-os usb boot stick with persistent storage. I've installed netbeans and composer, but I am unable to add plugins to netbeans, and I am ...
3
votes
0answers
28 views

Add interface that is up to a bridge

I'm trying to compose /etc/network/interfaces that would combine two ethernet interfaces in a brdige. The problem is that the system boots using PXE loader and NFS root, and one of the interfaces ...
1
vote
1answer
23 views

Hosting a simple honeypot server in each of 3 VLANs using one ethernet port

I am trying to set up a honeypot server in different VLANs. The company I work in has 3 VLANS: 10, 20, 30. My goal is to use a Raspberry Pi to host a simple honeypot and broadcast sniffer (for ARP and ...
0
votes
0answers
32 views

Impossible to set the default gateway address on boot-up

I am using a BeagleBone embedded computer running Debian. I have two network interfaces : 1) A connection to a cellular modem over USB which uses ppp and connects to the outside world. It receives a ...
0
votes
1answer
33 views

resolv.conf always empty

I have 2 different embedded devices...an old one running TI arago Linux and a Xilinx device (petalinux). On both I see the same outcome when adding dns-nameservers to /etc/network/interfaces and ...
1
vote
0answers
40 views

Linux set ip address with echo [closed]

Is there any way to set IP address on network interfaces, with echo to file /sys or /proc? I have also this question about set routing and firewall . Actually I am Java developer and I won't ...
2
votes
1answer
102 views

What happens if remove auto eth0 from /etc/network/interfaces

I am using a BeagleBone and have two network interfaces. One Ethernet interface which will connect locally to another device, and a ppp interface over USB which connects to a cellular modem. I want ...
0
votes
1answer
45 views

How many packets are pending inside a network interface?

I have an application that sends lot of traffic over an UDP socket, every packet is sent on 2 interfaces: enp2s0 (1Gbit ethernet device) and enx00808a8eba78 (100Mbit usb-ethernet device). The maximum ...
0
votes
0answers
17 views

mellanox cx3 40gb card not recognized on freebsd based os

i am based on freeNAS that is based on freebsd the system is stable and working, but the network drive have some error that i cant understand 28660:mlx4_core0: <mlx4_core> mem 0xdfa00000-...
0
votes
0answers
22 views

Run pppd with custom MAC address?

I want to run multiple PPPoE accounts on my Linux machine but unfortunately, each PPPoE account requires a different MAC address and my machine only has 1 Ethernet interface (buy another adapter is ...
0
votes
1answer
81 views

How to read iw allowed interface lists?

I wanted to set up promiscuous Wi-Fi monitoring into Wireshark. Tried to do it like I used to with iwconfig, but this system sets me back to managed as soon as I bring the interface back up. I see ...
1
vote
0answers
97 views

how to use two network interface in linux

I have two or more network interface at the same time and want to use each network for sending special requests over it.(i want to know how to do that with iptables and other like this ) for ...
0
votes
0answers
59 views

Using multiple wireless usb adapters (Huawei E3372) with the same mac address

If I connect two usb wireless adaptors (via a usb hub), only one of them gets assigned an ip address. I want each to be assigned a different ip address to be able to use both wireless adapters at the ...
1
vote
0answers
15 views

Access usb wireless adapter from network namespace

I have a wireless usb adapter and I would like my docker container to use just this for the internet (not the computers own wireless adapter). I think I can do this if I know how to access the adapter ...
0
votes
0answers
12 views

Unable to find any visible networks in Kali Linux (VirtualBox). Tried multiple solutions. How do I solve this? [duplicate]

I have Kali Linux installed from offensive security site. The virtualbox image was downloaded. It initially said that no wireless adapter found. I used compact-wireless-2010-06-26 to solve that. Now, ...
0
votes
0answers
32 views

No network interface shown on lubuntu

After a reboot of my lubuntu I had no more internet connection. I checked my network interfaces with ifconfig and only the localhost showed. Any idea? My workstation is a Lenovo Ideapad U410. Below ...
0
votes
0answers
16 views

CentOS Run Script when Ethernet Plug Events Occurs

I want to run a bash or python script once when the ethernet cable is plugged in or out. I am using CentOs 6.8; I write a script and save as "ifup-pre-local" into "/sbin", it works only when I ...
1
vote
2answers
33 views

How to check if a packet reached an interface in a multi-interface context?

Consider the following topology: I am sending ICMP (ping) packets from host B to 10.0.1.1. They reach the target and the target answers with a reply. The connectivity works fine. When running, on ...
3
votes
4answers
73 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
56 views

How do I fall back to the generic wireless drivers? (rtl8192cu to rtl8xxxu)

I'm currently using rtl8192cu wireless drivers from proprietary firmware-realtek_20161130-4_all.deb and I'm having an unusual bandwidth (speed benchmarks giving me a 250kbps download speed and a 5mps ...
4
votes
1answer
129 views

Why is my wlan device being renamed? [duplicate]

This is a selection from my dmesg: rtl8192cu 1-3:1.0 wlx10bef501e1cd: renamed from wlan0 wlx10bef501e1cd: authenticate with 90:94:e4:e7:99:cc wlx10bef501e1cd: send auth to 90:94:e4:e7:99:cc (try 1/3) ...
1
vote
0answers
21 views

Static IPv4 in QEMU

I'm attempting to provide static IP addresses to the network interfaces while bringing up the QEMU images via command line. The command is like below: qemu-system-x86_64 -smp 2 -hda disk.img -net nic,...
0
votes
0answers
33 views

LAN in Ubuntu server is not reconnected after rebooting modem

I have a computer with some home automation stuff connected to the router via LAN, and I only access the computer through SSH, samba shares, and a web interface that it's hosting. Whenever I power ...
0
votes
0answers
70 views

How to setup default source interface for multicast?

There is a server 172.16.0.50 with udpxy. It converts multicast video to http unicast streaming to "R2" router clients. There is igmp-proxy setup on "R1". My aim is remove igmp-proxy and link between ...
0
votes
1answer
41 views

How to get network interfaces to show up without systemd? [closed]

I'm trying to switch from systemd to runit. When I boot my computer with systemd as PID 1, my wireless card shows up in /sys/class/net. But when I boot with runit-init as PID 1, the only thing that ...
0
votes
1answer
26 views

USB WiFi card is not recognized as network interface

I have Lemaker Guitar board with Debian 8 based OS on it. The board has two network interfaces - ethernet and on-board WiFi chip. I need to use third interface - USB WiFi card. lsusb returns: Bus 001 ...
1
vote
1answer
56 views

how to print interface names only

i want to print interface names only from iwconfig command this is output of iwconfig: wlp2s0 IEEE 802.11 ESSID:&quot;CoreFragment&quot; Mode:Managed Frequency:2.442 GHz ...
1
vote
3answers
54 views

Why two network cards cannot work if configured for the same network, and could I fix this?

I have need to attach the two robotic devices to my computer, and for this I would like to use the two network cards connecting to these different pieces of hardware. Both devices happened to use the ...
0
votes
0answers
15 views

ethtool config precedence on physical interface or bond?

If I have a physical interface that (for example) has large-receive-offload configured to 'off' and that interface is part of a mode4 bond group that has large-receive-offload set to 'on' which will ...
0
votes
0answers
34 views

How do I connect to WiFi if it is grayed out? [duplicate]

Typically I can connect both the grayed out networks with an username and a password. However, on debian-based raspbian I have the problem. How can it be overcome?
3
votes
1answer
118 views

docker0 network interface is screwing up my network

I've installed docker on Ubuntu 16. Now I can no more connect to my wired network : ubuntu is using docker0 ethernet interface to connect to the network (the wifi interface still works) To resolve ...
0
votes
1answer
64 views

Use /30 netmask in Debian with bridged adapter in VirtualBox

I have Debian 9.6 installed in VirtualBox with bridged adapter. My question is, how to config my interfaces to have /30 netmask? I tried a lot a different things but I can't connect my host to the VM ...
0
votes
2answers
53 views

unknown network interface called “enx9cebe80718e1” [duplicate]

Answered in post below I have a network interface I don't recognize or understand. ip a s provides the following (sanitized) output: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue ...
1
vote
0answers
45 views

how to identify network cards problem by linux commands [closed]

is it possible to perform sanity by useful Linux command on the network cards? for example lets say we installed new OS ( redhat 7.2 ) on new HW and each HW include 4 NIC cards how we can identify ...
4
votes
2answers
149 views

ip-tools vs old ifconfig

When after I change dhcp to static in network-scripts and then I restart servicesystemctl restart NetworkManager. The static ip settings suppose to be updated but it doesn't. so I try ip link set ...
1
vote
0answers
15 views

How to share W10 wifi with Beaglebone black running Debian 9.5 through USB?

I am trying to share Windows-10 wifi with Beaglebone-Black running Debian 9.5, via USB and get a "temporary failure in name resolution". The setup for this, usually consists of two steps (assuming ...
0
votes
1answer
19 views

Exclude interface when send ICMP ping

for build small linux application I need to check the internet connectivity of the system. But my box have multiple network interfaces with interfaced for backup internet connection. I need to do some ...
0
votes
1answer
138 views

Changing qdisc algorithm sysctl and tc

What qdisc is controlled via the tc command versus sysctl net.core.default_qdisc? Consider $ tc qdisc show dev eth2 qdisc mq 0: dev eth2 root $ sysctl net.core.default_qdisc net.core.default_qdisc ...
13
votes
7answers
3k views

Naming convention standard for Ethernet and Wi-Fi interfaces on Linux machines

What is the naming convention standard for Ethernet and Wi-Fi interfaces on a Linux machine? We are developing a tool that should show only the Ethernet and Wi-Fi interfaces of the Linux machine and ...
1
vote
0answers
19 views

Cannot connect with IPV4 servers [closed]

IPV6 works fine, but IPV4 does not. I can: resolve dns names just fine (dont think its an dns issue) I am connected to the AP correctly (dont think its a connectivity issue) I have a IP address (...