this post was submitted on 07 Oct 2024
23 points (100.0% liked)

Linux

47755 readers
853 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm having trouble getting an IP address via DHCP on my HP ProLiant DL380 Gen9 server running Debian. I've tried various troubleshooting steps, but nothing seems to work.

Error messages:

  • "No DHCPOFFERS received"
  • "No working leases in persistent database - sleeping"
  • "Activation of network connection failed" (GNOME)
  • "IP configuration unavailable" (Plasma)

Hardware:

  • HP ProLiant DL380 Gen9 server

Software:

  • Debian operating system
  • GNOME and Plasma desktop environments

Troubleshooting steps:

  • Checked network cable and ensured it's properly connected
  • Restarted network service
  • Set /etc/NetworkManager/NetworkManager.conf managed=true

Additional information:

  • Internet worked during the Debian installation process, but not after booting into the installed system.
  • The problem occurs on both GNOME and Plasma desktop environments, but Plasma provides a slightly more helpful error message.

I'd appreciate any help or guidance on resolving this issue. Has anyone else experienced similar problems with DHCP on a HP ProLiant DL380 Gen9 server with Debian?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 week ago (1 children)

If you set a static ip can you get connectivity? Have you confirmed that your interface is still up via Ifconfig or ip link?

[–] [email protected] 1 points 1 week ago (2 children)

I wouldn't know how to do that. Would I have to find out what specific IP to set it to, or would any random one work?

[–] [email protected] 2 points 1 week ago

It has to be in the same subnet as your router.

[–] [email protected] 2 points 1 week ago (1 children)

You need an IP that is in the same subnet as the rest of the network. Take your gateway IP and then find the subnet mask. (It is probably a /24 which is 255.255.255.0)

Next pick a random ending number (x.x.x.67 for example). Try to ping it from a different device to make sure that it isn't in use. Once you do that you can set it on the server. Go to network and then set it to manual. Set the IP, subnet mask and gateway IP. Then try to ping the gateway. If that fails you have a layer 1 problem (hardware)

[–] [email protected] 1 points 1 week ago (1 children)

I set the manual ipv4 to 192.168.0.72, and it says it's connected - it doesn't have any 'activation of network connection failed' error messages, but it doesn't seem to actually have any internet either

[–] [email protected] 2 points 1 week ago (1 children)

That's good. What's your routers IP address?

[–] [email protected] 1 points 1 week ago (1 children)

62.49.7.152 is my public IP, if that's what you mean. How do I use that information, other than allowing others to know my approximate location?

[–] [email protected] 2 points 1 week ago (1 children)

I'm looking for the private IP. (The one your router has on the inside network)

[–] [email protected] 1 points 1 week ago (1 children)

How do I find that? Is it written on the router somewhere, or is there a command to run to find it?

[–] [email protected] 2 points 1 week ago (1 children)

How did you set it up? Did you just plug it in and forget about it?

[–] [email protected] 1 points 1 week ago (1 children)

I didn't set it up; another member of my household did

[–] [email protected] 2 points 6 days ago (1 children)

Oh

Is your phone connected to WiFi? What do the network settings show on your phone?

[–] [email protected] 1 points 6 days ago (1 children)

Did you want a specific part of network settings, or is this helpful?

[–] [email protected] 2 points 6 days ago (2 children)

Set your gateway to 192.168.1.1. Can you then ping 1.1.1.1?

[–] [email protected] 1 points 6 days ago

Here are the network settings

[–] [email protected] 1 points 6 days ago (1 children)

I tried changing the IP in manual settings, I'm not sure how I ping an IP, I assume it's a command that I don't know, but as the screenshots show, accessing a website didn't work. I saw an IP in the startup menu and tried that but it didn't seem to work

[–] [email protected] 2 points 6 days ago (1 children)

Your netmask should be 255.255.255.0

[–] [email protected] 1 points 6 days ago (1 children)

Why is that? I applied the change, and restarted the Ethernet connection, but I still don't have internet

[–] [email protected] 2 points 6 days ago* (last edited 6 days ago) (2 children)

You have a upstream issue then. I would start by checking the physical port and then work your way up until you find the fault.

It is also possible you have a bad network card as this is older hardware

[–] [email protected] 1 points 4 days ago

I tried what I said, reinstalling to see if it still had internet. It did not. Therefore I went into a rabbithole of trying to rule out specific things of why it was working then but not now, and I still have no idea why it was working then, but I have plugged the Ethernet powerline into a new, more inconvenient, plug socket, and the wired internet is mostly working! I can still access most sites, but Firefox won't connect to addons.mozilla.com or accounts.firefox.com. Idk if that's a Firefox issues or a network issue, but it's mostly working now, which is great!

[–] [email protected] 1 points 6 days ago

Hmm. One way to check multiple options at once is to try the install again and see it internet is still present when installing the OS, as it was before. If it is, that would rule out a hardware issue.