Skip to main content

Questions tagged [network-interface]

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

599 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
2 answers
2k views

Make OpenVPN restart upon new network connection on systemd

How would you go about making OpenVPN automatically restart upon connecting to a network? The issue is that every time a network connection is lost, or if the computer is booted without a network ...
cxou's user avatar
  • 402
6 votes
3 answers
12k views

How do I disable network interfaces from loading at boot without Network Manager?

The machine I'm using has 4 network interfaces, only one of which is currently being used (the other 3 are not plugged in at all). Currently when the machine is restarted it is delayed by a few ...
Centimane's user avatar
  • 4,500
5 votes
1 answer
5k 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-...
Edvinas's user avatar
  • 51
5 votes
0 answers
1k views

Optimizing USB tethering

I'm running Arch Linux (kernel 4.17.2-1-ARCH #1 SMP PREEMPT Sat Jun 16 11:08:59 UTC 2018 x86_64 GNU/Linux). I have consistently slow speeds on SpeedTest.net while using USB tethering. As part of my ...
MountainX's user avatar
  • 18k
5 votes
0 answers
8k views

RTNETLINK answers: File exists on Ubuntu Server 16.04

I have a fresh new install of Ubuntu Server 16.04. After installation, network connectivity was fine. I installed QuickBox, it's a seeding/torrent server software (https://quickbox.io). After the ...
Pietro Aretino's user avatar
5 votes
0 answers
2k views

Vagrant configure eth0

I started using Vagrant recently to quickly install virtual machines. I noticed that my network configuration isn't perfect, but I can't get it right. This is my Vagrantfile: ENV['...
jsus's user avatar
  • 96
5 votes
1 answer
3k views

Maintain ip link settings across reboot

Every time I turn on my computer, I have to manually set # ip link set wlp5s0 up in order to use my wireless card. Is there a way to maintain this setting across reboots? So if I set the interface up ...
Canyon's user avatar
  • 151
5 votes
1 answer
623 views

Is it possible to set interface name permanently in Raspbian?

I'm using 2 wifi dongles. First one is used to monitor and second one is used to access internet. Even if I changed /etc/udev/rules.d/70-persistent-net.rules as below, at startup sometimes wlan0 ...
Ahmet Tanakol's user avatar
5 votes
0 answers
3k views

persistent network interface naming and kvm

I wonder why my network interface is still named eth0 in my kvm guests. udevadm just outputs # udevadm test-builtin net_id /sys/class/net/eth0 2> /dev/null ID_NET_NAME_MAC=enxc2184ae7ab3f I would ...
countermode's user avatar
  • 7,553
4 votes
0 answers
5k views

Can't bring up network interface - RTNETLINK answers: Operation already in progress

I have Kali Linux 2020.2 on my laptop. When I started it today I couldn't connect to any wifi networks. I checked the network manager: systemctl status network-manager.service ● NetworkManager....
Kyle's user avatar
  • 41
4 votes
0 answers
2k views

How to generate network interface config file?

On CentOS, is there a way to generate again the network interface config files? The ones stored in /etc/sysconfig/network-scripts/ifcfg-<ifaceName> It's quite easy to do manually: Get ...
Kevin Lemaire's user avatar
4 votes
0 answers
3k views

Limit on number of virtual interfaces in linux?

I am running some automated tests with docker containers, and this includes creating a lot of veth interfaces (about 2 per container, ~1000 containers). Whenever I do this, the system shuts down. ...
devil0150's user avatar
  • 681
4 votes
0 answers
557 views

WLAN stick not working at boot time

I am failing to use a FRITZ!WLAN USB Stick N to connect my Raspberry Pi 1B to my wireless network. I see several problems, but am unable to locate and eliminate the root cause. The problem is ...
Twonky's user avatar
  • 171
4 votes
0 answers
1k views

What does txqueuelen 0 mean

I understand that general guidance is txqueuelen should be set to lower value for high latency network; and higher value for servers. I am not clear on significance of 0. Does it mean there is no ...
saugata's user avatar
  • 141
4 votes
1 answer
2k views

SoftIRQs and Fast Packet Processing on Linux network

I have been reading about performance tuning of Linux to get the fastest packet processing times when receiving financial market data. I see that when the NIC receives a packet, it puts it in memory ...
Nidhi's user avatar
  • 41
3 votes
1 answer
32 views

Which is My Static IPv6 Interface Identifier?

I've been accustomed to IPv4 for so long and I'm really unfamiliar with IPv6. I recently wanted to add a firewall rule to my OpenWRT router to allow inbound IPv6 connection to a certain port of my ...
citrate's user avatar
  • 141
3 votes
0 answers
320 views

Why does adding an IPv4 address alias to loopback adapters make the entire subnet range pingable but not for IPv6?

For example with IPv4 addresses I can add the alias 172.16.0.0/12 to a loopback adapter: ip addr add 172.16.0.0/12 dev lo and I am then able to ping any address from 172.16.0.1 - 172.31.255.255 ...
user1634494's user avatar
3 votes
0 answers
332 views

Network controller driver won't install Debian 10

I'm trying to install driver for my Intel Wireless-AC 9462 network controller. I don't know why, but there is no info about available Kernel modules in lspci -v output. I've installed firmware-...
kromkazpasztetem's user avatar
3 votes
1 answer
3k views

Route incoming traffic on openVPN server to client

I have a VPS with a public IP that is running OpenVPN and a local server that is the only VPN client on this. Is it possible to route incoming traffic on lets say port 80 to the client? My local ...
Stantastic's user avatar
3 votes
0 answers
1k views

Simulate network on a single machine

I'm trying to simulate a network on a single machine. I have multiple nodes that communicate through tcp sockets. I tried to create one dummy interface for each node like this: ip link add name ...
Joao P's user avatar
  • 31
3 votes
0 answers
1k views

Network interface with unknown speed

When I try to print the maximal throughput of my network interface, I receive an error: $ cat /sys/class/net/<interface>/speed cat: /sys/class/net/<interface>/speed: Invalid argument ...
gnivirht's user avatar
  • 151
3 votes
0 answers
599 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 ...
Alexander Solovets's user avatar
3 votes
0 answers
2k views

How to route traffic from ethernet to a tun device (create a VPNed ethernet port)

I have a Network Video Recorder which is connected to a raspberry pi directly through ethernet, and the raspberry pi is connected to internet through wlan0. I want to route all the traffic from the ...
Guerlando OCs's user avatar
3 votes
0 answers
1k views

Ethernet interface doesn't go down when unplugged

I have a multiple interfaces that are network connected. I want to be able to configure routes for this so that no matter what is plugged in or connected it doesn't have to be restarted or any ...
zlb323's user avatar
  • 113
3 votes
0 answers
3k views

bnep0 interface not showing up after connecting to bluetooth NAP

I'm currently trying to associate my phone and a custom board running Linux through a bluetooth PAN network. My phone being the NAP and my board the PANU. I followed the following documentation HOWTO-...
Arkaik's user avatar
  • 1,156
3 votes
0 answers
870 views

Configure ipaddress with systemd-networkd without link

I am running debian (testing) with systemd v234. I decided to give systemd-networkd a shot for my network configuration. Wifi configuration with dhcp form my router worked well thanks to the Arch-...
truschival's user avatar
3 votes
2 answers
3k views

Enabling networking in a systemd-nspawn container

I'm trying to setup container that has access to the internet but have been unsuccessful so far. # sudo systemd-nspawn -nb -M debian-tree # systemctl enable --now systemd-networkd systemd-resolved # ...
Ava's user avatar
  • 143
3 votes
0 answers
135 views

different MTU on a single link

What should be the correct behaviour in Linux, when the same link has different MTUs, e.g. [HostA eth0 MTU 1500] <--> [eth0 MTU 500 HostB] When I do ping -s 1460 HostB from HostA, I don't see ...
Mark's user avatar
  • 31
3 votes
1 answer
286 views

Network manager misses my network card

I've got the following network card: Bus 001 Device 002: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard It's accessable through ip tool and properly works with dhcpcd (3rd entry in the ...
Denis Sheremet's user avatar
3 votes
1 answer
2k views

Wifi suddenly not working on thinkpad, in both Manjaro and parrot linux

I boot up the laptop one day and wireless is not working. The wireless led on the laptop is green, showing it's working. In bios, it is enabled. But Linux does not see any kind of wireless interface,...
user212720's user avatar
3 votes
0 answers
329 views

Multiple network interfaces issue

I've two 3G USB modems (or one USB modem and any other network interface - eth or wlan). I connect both interfaces by creating IP rules and adding routes for each one as follows: sb="ip/subnet&...
Marware's user avatar
  • 486
3 votes
0 answers
429 views

Why nmap is slow with Debian stretch/testing with Broadcom BCM5708?

I had freshly installed Debian testing for a HP G5 server with Broadcom BCM5708 network card. Nmap scans are about 10 times slower that running on another HP G5 server with different network card. I ...
Tass Mark's user avatar
  • 131
3 votes
1 answer
2k views

"ndd" equivalent of "ethtool" on Solaris

I've to restore a large file from a NAS backup on Solaris 10 ZFS. I'm using this following command: rsync -av [email protected]:from/NAS/files/system to/solaris/files/system And I've got this ...
dubis's user avatar
  • 1,460
3 votes
1 answer
742 views

WiFi card disappears after reboot, but not after cold boot

I have an Arch-based server (Zotac Nano, AMD Kabini-based) which doubles as WiFi access point using a miniPCI Atheros WiFi card. If I start it form cold boot (as in “it was off”), then everything ...
lockheed's user avatar
  • 540
3 votes
1 answer
1k views

Kali Linux Rolling Alfa NHA wireless Error -22, Kali in Virtual Box (host Kali) Live Mode

Hi Ive just purchased an Alfa AWUS036NHA wireless USB wireless Adapter. I have also just upgraded the installed Kali 2.0 Sana on my hard drive to the new Kali rolling. There seems to be issues ...
Josh Churchill's user avatar
3 votes
0 answers
235 views

Why does `ping -M do -s 8000` still work between hosts with different MTU values?

I have two hosts: alice (192.168.0.1, mtu 9000) bob (192.168.0.2, mtu 1500) They are directly connected with a cat 6 cable, with no switch in between. Why is it that I can still ping bob from alice,...
Kal's user avatar
  • 753
3 votes
0 answers
603 views

Linux + why dropping issue displayed from ifconfig but not from ethtool?

we have Linux VM red hat 7.2 version with two LAN interfaces the Linux machines are ruining on ESXi - 5.5.0 and we have very strange issue , the conflict is between the ifconfig command to ethtool ...
yael's user avatar
  • 1,531
3 votes
0 answers
39 views

Limit access/transmit rights on NIC to a single user application

I currently have a RT patched linux machine and I need to have full and undelayed access to my Wired interface card. I am running a realtime non-preemtable user application which sends a couple of ...
Rami's user avatar
  • 43
3 votes
0 answers
1k views

Can't connect to Virtualbox VM's static IP which is in a different subnet from the hosts's IP, but statically routed to the host HW addr

I have a physical server running Ubuntu Trusty (14.04) at a data centre where they assigned one IP address, as well as a /28 block (16 IP addresses, 14 usable) from a different subnet. They said that ...
Ronny Ager-Wick's user avatar
3 votes
1 answer
1k views

Force local IP traffic to go through LAN WITHOUT ip address changes

I know there's some topics about forcing local IP trafic of a Linux machine to go through the LAN (over the network where a WireShark is captuting trafic) but all solutions implies IP address ...
Pigmin's user avatar
  • 31
3 votes
0 answers
1k views

How to update ip in hosts file automatically from a VirtualBox guest?

I have a VirtualBox guest running Debian with Bridged Adapter. The host is running on Windows 8. I would like to connect from the host to the guest through a specific port. I came up with the ...
András Gyömrey's user avatar
3 votes
0 answers
739 views

Where does BPF packet capture read its data from?

I am interested in the low-level interfacing with network packets. From what I read, tools like tcpdump and libpcap use the BPF packet filter device /dev/bpf* to read link-layer network packets (on ...
Tob Ernack's user avatar
3 votes
0 answers
196 views

Interface on Linux for IP range to divide incoming traffic

In order to divide incoming traffic I use the "ip link" command: ip link add link eno1 name eno1.vlan10 type vlan id 10 I want to do the same for a network range, so that I have a named interface ...
JojoMa's user avatar
  • 31
3 votes
0 answers
152 views

Route VPN Connections through VPN

I am currently setting up a wireless router using OpenWRT. The landlord of the dorm I live in requires joining a VPN to access the internet, supporting both PPTP and OpenVPN. I want to support the "...
ApolloLV's user avatar
  • 133
3 votes
0 answers
2k views

Default iterface/routes metric in Linux

When I run ip route on my Linux machine, I see default via xxx.xxx.xxx.xxx dev eno1 metric 202 I wonder, where this 202 metric is configured and what other ip commands use it.
Eugene Yarmash's user avatar
3 votes
0 answers
2k views

What does it mean, when lshw says a wireless adapter `UNCLAIMED`, while iwconfig doesn't find it?

What does it mean, when iwconfig doesn't find (i.e. report) an internal wireless adapter, while lshw says it UNCLAIMED? This happens after I notice it not working, and unload and reload its module ...
Tim's user avatar
  • 102k
3 votes
1 answer
823 views

Can renaming a network device cause race conditions?

Arch uses predictable network interface names. MATLAB licenses are linked to the MAC address of eth0, so I need to rename one of my devices eth0. In a machines with only one NIC I can just turn off ...
StrongBad's user avatar
  • 5,271
3 votes
0 answers
349 views

biosdevname is giving me "p120p1" instead of p1p1 -- is this correct?

I'm using biosdevname on a CentOS 6.3 server to name my interfaces in a rational way. On our new Dell PowerEdge C6145, we have 2 embedded ports and two PCI cards with 4 ports each. On our other Dell ...
mattdm's user avatar
  • 40.3k
3 votes
1 answer
849 views

Manjaro Linux - Cable unplugged even if plugged

I have just installed the system (Manjaro) and I have one, major, problem: it says that my network cable is unplugged, even if it's plugged. I have a Realtek RTL-8110SC/8169SC Gigabit Ethernet and ...
Con7e's user avatar
  • 339
2 votes
0 answers
126 views

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 ...
px-wgraj's user avatar

1
2 3 4 5
12