New answers tagged

0 votes

How to add internet speed meter in ubuntu 22.04

There is a GNOME Shell Extension called "Net Speed Simplified" wich will show you your internet speed. You can simply install it from here. Hope this helps!
  • 35
1 vote

Ubuntu 22.04 force ethernet to 100Mbit/s

You can do it using NM CLI. Check the name of your connection by nmcli c show If your connection is "Wired Connection 1", run: nmcli c edit "Wired connection 1" goto ethernet set ...
  • 83.8k
0 votes

Problem with network connection on desktop version

After many researches my colleague send me command nmcli connection show and there was pvpn-ipv6leak-protection that is left after ProtonVPN was deleted. Removing this connection with nmcli connection ...
0 votes

How to add internet speed meter in ubuntu 22.04

Maybe you don't need anything installed. A basic internet speed test can run in a browser and you get the ping, download and upload speed. Just try one of these: https://www.speedtest.net/ https://...
  • 31
0 votes

podman container ip address should remain same with disconnect and connect

I believe you are trying to assign the same IP for your container every time. In simple words, you want your container with static IP. Then you have to start your container with the parameter Creating ...
  • 97.4k
2 votes
Accepted

bypass traffic on Ubuntu server

You don't need VPN for this, you can use an ssh tunnel. From vm-with-restricted-internet run: ssh -D 9090 -N -f user@vm-with-free-internet Then you can tell your Applications on vm-with-restricted-...
  • 24.7k
0 votes

DNATing DNS requests that aren't going to a particular server. iptables : No chain/target/match by that name

All the filtering needs to be done in the nat tables, with extra defined chains created there. More information about the bigger context would be required, but here is an attempt, which loads without ...
0 votes

Expose ipv6 to virtual machine

No configuration on ipv6 is a dream, that will never come true. You need to do the same you did on Ipv4. To do: Define a fixed Ipv6 Address out of the /64 range on your host, which should be ...
  • 183
0 votes

Internet access speed drops suddenly

Check the configuration of your wifi router and set to follow values if possible: Place your router on a good place. See follow: https://blog.gl-inet.com/my-wifi-is-slow-where-to-place-my-router/ ...
1 vote

Network problems after upgrading to 22.04 Jammy Jellyfish

This turned out to be a problem with ProtonVPN, which was behaving as though I had uninstalled it without disabling the kill switch. It didn't occur to me that the VPN might be at fault because the ...
  • 68
4 votes

Netplan: unknown key '<<' (YAML anchor and dictionary merge syntax)

It is properly confirmed that netplan does not support merge keys. This means a less fancy config is needed: network: version: 2 renderer: networkd ethernets: enp5s0: dhcp4: false ...
0 votes

Ubuntu 22.04: docker: containers not accessible from outside

No need to reinstall the whole system. Problem is the "snap" version of docker provided by the installer. If you install docker through apt afterwards, you'll end up having both binaries. ...
1 vote

Executing tcpdump without sudo on Ubuntu 20.04

After some experimenting, here is what finally worked for me: sudo visudo at the very END* of the sudoers file, enter this: your_username ALL = NOPASSWD: /usr/sbin/tcpdump (replace your_username with ...
0 votes

Shadowsock ss-local doesn't change IP address

Look at these two lines: "local_address":"0.0.0.0", "local_port":1080 ss-local, opens a local socks5 port and you have to use ss-local in that way (eg. install ...
1 vote
Accepted

Add DNS local entry

http://, and its encrypted variation https://, is a protocol prefix for the Hypertext Transfer Protocol or HTTP. It doesn't belong to the Domain Name System or DNS, to a hosts file or any other way of ...
3 votes
Accepted

Wifi disconnecting on closing screen of laptop

Had the same problem, this has solved it: https://tipsonubuntu.com/2018/04/28/change-lid-close-action-ubuntu-18-04-lts/ sudo gedit /etc/systemd/logind.conf Finding HandleLidSwitch there and edit to: ...
  • 46
0 votes

Output only MAC address on Ubuntu

The below command is working for my ubuntu PC. ifconfig | grep ether ether c8:f7:50:fd:14:c8 txqueuelen 1000 (Ethernet)
0 votes

Mouse disappears while using Barrier (client linux)

I suppose you are running version- 2.4 in windows (server). Downgrading the server from 2.4.0 back to 2.3.3 fixed the issue for me. There is an issue opened in the barrier git repo with a similar ...
1 vote
Accepted

List of WiFi networks missing in 22.10

Solved. Ubuntu 22.10 is in the process of switching from wpa_supplicant to iwd. On my machine, service iwd was masked and service wpa_supplicant was enabled and running. In addtion, /etc/...
0 votes

Ubuntu 20.04 with X710 Intel Network card not recognised

you can use a proprietary driver from drivers for xl710
  • 181
1 vote
Accepted

Netplan - bridge default spanning tree behavior

My file is normally this: doug@s19:~/config/etc/netplan$ cat 01-netcfg.yaml # This file describes the network interfaces available on your system # For more information, see netplan(5). network: ...
0 votes

Ubuntu 22.04 Samba Server / User Cant login / windows pc cant access

This issue happened to me after upgrade to 22.04 from 20. After I was unable to access my network shared locactions from a windows11 etc. I realized the shares was not in the smb.conf file. When I ...
  • 1
0 votes

How to read and alter packet info when forwarding

You ask several questions so let me address them one at a time. "Can this be done when the laptops aren't on the same network?" No, not in a way that will properly be accepted at either ...
  • 68.9k
0 votes

network UNCLAIMED with Intel Wi-Fi 6 AX200 after fresh Ubuntu 20.04 installation

Please try the technique mentioned in the link I gave above. Open a terminal and do: sudo nano /etc/default/grub In the editor window, use the arrow keys to move the cursor to the line beginning with ...
  • 56k
1 vote
Accepted

Some internet services do not work when using my phone hotspot

Probably the easiest way to fix this issue would be to connect via VPN (with your phone). To me it sounds like a localization issue. I had this back in the days when i was using hybrid-connection (DSL-...
  • 41
1 vote
Accepted

Settings, GUI has been deleted and now cant connect to the internet

For info: Google "recovery mode". In the very last moments of the "BIOS" text display, hit ESC once. ... that should make the grub boot menu appear. The "Advanced" option ...
  • 4,154
0 votes

Settings, GUI has been deleted and now cant connect to the internet

Get a shell open with either Ctrl, Alt and T or Alt F4 to open TTY. Connect to wifi via nmcli d wifi connect <ssid> password <pw> That should be the easiest method to get an uplink. Option ...
0 votes

how to create sub-interface (ubuntu server LTS 22.04.1)

There is a difference between a secondary IP on the same link an a vlan configuration. I guess you want to have a secondary IP on the same link, without a vlan configuration. A netplan file with ...
  • 183
0 votes

systemd-resolve does not forward DNS requests to stated DNS server

As hinted by @teknopaul (Jun 9, 2020 at 16:55) this has to do with resolved not resolving single-label domain names by default. I solved this same issue by creating the file /etc/systemd/resolved.conf....
0 votes
Accepted

Problem connecting to ubuntu server via wlan

Mistery solved! The problem was my ISP's router blocking WLAN traffic to LAN. I tried switching the router with another one and services on the server were appearing again.
0 votes

Can't connect to ubuntu 22.04 hotspot

I needed both the answers from GNassro and Mario Galinda to get a working workaround. So you need to configure the firewall AND you need to downgrade the wpasupplicant package. If I do only the ...
  • 612
1 vote

Ubuntu 22.04 Network doesn't work until NetworkManager restarted

For me the issue seemed to be the VPN kill switch. I use Proton VPN.
  • 11
1 vote

Installing asus USB-AC68 wi-fi adapter on ubuntu 20.04.4 LTS step by step for a noob

I have tried it for myself. ASUS USB-AC68 driver successfully installed with this, https://github.com/morrownr/8814au
-1 votes

Issue to install tor browser on ubuntu 22.04

The error message is plain: your processor, whatever it is, doesn't support SSE2, and the tor browser requires one that does. You cannot run tor on that computer.
  • 853
0 votes

How can I find my DHCP server?

Using the new iproute2 (in my case in Ubuntu 22.04.1 LTS): $ ip route | grep default default via 1xx.1xx.xxx.xxx dev gpd0 metric 10 default via 192.168.xxx.xxx dev wlp0s proto dhcp metric 100 The ...
  • 720
0 votes
Accepted

IP - Tables NAT ens19 <> ens18

Based on the information provided, you are preforming NAT (Network Address Translation) in the wrong direction. Currently, 192.168.120.110 does not know the proper reply address so it is incorrectly ...
1 vote

How do I setup Ubuntu Server so I can make it a LAN router gateway for several PCs connected to it and VPN into the LAN from outside the network?

For experiments with networking (they are fun!), consider setting up a series of Virtual Machines (or LXD Containers). Network those, all inside your server, without touching your real-world LAN. ...
  • 46.4k
0 votes

Ubuntu/OpenVPN - how to access private network when connection to public interface:

This is from an openvpn setup guide.(Step 9) Adding these lines to the beginning of /etc/ufw/before.rules: # START OPENVPN RULES # NAT table rules *nat :POSTROUTING ACCEPT [0:0] # Allow traffic from ...
0 votes

Cannot SCP into Oracle VM, SSH is working

i was getting the same thing and in my case updating winscp to the latest version(currently 5.21.3) solved it. SSH Bug: https://winscp.net/tracker/1952
0 votes

System loses static IP address

Just wanted to add that if you have multiple interfaces, make sure you define the right interface in your /etc/network/interfaces file. For me, the issue was that auto lo was defined at the beginning ...
  • 101
0 votes
Accepted

How can I script changing DNS settings for my WiFi connection on startup?

I wrote a bash script using nmcli to automate DNS config and added it to the startup programs. It works. #!/bin/bash # ignore the DHCP DNS settinggs nmcli c modify <SSID> ipv4.ignore-auto-dns ...
0 votes

Error attaching device to DPDK

Adding pci=realloc=on to kernel boot parameters solved the issue for me
  • 113
0 votes
Accepted

Upgraded to 22.04.01, DNS didn't work, tried to fix, now Ethernet doesn't work

It looks like you have a broken configuration. If you want to use Network Manager then /etc/netplan/01-network-manager-all.yaml needs to look like this: # Let NetworkManager manage all devices on ...
  • 68.9k
0 votes

Global Protect VPN SSL handshake fails

Following workaround solved the issue for me on Ubuntu 22.04.1 and GlobalProtect 6.0.1-6 (not sure, though, if some system vulnerability may be a potential downside here): /usr/lib/ssl/openssl.cnf [...
0 votes
Accepted

DHCP server on ethernet port, keeping WiFi connection to Internet

The IP Range on enp8s0 is 192.168.88.0/24, your router has the IP 192.168.88.1. The internet is connectetd to the router? Your interface definition does not need a gateway auto enp8s0 iface enp8s0 ...
  • 183
1 vote

How do I get NetworkManager to assign a fixed MAC address to eth0?

For wifi connections using network manager (nmcli -v 1.40.0) you can configure a fixed cloned mac address using: nmcli con show nmcli con modify HotelWifiName wifi.cloned-mac-address 70:48:f7:1a:2b:3c ...
  • 236
0 votes

wpa_supplicant CTRL-EVENT-SCAN-FAILED error

frogpeople's answer did not work for me. Finally I found that adding the following section to /etc/NetworkManager/NetworkManager.conf works well: [keyfile] unmanaged-devices=mac:xx:xx:xx:xx:xx:xx
0 votes
Accepted

Use middle server ip address to connect main openvpn server

You may use iptables for port forwarding The CLI Syntax looks like iptables -t nat -A PREROUTING -p tcp --dport <PORT> -j DNAT --to-destination <main-Server-IP> check man page for details....
  • 183
0 votes
Accepted

Ubuntu 22.04.1 LTS(Jammy Jellyfish) Installing Wifi Driver

Installing the RTL8192EU(TP-LINK WN823N) (STEP 1: Installing headers: sudo apt-get install git linux-headers-generic build-essential dkms) (STEP 2: Clone Repository: git clone https://github.com/Mange/...
0 votes
Accepted

SMTP IP forwarding to another machine

I eventually worked out what the problem was it thanks to this answer How to configure UFW to allow IP Forwarding? my DEFAULT_FORWARD_POLICY was set to DROP not ACCEPT in /etc/default/ufw Changing it ...
  • 101

Top 50 recent answers are included