this post was submitted on 07 Oct 2024
24 points (100.0% liked)
Linux
48635 readers
1980 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You are missing the middle of your troubleshooting process.
Everything is physically plugged in, your dhcp device is doing its thing and the wire works.
But does your os see the card? Post the output of ip address show to find out!
If you wanna jump to the end, and I recommend you do not do that, your os has most likely recognized and automatically selected the fiber interface instead of the cat5 one.
ens6f1 looks to be your interface. I think you’re using networkd, sudo networkctl up ens6f1 ought to bring it up.
You can use systemctl enable to make it work every reboot.
The first command didn't work as networkd wasn't started, so I tried to start it with networkctl start networkd, but it said 'failed to start networkd.service: Unit networkd.service not found'
Oh, you’re not using networkd. That’s no problem. ip link set ens6f1 up should do the same ish thing.
The first time I tried it it had the connected icon but no actual network connection, the second time it didn't do anything
Okay. I didn’t realize you were using a graphical environment. Shouldn’t change anything.
When you say no actual network connection, can you show that with ip address show ens6f1?
It's not doing what it was before now, now it's just showing the 'activation of network connection failed' error. But before when I ran the up command it had the connected sign, and said it was connected in the GUI, but when I tried accessing any website it wasn't able to, and I don't have any firewall installed, so I assumed that the connection wasn't working.
The result for ip address show ens6f1 is now the same as before
12: ens6f1: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 14:02:ec:7d:52:f1 brd ff:ff:ff:ff:ff:ff
altname enp129s0f1
inet6 fe80::1602::ecff::fe7d::52f1/64 scope link noprefixroute
valid_lft forever preferred_lft forever
I think you’ve got someone helping you with this who’s working with you inside the gui. Rather than cause problems by asking you to try different command line troubleshooting steps that may work at cross purposes with that other thread of assistance, I’m gonna bow out.
If you run into a wall, reboot your server and reply to this post and lll jump back in.