Skip to main content

New answers tagged

0 votes
Accepted

Upgraded to 24.04LTS from 22.04 and network doesn't work at all

After some research I found out that the file /etc/resolv.conf either damaged or not existed. At least I couldn't open it. So in my case I first removed the file in case if it existed but damaged ...
Daniyal Lukmanov's user avatar
0 votes

No network access after upgrading to Ubuntu 24.04

This may be a duplicate of Internet is not working after upgrading to ubuntu 24.04 You can temporarily edit /etc/resolv.conf sudo nano /etc/resolv.conf and replace all content with nameserver 9.9.9.9 ...
bbx's user avatar
  • 1
0 votes

Facing some errors when running sort with nfq

Running the container with --privileged will likely fix this, but then you have the security issues related to running a container privileged. I'm trying to figure this out myself, how to accomplish ...
JimLohse's user avatar
  • 314
0 votes

Update of Proton VPN on Ubuntu 20.04 locks out wifi & wired access!

Actually it's not that difficult to solve, check the active routes, usually you can see proton connections with ip route show it will list your current routes, if you see proton's link up and running ...
JoKeR's user avatar
  • 7,002
0 votes

Realtek b851 WiFi Card doesn't work in Ubuntu

OK, I got it fixed but I'm not 100% sure how it was fixed. Earlier I followed your instruction (Turned it off, disconnected power, held power button for 30 seconds), turned it on and it wasn't working....
Dave's user avatar
  • 41
0 votes

Redirecting multiple ports with socat

I had the same use-case, I wanted multiple ports forwarded. I found this answer in another thread. https://unix.stackexchange.com/a/751459
harre's user avatar
  • 21
0 votes

Wired Connection is very slow in Ubuntu 24.04

On Ubuntu Unity 24.04 running FIREFOX upload and download speeds are the same as on Win 11 Pro insider build. PC is DELL Precision 7720 laptop. ISP is Blue Stream Fiber. John
cigtoxdoc's user avatar
0 votes

How to activate/install a USB to "Gigabit" wired ethernet adapter in 24.04 LTS?

The OP returned the incompatible j5create JUE130 to their vendor and used a different device instead that is compatible.
user535733's user avatar
  • 65.6k
0 votes

MSI Stealth 17 - Ubuntu 22.04 - No WI-Fi Adapter Found (Killer wi-fi 6e ax1675i 160mhz wireless network adapter) - wifi not working

I encounter the same issue with my MSI Stealth 14 in Ubuntu 20.04. I resolved this issue through this patch. However, it appears that the backport-iwlwifi already has this patch fixed. Hence, my ...
Lazog's user avatar
  • 1
0 votes

Upgraded to 24.04, ethernet adaptor stuck at "getting IP configuration"

I suspect that your connection profile has been deleted or corrupted and that you simply need to create a new profile. Open your System Settings and go to Network Settings: If a profile does not ...
mpboden's user avatar
  • 1,786
0 votes
Accepted

My new Ubuntu Install isnt working properly

Just stop your cloud-init by doing: sudo nano /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg Then typing: network: {config: disabled} Inside the file and pressing Ctrl+X, then Y, then ENTER to ...
Detona Games's user avatar
0 votes

Ubuntu does not boot to desktop

My Ubuntu laptop stopped loading the desktop environment after trying to "fix" the sound by running the commands at https://askubuntu.com/a/1441491/282606 - I should have read the comments ...
isapir's user avatar
  • 562
2 votes

Upgraded to 24.04LTS from 22.04 and network doesn't work at all

I have the same problem and I found this answer worked for me Bug connection ubuntu Summary, my steps are Run sudo apt install systemd-resolved disconnect wifi/ wired turn on wifi again connect ...
Jade's user avatar
  • 21
0 votes

How to display network traffic in the terminal?

Another nice option written in Rust is bottom. Install A .deb file is provided on each stable release and nightly builds for x86, aarch64, and armv7. Some examples of installing it this way: # x86-64 ...
HarlemSquirrel's user avatar
0 votes

WiFi adapter not found error in Ubuntu 24.04

For now, one thing is for certain. The wifi card works perfectly fine. Fed up with the hardware compatibility issues, I installed Windows back. After installing the driver, the wifi is back up and ...
Glimpse's user avatar
0 votes

Ubuntu 24.04 started receiving activation of network connection failed

In my case, I deleted /etc/resolv.conf and rebooted using the terminal as follows. sudo -i cd /etc rm resolv.conf sudo reboot Then the internet came back.
Snowboard5151's user avatar
0 votes

IpVanish VPN failed to connect

I got it to work by monitoring the logs using tail -f /var/log/syslog and then attempting to import an IPVanish .ovpn config file (IIRC). Anyway... the config files are out of date, they contain ...
buntun's user avatar
  • 1
1 vote

dnsmasq failed to start following update to ubuntu server 24.04.1 from 22.04

I found that I had to edit the file /etc/default/dnsmasq and uncomment the following lines: IGNORE_RESOLVCONF=yes DNSMASQ_EXCEPT="lo" I also had to add: bind-interface interface=bond0 (the ...
Chris Pavey's user avatar
0 votes

Identify PHYSICAL Network Interfaces?

The only simple way I found using a builtin command (event on a minimal Ubuntu version) is to show the dynamically addressed interfaces with ip: ip a show dynamic You can even have with colors (which ...
Pierre de LESPINAY's user avatar
0 votes

How to enable Ethernet Interface (Ubuntu 22.04)

Hi I ported over a native build of Unbuntu server provisionally hosted in Windows Hyper-v to my NUC, booted fine no integrated network device picked up. Would like to thank the folks in the thread for ...
Peter Thayne's user avatar
1 vote

Netplan 'ignore-carrier' option doesn't work on 22.04 Ubuntu

Okay, I figured out the problem. It has to do with how the upstream networking agent systemd-networkd handles link-local addresses. Quoting from the maintainers (src): DuplicateAddressDetection= is ...
Macondoman's user avatar
0 votes
Accepted

TP-Link Archer T2U Plus driver issue on Ubuntu 22.04 and Kernel 6.8.0-40-generic

It turns like what @david said, that the drivers were out of date. I eventually just searched on Amazon for a different wireless adapter that already has linux support. I found a really great list ...
Jeff Hansen's user avatar
0 votes

Upgrade software on multiple machines using some form of caching

I used apt-cacher-ng for this. In this answer https://askubuntu.com/a/1503211/243321 I explain some details about how I set it up. The question there is not a duplicate but IMHO contains valuable tips ...
Organic Marble's user avatar
0 votes

apt-get update not working in Ubuntu 20.04 WSL1

In my case the problem was the company's VPN. I turned it off and the default configuration worked perfectly fine for running apt-get update. Ubuntu 22.04.3 LTS on WSL2
PKua's user avatar
  • 101
0 votes

RTL8821CE driver for Ubuntu 24.04 is not working

I would guess if you run sudo modprobe rtw88_8821ce in terminal that wifi would work, the command I posted as a comment will reveal why it doesn't work on its own
Jeremy31's user avatar
  • 12.9k
0 votes

ubuntu 20.04 cannot connect to wifi (wifi settings not visible)

I also had issue with my dual boot laptop. This happened when I immediately switched to Ubuntu from Windows. So I just restart again and Wi-Fi connects in 2nd time
Viraj Madhushan's user avatar
1 vote

Intel 9260 Wireless Card not working after 24.04.1 upgrade

Combination of these got me back in. I'm assuming the update of the kernel was required. sudo apt-get update sudo apt-get install linux-image-`uname -r` sudo apt --fix-broken install Updated kernel: ...
daithi_dearg's user avatar
1 vote
Accepted

Wifi option disappeared after update, 22.04

You must have blacklisted the kernel module that is used in the 6.8 kernel and that rtl8821ce-dkms doesn't seem to work on that kernel. In terminal do sudo sed -i 's/blacklist rtw88_8821ce/#blacklist ...
Jeremy31's user avatar
  • 12.9k
0 votes

Share local ubuntu server 24.04 LTS proxy with other devices on the home network via v2ray

If your server and Home Lan device are on the same network, then you don't need IP forwarding. First, remove all the IP table rules to remove any chance of those interfering, and then use this ...
BotNet64's user avatar
1 vote

Ubuntu Won't Connect Ghost VPN After Update to 24.04

You probably don't actually need the providers CLI program to use the service if they support OpenVPN. It's literally an open source VPN. You just need the configuration file/s from the provider and ...
codlord's user avatar
  • 2,705
0 votes

Wired network extremely slow

Using ethtool to reset the speed of the Intel chip on my Supermicro X7DAE solves a similar problem. I use ethtool -s enp6s0f0 autoneg on speed 1000 duplex full and I'm not seeing any errors on my ...
Mike Squires's user avatar
0 votes

How to connect two Ubuntu 24.04 hosts over ad-hoc Ethernet?

If you don't have a switch between the two devices, the correct way is to use an Ethernet crossover cable. A regular Ethernet cable won't work. Here's a good explanation of the difference https://...
LukeInDC's user avatar
0 votes

Partial upgrade to 24.04.1 broke shared libraries

OK doing a simple and dumb thing worked! I had a working WSL install of ubuntu, and I simply copied the .so files from /lib/x86_linux_gnu over to the broken system! I needed to copy libgobject-2.0, ...
Rotartsi's user avatar
  • 154
0 votes

Upgrade from 22.04 LTS to 24.04.01 LTS failed - now only command line at 22.04 and no network

I just had the exact same experience, see my answer here which will hopefully quickly fix your install like it did mine: https://askubuntu.com/a/1525039/1061422
codlord's user avatar
  • 2,705
0 votes

No Internet in Ubuntu Server after updating to 22.04.4 LTS

try to generate a new netplan then apply the changes? https://netplan.readthedocs.io/en/latest/cli/ I have the same problem, altough im not in ubuntu server neither oracle, seems not to come from ...
vic's user avatar
  • 181
0 votes

Have URL or IP addresses connected via WiFi or cable

Yes, it is solvable under certain assumptions. You can use routing table settings and static paths, but a number of circumstances affect whether it will work correctly. Among other things, it depends ...
netbat's user avatar
  • 1,136
0 votes

Cannot connect to the internet after assigning Host-Only Adapter on Oracle VM Virtual Box Manager

I guess you want both ssh connection from host to the VM and the internet connection. Then you may only need add one port forwarding rule to the default NAT mode: Suppose your VM has ip addresss as 10....
Yu Sun's user avatar
  • 76
0 votes

Defining static IP addresses for different NIC adapters via Netplan

You mention that the new interface will be used for the Internet and the existing interface is internal-only. Normally you would use the default route for the Internet, and list out the specific ...
slangasek's user avatar
  • 5,688
0 votes

vnstat not updating

vnstat --version vnStat 2.6 by Teemu Toivola <tst at iki dot fi> sudo vnstat --add -i usb0 Adding interface "usb0" for monitoring to database... Restart the vnStat daemon if it is ...
Anton Samokat's user avatar
0 votes

How to make a script which sends a command to terminal app and then use results of that command to start my application

Note that this does exactly what you asked for, which is leaving a Konsole instance running the script for the whole duration of the script; is this really what you want? I would do something like ...
kos's user avatar
  • 38.6k
1 vote

TP-Link Archer T2U Plus driver issue on Ubuntu 22.04 and Kernel 6.8.0-40-generic

Probably your driver is no longer supported for the current kernel. The following link has supported source for your driver rtl8821au (bottom right) you are inquiring about: - https://github.com/...
david's user avatar
  • 352
0 votes

Defining static IP addresses for different NIC adapters via Netplan

You need to define the subnet that this interface should be routed to and create a routing policy. For example: enp16s0f0: addresses: - 192.168.1.2/24 dhcp4: no routes: ...
mpboden's user avatar
  • 1,786
0 votes

Ubuntu server installation sets invalid FQDN

Don't know if it can help, but I started using the getent command to catch the fqdn: getent hosts $hostname -s dns I suppose it evaluates the nsswitch.conf and bypasses the file keyword of the hosts ...
Emile Bevillon's user avatar
0 votes
Accepted

Wifi stopped working overnight on Kubuntu 22.04

In the end I bought a cheap USB wifi dongle to fix this, and it works nicely.
RabidTunes's user avatar
0 votes

24.04 - How to find "what" is changing DNS settings in /etc/resolv.conf

You've indicated that your server is using the wrong DNS address but it used to be correct and set to 192.168.0.112. You also indicate it has since changed to 192.168.0.110. Therefore, with your ...
mpboden's user avatar
  • 1,786
0 votes

Ubuntu and fqdn

I believe you will find it also gets you the first FQDN. Try hostname --all-fqdns instead. I suspect you will find that your basic hostname is listed as the name for 127.0.0.1 in /etc/hosts. This ...
David G.'s user avatar
  • 186
2 votes
Accepted

Ubuntu 22.04 doesn't see /etc/resolv.conf

When you write some-domain 127.0.0.1 you are using an undefined command. It is ignored. Thus, when you write dig some-domain, this is translated as a lookup of some-domain. (according to your search ...
David G.'s user avatar
  • 186
0 votes

Ubuntu WiFi driver keeps crashing when trying to connect to WiFi network

Just reinstalled system lol Everything works fine
Marat's user avatar
  • 1
1 vote

24.04 - How to find "what" is changing DNS settings in /etc/resolv.conf

I've faced same issue as you. I didn't find what is changing original /etc/resolv.conf (aka /run/systemd/resolve/stub-resolv.conf) file(s) so I've changed /etc/systemd/resolved.conf to add DNS servers ...
tomino_i's user avatar
0 votes

Ubuntu 20.04 Wired Ethernet Connection Failed on 1st ever use

I connected laptop directly to router via ethernet to test the port and it worked fine. Turns out I need a different cable (crossover?) to connect to TP-Link switch dashboard.
MitcheCA's user avatar

Top 50 recent answers are included