New answers tagged

0 votes

Connect IPSEC VPN to network interface

It seems that the issue is related to the fact that the tun0 interface does not have a default route, and therefore, it does not know how to forward packets to the VPN server. To fix this, you can add ...
ZarTek Creole's user avatar
0 votes

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

I had the same annoying problem and, I'm not an expert, but searching inside the config files, found the solution on my Devuan actual lastest version: edit file: "/etc/init.d/networking" ...
PlLlMlLl's user avatar
0 votes

CentOS 7 - Rename network interface without rebooting

You can do it via ssh: ip link set eth0 down ip link set eth0 name nic0 ip link set nic0 up mv /etc/sysconfig/network-scripts/ifcfg-{eth0,nic0} sed -ire "s/NAME="eth0"/NAME="nic0&...
Patricio Lopez Seco's user avatar
0 votes
Accepted

How to create a linux vlan aware bridge with ingress packets untagged and egress packets tagged

Introduction/Initial setup This answer doesn't attempt to integrate in network configuration tools the commands used below. The following tools, at least, are expected to be usable for this purpose ...
A.B's user avatar
  • 35.5k
7 votes

How to find unspoofed MAC address of NIC

This answer is specific to FreeBSD. The MAC addresses of the NICs that were identified during the most recent boot are recorded in /var/run/dmesg.boot: $ grep 'Ethernet' /var/run/dmesg.boot em0: ...
Jim L.'s user avatar
  • 7,922
23 votes
Accepted

How to find unspoofed MAC address of NIC

This answer is about Linux. ifconfig is obsolete and doesn't have access to a kernel API able to provide it this information. This information has been able to be retrieved for a long time with ...
A.B's user avatar
  • 35.5k
14 votes

How to find unspoofed MAC address of NIC

This answer is about NICs in general. Nothing about that MAC address is "unreal". In general, nothing guarantees that any network card does have any ROM that contains a unique MAC address. ...
Marcus Müller's user avatar
1 vote

Setting PIN code for ZTE USB 4G Modem recognized as CDC Ethernet device in Linux

Apparently this device is more like a small router in USB stick form rather than a traditional USB modem. The only available documentation on the internet for it seems to be a simplistic "quick ...
telcoM's user avatar
  • 94.8k
1 vote

Switching from networking to netplan

Netplan can render configuration for NetworkManager or systemd-networkd backend. You have to select it in your yaml file as in the example below: network: version: 2 renderer: networkd ethernets:...
RomanK's user avatar
  • 111
1 vote

Configure access point on Ubuntu 20.04 with the wwan0 interface

To configure an access point on Ubuntu install the linux-wifi-hotspot. sudo add-apt-repository ppa:lakinduakash/lwh sudo apt install linux-wifi-hotspot To use the GUI: wihotspot. To Use the CLI ...
GAD3R's user avatar
  • 66.3k
-1 votes

Enable networkmanager after Arch installation

It happens sometimes, usually it's because you didn't install any network manager package. In this case, due to it's a fresh installation, the best thing to do, and the best one in my opinion, it's to ...
Sadriicaa's user avatar
1 vote

What Linux process is responsible for responding to pings?

One fun way to convince yourself that the Linux kernel handles it directly is to observe the kernel settings for it with: tail /proc/sys/net/ipv4/icmp* which might output something like: ==> /proc/...
Ciro Santilli OurBigBook.com's user avatar
0 votes

mt7902 driver for ubuntu

I have an Acer 3 with that same WiFi card, MediaTek Wi-Fi MT7902 Wireless LAN Card version-3.3.0.749. Originally was running MS-Windows 11 factory setup. Debian 12 could not detect the driver although ...
k span's user avatar
  • 1
2 votes
Accepted

What does qlen 1000 mean for a noqueue qdisc

qlen is the interface parameter set with ip link set eth0 txqueuelen 1000 or ifconfig eth0 txqueuelen 1000 (see ifconfig(8)) In the kernel it is called dev->tx_queue_len and defaults to ...
sizif's user avatar
  • 286
0 votes

How do i start kea-dhcp server with multiple interfaces when first interface in the "interface" list is down

I have raised query in git lab for the issue https://gitlab.isc.org/isc-projects/kea/-/issues/3241 And also, after checking kea-dhcp server code i understood that kea-dhcp server will refuse to start ...
Pranathi's user avatar
1 vote

How do i start kea-dhcp server with multiple interfaces when first interface in the "interface" list is down

There's a feature request about this exact problem documented on KEA's source repository in issues 3188: Support hot plugging network interfaces Open Issue created 1 month ago by Jakub Okoński name: ...
A.B's user avatar
  • 35.5k

Top 50 recent answers are included