LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-01-2022, 02:03 PM   #16
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 565

Rep: Reputation: Disabled

Is this server officially supported by Ubuntu?
and
It should be supported: https://github.com/torvalds/linux/bl...ealtek/Kconfig

I checked my running config and it looks enabled by default:
# zgrep 8169 /proc/config.gz
CONFIG_R8169=y
 
Old 11-01-2022, 02:30 PM   #17
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,306

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
As some windows box you have did 1 gig over ethernet to some router which I hope you still have, why not
*repeat that test using the exact cable you are using on your linux box? Then with your linux box instead of the router?

Somewhere in the back of my head it stuck that you actually need Cat6 for gigabit connections. There is a difference, although folks refer to it all as cat 5. For my sins I suffered a hardware Electronic Engineering degree, which went through the material for CCNA 1-4. Unusual interference (1 year out of work, 7 as an invalid) and the usual knowledge Bulimia (learn for test, then forget it after) have looked after much of that. A few bits remain.

EDIT: I don't share your concern over modules or kernel versions That 8169.ko has been working for years for everyone else, and no bugs filed. It might get by in houses, where nobody might do 1 gigabit, but not in ISPs or businesses, where that would be noticed. I'm on kernel 5.15.63, btw.

Last edited by business_kid; 11-01-2022 at 02:37 PM.
 
Old 11-01-2022, 10:45 PM   #18
Enesha
LQ Newbie
 
Registered: Oct 2022
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yvesjv View Post
Is this server officially supported by Ubuntu?
and
It should be supported: https://github.com/torvalds/linux/bl...ealtek/Kconfig

I checked my running config and it looks enabled by default:
# zgrep 8169 /proc/config.gz
CONFIG_R8169=y
So I don't appear to have that config.gz.

I am not sure what you mean is the server supported? In that link you gave under 8169 it did show 8168
 
Old 11-01-2022, 10:54 PM   #19
Enesha
LQ Newbie
 
Registered: Oct 2022
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
As some windows box you have did 1 gig over ethernet to some router which I hope you still have, why not
*repeat that test using the exact cable you are using on your linux box? Then with your linux box instead of the router?

Somewhere in the back of my head it stuck that you actually need Cat6 for gigabit connections. There is a difference, although folks refer to it all as cat 5. For my sins I suffered a hardware Electronic Engineering degree, which went through the material for CCNA 1-4. Unusual interference (1 year out of work, 7 as an invalid) and the usual knowledge Bulimia (learn for test, then forget it after) have looked after much of that. A few bits remain.

EDIT: I don't share your concern over modules or kernel versions That 8169.ko has been working for years for everyone else, and no bugs filed. It might get by in houses, where nobody might do 1 gigabit, but not in ISPs or businesses, where that would be noticed. I'm on kernel 5.15.63, btw.
So I did try the same cable with the windows box and again with the ethernet cable that came with the new router. It's not a cable problem. Fpr some reason the card only shows 100 as the Advertised rate from the router.

Not sure about the 8169. Just know one of the drivers I was using was removing 8169 and wanted it blacklisted in the kernel. Don't recall t he reason. It's moot now.

So I got a new card. I thought it was a different chipset maybe I was confused but i'm back to an 8168 card installed. Now I have an additional problem. Something changed on the server at some point and I don't know why. It was running and when I rebooted it was just in a loop. Booting uefi BTW. After some experimenting I had to turn secure boot. Why it suddenly required secure boot is beyond me. Anyway now it no longer loads 8168 at all. I;ve confirmed installation. Here's what I get

insmod: ERROR: could not insert module /lib/modules/5.15.0-52-generic/kernel/drivers/net/ethernet/realtek/r8168.ko: Operation not permitted

Lockdown: insmod: unsigned module loading is restricted; see man kernel_lockdown.7
Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7

How is r8168-dkms not delivering a signed module?
 
Old 11-02-2022, 05:44 AM   #20
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,306

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Changing a nic for one of the same type could be upsetting things if anything on the network is reading the MAC address as MAC adress=host pairings are common. Your kernel mightn't even be compiled with 100Gb support. Your router mightn't was 1Gb transfers for reasons of load balancing. Can you get >100Mb out from your router. Most installations have lower speeds.

At this stage, I'm thinking the problem is you. You couldn't solve this yourself, so you asked, which is fine. But if you give good feedback, do the work and keep digging yourself, most, but not all threads can be sorted within 8 posts. This is post #20. This should have been sorted in 20 posts. What have you learned from the previous 19 posts?
I'll bet you haven't
  • read How_To_Ask_a_Question
  • checked the logs or shown the output. It's one thing to say something 'errored out.' But the error number tells you why: error 1 = permissions; error 2 = file not found etc. That's diagnostic information. Why did the logs say the speed dropped?
  • Spent time thinking on the problem and, for example, come up with a test to reveal more.


There are known good reasons why 1Gb connections decide on a lower speed. If you have a 500Mb or so upload/download, you know your modem has a large cache, the modem might choose to increase to 1 Gb periodically.

Here's one idea that came to me while I was calling you out. The windows box does 1G. The router also acts as a switch. Why not arrange a windows <--> linux transfer and time your transfer? On a network, it's about 10bits/byte. Work it out how fast you're going. It's how fast it is, that matters, not how dast it says it is. If I'm right about you, this test won't happen. But I really hope you do it. Not everything can be solved with point & click.

Last edited by business_kid; 11-02-2022 at 05:47 AM.
 
Old 11-02-2022, 10:53 AM   #21
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 565

Rep: Reputation: Disabled
Quote:
Originally Posted by Enesha View Post
So I don't appear to have that config.gz.

I am not sure what you mean is the server supported? In that link you gave under 8169 it did show 8168
Maybe there is a config-* file in your /boot directory?
file /boot/* | grep ASCII
grep 8169 /boot/config-$(uname -r)

For server support see https://ubuntu.com/certified/servers
 
Old 11-02-2022, 11:38 PM   #22
Enesha
LQ Newbie
 
Registered: Oct 2022
Posts: 14

Original Poster
Rep: Reputation: 0
Thumbs down

Quote:
Originally Posted by business_kid View Post
Changing a nic for one of the same type could be upsetting things if anything on the network is reading the MAC address as MAC adress=host pairings are common. Your kernel mightn't even be compiled with 100Gb support. Your router mightn't was 1Gb transfers for reasons of load balancing. Can you get >100Mb out from your router. Most installations have lower speeds.

At this stage, I'm thinking the problem is you. You couldn't solve this yourself, so you asked, which is fine. But if you give good feedback, do the work and keep digging yourself, most, but not all threads can be sorted within 8 posts. This is post #20. This should have been sorted in 20 posts. What have you learned from the previous 19 posts?
I'll bet you haven't
  • read How_To_Ask_a_Question
  • checked the logs or shown the output. It's one thing to say something 'errored out.' But the error number tells you why: error 1 = permissions; error 2 = file not found etc. That's diagnostic information. Why did the logs say the speed dropped?
  • Spent time thinking on the problem and, for example, come up with a test to reveal more.


There are known good reasons why 1Gb connections decide on a lower speed. If you have a 500Mb or so upload/download, you know your modem has a large cache, the modem might choose to increase to 1 Gb periodically.

Here's one idea that came to me while I was calling you out. The windows box does 1G. The router also acts as a switch. Why not arrange a windows <--> linux transfer and time your transfer? On a network, it's about 10bits/byte. Work it out how fast you're going. It's how fast it is, that matters, not how dast it says it is. If I'm right about you, this test won't happen. But I really hope you do it. Not everything can be solved with point & click.

Im not sure what you're referencing or "calling me out"about. You said you bet I hadn't shown logs. I have extensively copied log output into my posts. I gave detailed information regarding kernel disy dmesg output ethtool output lsmod etc. I heard every reply suggesting something and I replied specifically to that. What other log information do you believe I have been missing? I didn;t just say it errored help me.

It's got nothing to do with the up/down of the internet provider. If you had looked at my postings in the beginning, you would have seen the ethtool output. I'm not speaking data transfer speed. I am speaking specifically of the link connect speed which as shown above is only negotiating 100 and is only showing the ADVERTISED speed from the router as 100 full duplex. As shown in the past below:

Settings for enp5s0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
netlink error: Operation not permitted
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes

Again as you can see it's not a transfer speed thing which you seem to assume with your win to linux test.

I tried it on a brand new fios router (which again was mentioned before) with 1g and 10g ports, same advertised speed

I tried a second router by tplink, which was mentioned above, and the same advertised speed. SO whats the misunderstanding here?

Agains your cute little "If I'm right about you, this test won't happen" about a win to lin test is irrelevent since we're talking about the link speed not actual data transfer.

So before you "Call Out" anyone you might want to look at the older posts and understand the problem properly, and see the supposedly missing logs are right there. You'd also note the replies and i tried this and 8169 that and whatever else.

So explain how with two cards (both 8168 unfortunately), multiple cables and two distinct routers the problem is me? It can only connect to what it knows and it is incorrectly detecting that the routers only support 100. Explain how that is user error and not some sort of driver or oob config error?

UPDATE - Just tried it on an Xfinity supplied router. Same troubles
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full

What I have ALWAYS been asking about was the link speed.

So it's either failing to detect a correct speed or the driver is reporting something unexpected

So what precisely have I failed to do?

You should try and help people without being snide. If you want to be a jerk and make side comments or whatever you can always simply not press the reply button and move on. But what I see here that's just not you, right?

It's moot at this point. I have ordered a card based on other than a realtek chipset. Done trying. And I bet you know where you can put my extra card, right?
 
Old 11-03-2022, 01:29 PM   #23
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 565

Rep: Reputation: Disabled
Damn... that went south fast. ¯\_(ツ)_/¯
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek 8168 driver problem delinne Linux - Hardware 5 07-16-2008 04:51 AM
FC6, Realtek 8168, installed rpm, now what? JSX Linux - Networking 2 01-05-2007 10:39 AM
Realtek 8168/8111 hang on high load ari197 Linux - Laptop and Netbook 1 12-29-2006 03:42 AM
realtek 8168/8111 hangs on high load ari197 Linux - Hardware 3 12-07-2006 02:37 AM
RealTek 8168/8110 with fedora zolorin Linux - Hardware 0 09-07-2004 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration