Questions tagged [network-interface]
hardware (or its representation by software) that connects a computing device (host) to a computer network (net)
1,384
questions
0
votes
1
answer
25
views
raise network interfaces - debian 12
I'm trying to add one main IP, two extra IP and one IP6. Here is my interfaces file located at /etc/network/interfaces:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug ...
0
votes
1
answer
48
views
Communicate With Multiple Devices Using One IP
I am working on a project where I have to communicate with multiple devices (same manufacturer, same model) from my Linux (Ubuntu 20.04) computer. For simplicity, I will stick to two devices, named A ...
0
votes
1
answer
54
views
tcpdump doesn't appear to call any libpcap's exported function
Digging into tcpdump implementation, I can see that it actually loads the libpcap.so dynamic library in userspace.
However, by use of strace, I can't see any occurrence of calls to any function ...
0
votes
0
answers
28
views
Iptables redirect outside requests to 127.0.0.1 (VirtualBox)
I have a guest virtual machine installed with the output:
ifconfig:
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 inet6 ...
0
votes
0
answers
20
views
driver for RTL810xE
I have r8168 installed which I have read is compatible for this device but it is not being accepted
:> lsmod | grep r8
r8168 266240 0
Here is the device from lshw.
*-network ...
0
votes
2
answers
49
views
Load iptables or nftables rules as fast as possible during boot and before the network interfaces be put online
I rely on my specific service to load iptables rules at startup in my debian installation, this service calls
iptables-restore my_rules.v4
ip6tables-restore my_rules.v6
and do some other scripts
...
0
votes
1
answer
26
views
How to set static IP for 2 network interfaces in systemd linux
I have a Yocto distro that uses systemd (like ArchLinux) to allow static IP configuration via /etc/systemd/network/20-wired.network file.
I need to set a static IP for 2 network interfaces (eth0 & ...
-2
votes
1
answer
90
views
How to configure bridged networking for KVM virtual machines in Kali Linux host?
My base/host machine is running Kali Linux. It is a fresh install. My purpose is to configure the use of Bridged network mode in the KVM virtual machines I install and run on top of this host OS. I ...
1
vote
0
answers
22
views
Can I trigger an auto-negotiation of an interface using the ethtool userspace API with NETLINK sockets?
I would like to replicate the behavior of ethtool -r when auto-negotiation is active in my C++ code with NETLINK sockets. I search the CLI ethtool source code and I found that they use IOCTL sockets ...
-1
votes
0
answers
46
views
How to fix the network card name in the customization system? [duplicate]
I customized a system using Linux 6.4.0 kernel and busybox, but currently the network card name is enx+mac. I am not sure where to modify it to become a naming method similar to nameX, where X starts ...
-1
votes
1
answer
134
views
How to cancel the kernel's rename of the Network interface? [duplicate]
I compiled the kernel of Linux 6.4.0 myself and used busybox to create a root file system. I customized my own Linux system and installed it on an embedded board with four network ports, which were ...
0
votes
0
answers
35
views
How to pause WLAN interface in linux?
I am working on a project with a Wi-Fi router (TP-Link) installed with dd-wrt firmware. A latop is directly connected over eth port with the router (as an adminsitrator who controls the router over ...
0
votes
0
answers
31
views
Linux Kernel SKB with empty ARP bytes set to zero
I am registering a netdevice notifier in kernel using:
netdev_rx_handler_register(dev, my_handler, data)
Upon receiving network SKBs I check them, and if ethertype is set to ETH_P_ARP I print skb->...
1
vote
0
answers
39
views
Route through ppp0? [duplicate]
read carefully pls..
im connecting to another local network IN (overWAN) using q vpn (openfortivpn) to access that local network.
i can ping the local hosts on that network.. i can scan em with nmap ...
0
votes
0
answers
23
views
Network Connectivity Issue: Unable to Ping two VMs on eth1
I've configured two VMs and assigned them to the eth0 and to the eth1 interface.
However, I'm encountering connectivity issues as I'm unable to ping between two VMs using eth1. I've verified the ...
0
votes
1
answer
91
views
Route traffic from tun device to ethernet
I've got two Docker containers running (Ubuntu 22.04). They're on the same network so they can talk to each other (I've verified this with nc). In the first container, I have a program running that ...
1
vote
1
answer
90
views
Fedora 38: Can't use ethernet
I'm currently trying to switch to Fedora but cant get the communication through wired connection to work.
I can't figure out what's wrong, from the computers side everything is fine, but I can't ...
1
vote
1
answer
54
views
Driver installation (Intel PRO/1000) - Solaris 10 1/13
I have installed Solaris 10 1/13 on a computer containing an Intel PRO/1000 card. My problem is that the OS don't seem to recognize the device, ifconfig -a gives me only the loopback adapter (lo0), I ...
0
votes
0
answers
34
views
systemd service on connected/not status of tunnel
I am using OpenVPN as a client on Ubuntu 22.04 without the persis-tun option. Thus, when OpenVPN server comes available, eventually OpenVPN will connect and create a tun0 device. When the server is ...
0
votes
0
answers
45
views
ath11k_pci: failed to connect to HTT: -110
I have Qualcomm QCNFA765 wifi card.
I am using custom-compiled kernel 6.1.55 and I have ath11k_pci in the kernel, and all firmware files are loaded successfully. Yet, when booting, I see on the ...
0
votes
1
answer
48
views
Wi-fi network device has Ethernet link layer
I'm capturing packets using Wireshark on my Macbook. Pinging some public IP (e.g., 8.8.8.8) shows the ICMP packets going out my en0 interface. In Wireshark's capture options, that interface is ...
0
votes
0
answers
90
views
Can't add secondary gateway for secondary interface in Ubuntu 22.04
I have two interfaces and both of them have a public IP address. One of them (eth0) is primary and the other one (eth1) is secondary. I'm trying to setup it through netplan + iproute2. When I was on ...
0
votes
0
answers
129
views
Why is my virtual network interface preventing Internet after reboot?
I have a set up a virtual network interface on enp1s0 with label enp1s0:0. I use enp1s0 for Internet with occasional VPN connection. I use the virtual network interface IP so I can SSH into the ...
1
vote
0
answers
30
views
unable to scan WiFi SSID
I have successfully integrated the "SD-WLAN-SD-BT-8997-U16-MMC-W16.68.10.p162-16.26.10.p162-C4X16693_V4-MGPL" driver into Android 12 Linux 4.9.178 on our custom BG5CT-based platform. With ...
0
votes
0
answers
57
views
Wifi goes down after some time
My wifi goes down and I have to reboot. I never paid attention to this until it started to annoy me. Here are logs:
kernel rtl8723be: Init MAC failed
wpa_supplicant wlp3s0: Failed to initialize driver ...
0
votes
1
answer
27
views
Change Vendor Name returned from IP scanning apps
I have a custom embedded device that returns a Chinese vendor name when IP apps scan the network (and I mean that actual Vendor name, not the hostname).
Since this is an embedded device for a custom ...
1
vote
0
answers
20
views
udev: renaming nic name may occur even after multi-user.target begin?
I am investigating a Linux server(CentOS7.9 kernel 5.4.179-1.el7.elrepo.x86_64) for a weird issue:
There is a pretty normal service:
# /etc/systemd/system/test.service
[Unit]
Description=tet
Before=...
0
votes
0
answers
69
views
USB internet sharing from Linux to iOS
I'm wondering if it's possible to share an internet connection from a Linux computer to an iOS device using an USB to lightning cable.
It is possible to share an internet connection from Mac OS X to ...
2
votes
1
answer
40
views
Can't ping devices on LAN
I've got 2 Access Points attached to my laptop's ethernet port via a PoE switch. I've assigned static IPs & names to them with dnxmasq (successfully, I believe). However, ping and ssh say they're ...
0
votes
0
answers
180
views
How to make all Windows network interfaces visible (and usable ) in WSL2?
I'm a student, I'm currently working on a project with the goal of integrating MultiPath TCP (MTCP) into WSL2. However, there's a significant challenge we're facing: WSL2 only exposes a single "...
0
votes
0
answers
27
views
How to limit VM's network which is running by VirtualBox?
I have hypervisor where Ubuntu Server 18.04 is installed and VM where Ubuntu Server 22.04 is installed.
VM has access to the internet through Host-only adapter. It means I have vboxnet0 interface on ...
1
vote
0
answers
61
views
Getting an interfaces `valid_lft` programmatically
iproute2 can give back an interface's valid_lft which corresponds to the dhcp lease time left. See a truncated example output hereafter:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue ...
0
votes
0
answers
272
views
Slow nfs share on Windows 11 client
I’m having some trouble with an NFS share I have running on Rocky Linux 9.
I want to access it from a Windows 11 machine, both from the local network and from WAN.
I have it set up and working, but it’...
1
vote
1
answer
68
views
Setting preferred interface/IP for apps [duplicate]
I have an interface with two IP's as shown below (necessary for some firewall traffic management). It seems that apps could bind to either (if they don't specify an IP) on start, possibly interfering ...
0
votes
1
answer
113
views
Wireguard does not work when eth0 is up
Setup
Router as Wireguard server on my network
Raspberry Pi
OS: Raspbian Buster
connected to a mobile hotspot via wifi (interface wlan0)
et0 set to static IP to control a device with static IP ...
0
votes
1
answer
36
views
kernel reports ACPI Error when bringing network card up or down
I get these errors in my logs, when bringing my network interface eth0 up or down, using ifup and ifdown:
kernel: e1000e 0000:00:19.0 eth0: NIC Link is Down
kernel: ACPI Error: Index value ...
1
vote
0
answers
72
views
How to check if 2 network interfaces can communicate
I want to be able to tell programatically if 2 network interfaces (lets say eth0 and wlan0) are on either the same network, or in some network architecture that allows one to reach the other (such as ...
2
votes
1
answer
552
views
How can I configure a podman container to use my wireguard interface only?
Using wg-quick with the Table=off setting, I managed to set up a non-default interface wg1 on on linux bookworm machine that works as I expect it to:
curl ifconfig.co return my real IP.
curl --...
0
votes
1
answer
468
views
Assign IP to interface in every state (DOWN, NO CARRIER)
I have a service that depends on the host's primary IP address, and that service fails to start if that address is not configured on the host.
Is there a way to have systemd-networkd bring a ...
1
vote
2
answers
407
views
MacBook Pro's wifi doesn't work on a fresh Pop!_OS install
I have a MacBook Pro 16, and decided to install Pop!_OS on it.
My system info is:
OS: Pop!_OS 22.04 LTS x86_64
Host: MacBookPro16,2 1.0
Kernel: 6.2.6-76060206-generic
My Network controller is a ...
1
vote
0
answers
252
views
Remove default route on AlmaLinux 9 / RH9
I'm running AlmaLinux 9 (a red hat 9 clone), and I would like to permanently remove a default route. My routing table is shown below, and I would like to remove the 172.31.252.1 route.
I know how to ...
0
votes
1
answer
27
views
Capture network interface device name with Packetbeat
With Packetbeat on Linux, the packetbeat.interfaces.device: any configuration captures all messages sent or received by the server where Packetbeat is installed.
I want to distinguish the messages ...
0
votes
1
answer
77
views
ethernet interping issue, Im able to ping to both eth0 and eth1 from eth0 itself. why?
In one of the projects, we are using the MYC-Y7Z020-4E512D-766-I SOM module with Linux kernel 4.1.4. Here we wanted to use 2 ethernet ports eth0 and eth1 our requirement is to set the IP of eth0 and ...
0
votes
0
answers
70
views
Ubuntu machine can't make outgoing WAN connections
I have an Ubuntu machine on my LAN into which I can connect via SSH. Trying to run apt update fails:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Cannot initiate the ...
1
vote
2
answers
115
views
Two identical network cards, one unclaimed
I got two identical network cards in my server that I run Proxmox VE on. One of them is unclaimed, the other one is running fine. Can anyone help with this? I understand that unclaimed usually is a ...
1
vote
0
answers
15
views
How can I configure my Linux host to NOT connect to a 2nd bridged interface that uses a different VLAN?
My computer is connected to a port on my switch that allows VLAN 10 (default) and VLAN 20.
My computer only has 1 ethernet card: eno1.
On my computer, I have created two bridged interface:
br0 where ...
0
votes
1
answer
138
views
Dedicated network interface for OpenVPN
I'm trying to use an OpenVPN client service to serve a vpn connection over specific application. In my case I want to setup my tor and only tor connection to go over vpn. Should How would I achieve ...
0
votes
0
answers
129
views
Need help debugging slow NFS with high avg RTT on Ubuntu
I'm managing a number of libvirt hypervisors, where the VMs data is stored on a NFS server.
I've been experiencing high I/O wait on the hypervisors' CPUs, and as such decided to dig a little deeper. ...
0
votes
1
answer
186
views
ssh -w: Bad tun device 'tun0'
I'm attempting to create an SSH tunnel and utilize it as a standard network interface.
Here is what I have tried:
myuser@client-pc:
ip tuntap add mode tun user myuser name tun0
ip address add dev tun0 ...
0
votes
1
answer
71
views
Get prefix length of IPv6 from dhcpcd
I use dhcpcd to acquire an IPv6 address. Is there a way to find out the prefix length of the acquired IPv6 through dhcpcd?
Added this to the dhcpcd.conf to get an IP for eth0
interface eth0
ipv6rs
...