networking

How to Make a Systemd Private Network Namespace Accessable

How to Make a Systemd Private Network Namespace Accessable So I have an application that only binds to 0.0.0.0 and listens on a port (TCP). The communication is unencrypted and unauthorized so I’d like to work around that without getting too deep into the weeds. I’d like it to bind on 127.0.0.1 so I can …

Total answers: 1

iptables allow host for isolated VLAN

iptables allow host for isolated VLAN I’m having a real trouble trying to do a "simple" tweak in my network. So: there are two sites, A and B and are connected via IPsec and there’s no problem in communication between them. each site has two VLANs, main and guest: main is 192.168.55.0/24 for A and …

Total answers: 1

Simulate single big network delay and packet burst after

Simulate single big network delay and packet burst after I’m testing the Opus codec and VoIP stack which uses it. I have synthetic test utility which sends internally Opus RTP traffic between two ports on loopback interface + this writes resulting audio to files to allow further analysis. Using Linux ‘tc’ utility I can simulate …

Total answers: 1

Redirect port using TC BPF

Redirect port using TC BPF I’m want to use TC BPF to redirect incoming traffic from port 80 to port 8080. Below is my own code, but I’ve also tried the example from man 8 tc-bpf (search for 8080) and I get the same result. #include <linux/bpf.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_endian.h> #include <linux/pkt_cls.h> #include <linux/if_ether.h> …

Total answers: 1

AP routing by VPN and rest by default

AP routing by VPN and rest by default I have an orangepi (armbian) with an Ethernet interface (eth0) where I set up an interface (wlan0) for an AccessPoint and installed a VPN client (tun0). The objective is: All traffic from the wlan0 AP is directed to the vpn (tun0) and vice versa All traffic from …

Total answers: 1

ifupdown-wait-online.service (even if disabed) / xfce takes 5 mins to load

ifupdown-wait-online.service (even if disabed) / xfce takes 5 mins to load I’m using Ubuntu 22.04 right now and ifupdown-wait-online.service takes 5 mins to load,as well as xfce. I gave a : # systemd-analyze blame and this is the result ; is exactly like I’ve thought : https://pastebin.ubuntu.com/p/XqMKnqNBjZ I’ve found a possible resolution of the problem …

Total answers: 1

No internet connection after upgrading to 5.15.0-83 on Ubuntu 22.04.3

No internet connection after upgrading to 5.15.0-83 on Ubuntu 22.04.3 A few days ago I ran an automatic upgrade on my Ubuntu 22.04.3. Today I restarted my PC and it now it cannot connect to the internet. I tried both Wi-Fi (in 2 different cards) and a LAN cable, but the effect is the same. …

Total answers: 1

Cannot ssh to ubuntu vm (not localhost)

Cannot ssh to ubuntu vm (not localhost) I’m trying to connect to my VM that’s running Ubuntu. I figured out its IP address as well as the IP address of my host computer and inputted into the network settings via the VirtualBox Manager like so: Here the Host IP is the IP of my computer …

Total answers: 1

Can't ping devices on LAN

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 unreachable. So what have I missed, and how can I successfully ping 10.0.0.10? More info: The …

Total answers: 1

Accidentally deleted cfg80211 Ubuntu 22.04 Kernel version 5.15.0-43-generic

Accidentally deleted cfg80211 Ubuntu 22.04 Kernel version 5.15.0-43-generic While trying to install some adapter drivers as shown here, I accidentally deleted my /lib/modules/5.15.0-43-generic/kernel/net/wireless/ directory completely where cfg80211.ko is stored, and I would like to repair it if possible. I’ve tried running sudo apt-get install –reinstall linux-image-5.15.0-43-generic and similar combinations but that simply gives me Reinstallation …

Total answers: 1

ubuntu 22.04 / Mediatek mt7921e network card "No wifi adapter found"

ubuntu 22.04 / Mediatek mt7921e network card "No wifi adapter found" I have just installed ubuntu 20.04 (alone, no dual boot) on a hp elitebook laptop (which is new). Wifi worked for a few hours, but then stopped working ("No wifi adapter found"). Ethernet is working fine though. I have tried several options to resolve …

Total answers: 2

Cannot connect to Wi-Fi: Wireless toggle is not displayed

Cannot connect to Wi-Fi: Wireless toggle is not displayed I just bought a new laptop (Lenovo IdeaPad Slim 3, if it’s relevant), it had no OS and I decided to install Mint. The problem is that I cannot get Wifi to work. When I click the network manager icon on the taskbar, it only shows …

Total answers: 1

Linux Mint 21 – Broadcom 43142 – wifi stopped working

Linux Mint 21 – Broadcom 43142 – wifi stopped working I’m using Mint 21 on an HP 17-y002na laptop. It’s been connected via ethernet cable for much of the time since I updated to 21, but has had wifi capability at times. Last week I noticed that the symbol showing ethernet connection was absent from …

Total answers: 2

Auto-connecting 4G/LTE on startup (with USB modem)

Auto-connecting 4G/LTE on startup (with USB modem) I have a Huawei E3372 modem which works just fine – it shows up in the settings and I can easily connect to the network, but I’m trying to set up a machine that ideally would boot up automatically when powered on and connect by itself. This could …

Total answers: 1

Overview of Ubuntu Networking

Overview of Ubuntu Networking I use Ubuntu to run quite a few NX Witness Video Surveilance systems in varuious networking setups. Usually just a flat network with a single NIC server. But sometimes we run dual NIC’s. I can get these working OK. I’m curently working on a dual NIC system that we also require …

Total answers: 1

DNS issues on Ubuntu 22.04.3 headless server

DNS issues on Ubuntu 22.04.3 headless server Background Trying to configure a headless plex server on a little Optiplex machine I bought. Everything has gone smoothly until I try to claim my plex server and it turns out there are DNS issues on the server. I’m running Ubuntu 22.04.3 I should preface this by mentioning …

Total answers: 1

wlan0 interface is missing

wlan0 interface is missing I am trying to get WIFI access on my DE10 nano board which is running debian buster. The kernel version is 5.10.50-lts. The wifi device i am using is the RT5370 chipset. The issue is that the wlan0 device is not visible with ifconfig -a. The output is shown below: ifconfig …

Total answers: 1