networking

Given MAC address, how to tell if interface is wifi

Given MAC address, how to tell if interface is wifi Is there a way, on the command line, given a MAC address of a local network interface on the current machine (e.g. 01:23:45:67:89:ab), to determine if that interface is WiFi vs wired? I’m trying to do this in a shell script. Asked By: Jason C …

Total answers: 4

List openvswitch virtual switch with ip command

List openvswitch virtual switch with ip command I’ve configured openvswitch virtual switch and can list it with ip command as follows: # Show all interfaces ip link Output: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 <snip> 5: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop …

Total answers: 1

systemd-networkd-wait-online service timing out during boot

systemd-networkd-wait-online service timing out during boot I have been this issue for quite a while so today I have tried a suggestion I found online and running systemd-analyze plot and checking the output. I’m attaching the SVG file here because unless I am mistaken there are only two things taking an absurdly long time to …

Total answers: 2

Connected to WiFi but there is no internet

Connected to WiFi but there is no internet $ lsb_release -a No LSB modules are available. Distributor ID: Pop Description: Pop!_OS 22.04 LTS Release: 22.04 Codename: jammy I was able to connect to the Internet until Sunday. I couldn’t connect to the Internet on Monday. Nothing has changed on my PC. The only thing I …

Total answers: 1

WiFi-driver not Found in CSL Mini PC (Ubuntu 22.04.4)

WiFi-driver not Found in CSL Mini PC (Ubuntu 22.04.4) I bought a mini pc with wifi and bluetooth but no matter what I try the wifi doesn’t show up. It works on windows 10 after installing the drivers, but not in ubuntu sadly. windows drivers: https://ftp.csl-computer.com/pub/drivers/mini-pc/CSL_Narrow_Box/51194_52233_52852/ I tried a few things, like this one: WiFi-driver …

Total answers: 1

Find if network supports IPv6

Find if network supports IPv6 Is there a way to find out if the IPv6 network cable is disconnected from the server through the terminal? Pinging google won’t work as it could be an intranet. Any help would be appreciated! Asked By: user2384330 || Source as said in serverfault, to show the localy listed ipv6 …

Total answers: 2

Where does ss command gather its data for ports etc

Where does ss command gather its data for ports etc When trying to see port clashes within my system, many websites online recommend using /etc/services or ss -tunl to see port info I am noticing /etc/services is providing different information to -ss on most occasions. Output comparison examples sudo cat /etc/services ftp 21/udp ftp 21/sctp …

Total answers: 2

How can I solve the DNS leak when using systemd with DNSOverTLS

How can I solve the DNS leak when using systemd with DNSOverTLS The problem: I am connected to a foreign wifi on Kubuntu Desktop 22.04 and want to configure the DNS system-wide to 9.9.9.9 (quad9) with DNSOverTLS. However, on dnsleaktest.com I still get a different DNS. I tested with Firefox with "DNS over HTTPS" set …

Total answers: 1

Netfilter and forward chain traces ARP but not other packets

Netfilter and forward chain traces ARP but not other packets I am experimenting with netfilter in a Docker container. I have three containers, one a "router", and two "endpoints". They are each connected via pipework, so an external (host) bridge exists for each endpoint<->router connection. Something like this: containerA (eth1) — hostbridgeA — (eth1) containerR …

Total answers: 1

Configuring IPv6 ULA addresses in OpenBSD via SLAAC

Configuring IPv6 ULA addresses in OpenBSD via SLAAC I would like to have devices on my network autoconfigure ULA addresses in a prefix generated by https://www.unique-local-ipv6.com/ on my network, which is predominantly IPv6-only. My main router is running OpenBSD 7.4 and I’m running rad with the following configuration: dns { nameserver { fdd0:c720:85fa:100::1 } } …

Total answers: 1

Unable to create bridge using NetworkManager

Unable to create bridge using NetworkManager I’m trying to work out why I cannot create a bridge for my Virtual Machines using NetworkManager. I have now searched in several places for how to create a bridge network using NetworkManager to the point I cannot refer to a single tutorial. They are all more or less …

Total answers: 1

Ubuntu 22 – Repeated wireless reset by kernel

Ubuntu 22 – Repeated wireless reset by kernel I have a baffling issue on a relatively fresh install of ubuntu 22.04. I noticed today that the internet was very slow on my laptop, but not on my phone or other laptops in the apartment. After some investigating, I noticed that any time the network connection …

Total answers: 1

Container occasionally not part of network

Container occasionally not part of network I’ve a Docker container that is started via docker-compose. The configuration file specifies that it should be part of two networks. However, on occasion (approximately one in five runs), the container is only a member of one of the networks (i.e., docker network inspect <network_id> shows no containers). Here’s …

Total answers: 1

WiFi Issue: Terminal Freeze upon Turning Off WiFi

WiFi Issue: Terminal Freeze upon Turning Off WiFi Dear Ubuntu Community, I am encountering a persistent issue with my Ubuntu 23.10 system related to the WiFi functionality. While the WiFi connection itself works flawlessly, attempting to turn off the WiFi leads to the entire system freezing. Any commands involving sudo or NetworkManager result in the …

Total answers: 2

Route all TCP traffic from port to another host:port

Route all TCP traffic from port to another host:port I have a wireguard config, creating a VPN between a remote server (10.0.1.1) and my local machine (10.0.1.2), so that the server can reach the local machine and vice versa. I’d like the server to route all incoming TCP connections on port 8000 to my local …

Total answers: 1

Port not open (ufw disabled)

Port not open (ufw disabled) On the server, running Ubuntu 22.04 sudo netstat -tnlp | grep :4000 tcp 0 0 0.0.0.0:4000 0.0.0.0:* LISTEN 10690/nxd tcp6 0 0 :::4000 :::* LISTEN 10690/nxd The service responds to HTTP request: curl localhost:4000 curl: (52) Empty reply from server ufw is disabled sudo ufw status Status: inactive From client …

Total answers: 1