Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
84 views

How to modify sbin.dhclient apparmor profile which is preventing automatic DHCP connection to network after upgrade to Ubuntu 24.04

After upgrading to Ubuntu 24.04 I can't make any network connections, wired or wireless with automatic DHCP enabled. I have traced the problem to apparmor which is giving the following error messages ...
garybarnes59's user avatar
0 votes
1 answer
317 views

WiFi not connecting after upgrade to Ubuntu 24.04. Problem with apparmor?

After upgrading to Ubuntu 24.04 I can't make any network connections, wired or wireless with automatic DHCP enabled. If I set IP Address, Netmask and Gateway manually everything works. To get the ...
garybarnes59's user avatar
0 votes
0 answers
27 views

How can i bridge eth interfaces with no bridge (let me explain)

I have a device that has 3 ETH interfaces. This way I installed the Ubuntu server on it to use the Pi-Hole application I want to use my ETH0 to receive the Wan cable from my internet provider moden ...
Victor Lozano's user avatar
2 votes
1 answer
696 views

ip-config-unavailable DHCP error from NetworkManager

Overview and Environment I recently set up a new VirtualBox VM and ran into some strange network behavior. The machine is running Ubuntu 22.04 and after installing the virtualbox guest additions, my I ...
Chris Howe's user avatar
0 votes
0 answers
75 views

Impossible to make IP static - SOLVED

I may be had an upgrade problem from Ubuntu 20.04 to 22.04 that I can't solve. My IP was before static at 192.168.0.100 on the "ens1" interface, but the interface have been set to "...
Djizuss's user avatar
1 vote
0 answers
530 views

Netplan Configuration Isssue: Unable to obtain ip address for ethernet configured with dhcp4

Goal: Determine why configuring an interface with only dhcp4 fails. Setup I am working on configuring netplan for a Virtualbox VM. The VM has 1 bridged adapter connected to my machines wlo1 and 2 ...
Chris Howe's user avatar
0 votes
0 answers
93 views

Network Problem, when trying to connect to Eduroam Wifi

I can connect fine to any other networks. And I can also connect to this wifi, when I am at the center of it, but it's like when I get a bit too far from its original startpoint it gives up on ...
Anyon's user avatar
  • 1
0 votes
0 answers
51 views

Copy info from DHCP to Manual settings in Network Manager?

What I want to achieve is to get all info from DHCP (DNS servers, search domains, IP) as the starting point for my manual settings. Example: what I do right now is to set is as Automatic and then run ...
Vladimir Hidalgo's user avatar
0 votes
1 answer
1k views

Netplan/NetworkManager not using dhclient at boot

I would like to use dhclient as my DHCP client, and as systemd-networkd does not support this, I would like to switch to Network Manager in Ubuntu 22.04. My Netplan configuration is as follows: ...
triatic's user avatar
0 votes
1 answer
243 views

How to block NetworkManager from changing a line from dhclient.conf when merging?

In dhclient.conf I have a line send host-name = gethostname(); which I do not want to be changed by NM to send host-name = '<current short host name>' when generating the file in /var/lib/...
user2393642's user avatar
0 votes
0 answers
841 views

How to configure DHCP and Static interfaces on Ubuntu 18.04.6 - Destkop

/etc/network/interfaces contains the below: source-directory /etc/network/interfaces.d/* auto lo iface lo inet loopback auto eth1 iface eth1 inet static address 192.168.1.10 netmask 255.255....
tadams's user avatar
  • 1
0 votes
2 answers
671 views

Share network from eth0 to device plugged into eth1?

I have a ubuntu 20.04 server that has two ethernet ports. I am trying to set it up so eth0 is connected to my lan/internet and I have a second ethernet port (eth1) that i want to be able to plug in ...
Brant Pastore's user avatar
0 votes
0 answers
61 views

How do i make a Static ip available over a network

I'm running ubuntu server 20.04 LTS in raspi 4 model B. I want to set a static IP in one raspi and run API over that ip and that must me accessible over the the network to which I'm connected to. I ...
Eldho K K's user avatar
2 votes
2 answers
14k views

Migrate Ubuntu server from NetPlan to NetworkManager without disconnection (possibly over SSH)

I see that Ubuntu server after the installation comes as default with NetPlan with a DHCP configuration (at least in Ubuntu 22.04 focal fossa). Some users don't want NetPlan and just want ...
Valerio Bozz's user avatar
0 votes
0 answers
206 views

I want to disable wifi USB on boot and enable it at any time

I have configured this into /etc/network/interfaces.d/wlx2887ba49932c to disable the interface on boot: auto wlx2887ba49932c iface wlx2887ba49932c inet manual pre-up ifconfig $IFACE down pre-...
Cristian Yebra's user avatar
0 votes
1 answer
807 views

Netplan static address plus dhcp address on same interface with priority to static address

I have a small home server than I occasionally move between networks. I want it to have a static IP for accessing services running on it, but also a DHCP IP so that when I move networks it will always ...
user309043's user avatar
-1 votes
1 answer
675 views

DHCP server on ethernet port, keeping WiFi connection to Internet

As an initial note, I am using latest Mint, however I'd prefer a general (Ubuntu/Debian or even wider) solution, possibly for headless CLI-only too. Though I understand that may not be possible. I ...
herhor67's user avatar
0 votes
1 answer
962 views

2nd interface not working

I have 2 interfaces. Direct ethernet connection as eth0 and a 4g dongle as eth1. # ip addr show 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 ...
Avinash Sah's user avatar
0 votes
1 answer
5k views

Ubuntu 22.04 shared internet connection with multiple interfaces

I use Lubuntu 22.04 LTS with Cinnamon desktop to be precise. I have one network device with a single interface on my motherboard. enp5s0 is the one connected with my ISP-router, with fixed IP 192.168....
user avatar
8 votes
0 answers
10k views

Ubuntu 22.04 Activation of Network Connection Failed

I have tried all the methods I have found but nothing works. The connection I am trying to get to work is wired ethernet, the cable goes to the wall socket, back to a tp-link tl-sg108, which takes the ...
Roshindow's user avatar
1 vote
1 answer
1k views

podman container ip address should remain same with disconnect and connect

Assume podman network net1 and container cont1. I connect podman network to a container during creation with --net net1. Also use podman network disconnect/connect net1 cont1 commands to dis-and-...
ItzMe's user avatar
  • 23
0 votes
2 answers
2k views

Ubuntu 21.10 static ip network configuration

I have edited /etc/netplan/01-network-manager-all.yaml to get a static ip address: network: version: 2 renderer: networkd ethernets: wlp0s20f3: dhcp4: no addresses: - 10....
ZDV's user avatar
  • 3
0 votes
2 answers
6k views

Add search domain in Ubuntu 20.04

It seems like network-manager doesn't support search-domains in the network-manager anymore when using DHCP. How to configure an additional search domain when using DHCP? Seems strange to me that the ...
Roland's user avatar
  • 225
1 vote
1 answer
70 views

Configuring Extra Public /24 Subnet with different gateway

I have a server where an internal adapter is configured as followed: network: version: 2 renderer: networkd ethernets: enp3s4f0: dhcp4: no addresses: [ 199.168.96.58/29 ] ...
Gongas's user avatar
  • 11
0 votes
1 answer
3k views

Determine DHCP lease source in Ubuntu 20.04 desktop

I have a host that's picking up a DHCP-assigned address that's wrong. Specifically, the MAC address is reserved to a particular address in the DHCP server, and instead of getting that address, ...
Greg Nelson's user avatar
1 vote
0 answers
691 views

NetworkManager: IPv6 Automatic Modes

I was looking at the IPv6 config of my Ethernet connection in NetworkManager's connection editor. It seems there are 3 automatic modes alongside other options: Automatic Automatic, addresses only ...
MaGaroo's user avatar
  • 61
0 votes
1 answer
2k views

DHCP address keeps getting generated with netplan and bonded interface

I have a bonded interface set up with netplan. Config is as follows: # This is the network config written by 'subiquity' network: bonds: bond0: addresses: [192.168.65.90/18] ...
DevOpsSauce's user avatar
0 votes
1 answer
867 views

NetworkManager Hotspot DHCP pihole

Fresh installation of 21.04 Desktop on RaspberryPi. All works Out of the box. I can create a Hotspot. I install Pi-Hole which will provide DNS & DHCP services (unbound next when this problem ...
Berniek's user avatar
  • 11
0 votes
0 answers
252 views

Static IP Ubuntu Desktop 18.04 with 2 Ethernet ports

Bit of info: We're running Ubuntu Desktop 18.04 with 2 Ethernet Ports. On port enp2s0 we run hardware trough a static IP. On port enp3s0 we have a 'normal' DHCP internet connection. When enp3s0 is ...
Arjen Lakerveld's user avatar
1 vote
1 answer
2k views

Without Network Manager - why does dhclient work, but configuration in /etc/network/interface does not?

I'm running Ubuntu 21.04 with Network Manager disabled because it doesn't support some of the features required by Wi-Fi 6E. I'm performing the manual configuration based on this article. When ...
tim11g's user avatar
  • 553
0 votes
0 answers
258 views

Why only one NIC obtains an IP address?

I'm learning on how to set up a network properly, and I'm a bit stuck. I've created two separate Ubuntu Server VMs in VirtualBox, then connected them through an internal network (intnet0). With CLI ...
Norbert's user avatar
0 votes
1 answer
2k views

NetworkManager can't update settings if Netplan config exists

I am using 18.04.4. I configure an interface using netplan (/etc/netplan/enp0s3.yaml), set a static IP, and set the renderer as NetworkManager. My file looks like: network: version: 2 renderer:...
Mick J's user avatar
  • 1
0 votes
0 answers
54 views

Can not ping my IoT device using IPv6

I am trying to ping6(ping with IPv6) an IoT device from an ubuntu machine. I installed a DHCPv6 server on ubuntu machine and connected both the ubuntu machine and IoT device to the same network. My ...
Karri Aravind's user avatar
0 votes
0 answers
550 views

Netplan can't get ipv4 address

First, I have to say I'm quite a noob. I have Ubuntu Server on rpi4. I want that all my connections go through it. I did what is explained here: https://raspberrypi.stackexchange.com/questions/109425/...
user1163724's user avatar
0 votes
0 answers
197 views

Network Oddities since upgrading from 18.04 -> 20.04 (Persistent DHCP)

Apologies if this has been beaten to death. I've done about 6 hours of searching and testing myself and pulling my hair out. After a backup, I reluctantly agreed to upgrade from 18.04 to 20.04. Aside ...
Travis Bully's user avatar
1 vote
0 answers
77 views

IP Address Confusion

I am trying to configure my Raspbeery PI 3b running on Ubutu MATE 16.04 to be a Hotspot and so all equipment that access to this network would use the IP in the range of 192.168.42.10-20 I am using ...
user1538798's user avatar
0 votes
0 answers
245 views

DHCP not "working" for either Wifi or Ethernet. Works fine on static. 18.04

just as the title states. (I pretty much just use wifi so for this question I'll just use wifi as an example). I don't know what I did, but it was many moons ago. I messed up something on my ...
jimmy2's user avatar
  • 1
22 votes
2 answers
137k views

how to change DNS server permanently on Ubuntu 20.04?

I know there are other posts here asking this, but those suggestions do not help, the configuration keeps changing and I simply cannot get my own changes to persist. I have the Google 8.8.8.8 and 8.8....
grobber's user avatar
  • 343
4 votes
2 answers
18k views

Ubuntu 20.04 Network issues

OS: Ubuntu 20.04 Each time that I start the pc and log into my account the ethernet Connection doesn't work and the ethernet icon does not appear in the top-bar. cat /etc/netplan/*.yaml output: # ...
Mat.C's user avatar
  • 311
0 votes
0 answers
147 views

Static ip getting released

I am setting up static ip in ubuntu 18.04 using /etc/network/interfaces file. auto lo iface lo inet loopback auto en0 iface en0 inet static address 10.10.10.1 netmask 255.255.255.0 Thereafter,...
Aman Turate's user avatar
0 votes
1 answer
485 views

Wifi Default Gateway changes automatically after a few seconds

I am having a strange issue. Until now I was using ethernet with static IP. But now I decided to go along with DHCP reservation and wifi. At the same time I have also decided to change range and from ...
Georgios Tsitouridis's user avatar
2 votes
2 answers
16k views

How do I debug DHCP?

UPDATE: The DHCP in the camera does not work as expected and requires a static IP. However tcpdump is your first line of defense, see checked answer below. I have the following setup: NVidia Xavier ...
Freeman's user avatar
  • 133
0 votes
1 answer
2k views

Reliably apply all settings provided by DHCP including NTP servers in Ubuntu 18.04 desktop

In summary: I would like to find a way that allows my wired network connection to properly use all of the information supplied by my dhcp server and still allow gnome to realize that there is an ...
BE-Bob's user avatar
  • 11
1 vote
1 answer
3k views

How to configure a bridge interfaces with DHCP in 16.04 LTS?

I have a computer with 3 network interfaces: eth_adsl : Ethernet interface linked with my ADSL box eth_local : Ethernet interface linked with my local network wlan_local : WIFI interface for my local ...
ZioTonio's user avatar
0 votes
0 answers
34 views

select only prefered dns servers on dhcp

I am connecting to a number of wi-fi networks via the network-manager-applet For debugging purposes, I want to select my dns providers, so that no other dnd provider other than the ones selected is ...
josinalvo's user avatar
  • 6,957
1 vote
1 answer
2k views

Cannot connect to wired Ethernet network (problems with DHCP?)

Cannot connect to the Internet by wired connection on a netbook using Xubuntu 18.04, while WiFi works, from the same cable connected to WiFi router. Same wired connection works fine on my desktop PC. ...
egor83's user avatar
  • 113
0 votes
0 answers
116 views

Map the same url to ethernet ip and hotspot(wifi) ip on ubuntu

Presentation of condition: I create a gitlab server using docker on Linux. I can access gitlab via 127.0.0.1:8000 (docker 8000 port: host PC 80 port using http protocol) on host PC. The host PC has ...
Bryan YU's user avatar
16 votes
5 answers
46k views

Ping returns, "operation not permitted." Cannot connect to broadcast, or internet

I've been attempting to figure this out for 5 hours now. Hopefully someone who is more knowledgeable, can help me out. Randomly, without me making any changes to my device, my internet cut out. I ...
pissedoff6969's user avatar
6 votes
4 answers
12k views

How to configure a fallback static IP address when there is no DHCP server present

I am working with an embedded linux device, which we typically connect to by static IP address during development. However, on-site we have a requirement to connect using DHCP and so, I would like to ...
user5265160's user avatar
1 vote
1 answer
387 views

Sharing Wifi To Ethernet Problem

I'm trying to share my wifi connection from a lubuntu 18.04 machine over Ethernet, where the The Ethernet cable is then plugged in to a switch where I can connect other computers and devices for ...
Ryan's user avatar
  • 111