LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2022, 07:05 AM   #1
Ankita_kulkarni
LQ Newbie
 
Registered: Nov 2020
Posts: 14

Rep: Reputation: Disabled
Question Alternative to ethtool


Hi,
I want to know Ring parameters for eth0:
I used ethool -g eth0 to get the stat, getting below error.

Quote:
$ ethtool -g eth0
Ring parameters for eth0:
Cannot get device ring settings: Operation not supported
is there any other way to check Ring parameters for eth0:?

Thanks
 
Old 03-30-2022, 08:29 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Ankita_kulkarni View Post
Hi,
I want to know Ring parameters for eth0: I used ethool -g eth0 to get the stat, getting below error.
Code:
$ ethtool -g eth0
Ring parameters for eth0:
Cannot get device ring settings: Operation not supported
is there any other way to check Ring parameters for eth0:?
You didn't run the command as root/sudo. Try that.
 
Old 03-30-2022, 08:51 AM   #3
Ankita_kulkarni
LQ Newbie
 
Registered: Nov 2020
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
You didn't run the command as root/sudo. Try that.
I tried as a root user, its not working.
 
Old 03-30-2022, 09:10 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Ankita_kulkarni View Post
I tried as a root user, its not working.
Your original post showed you were not running as root/sudo. Saying "not working" doesn't tell us anything new...what exactly did you type in, and what exactly was the result? And on what version/distro of Linux? Because that command works fine for me, and will ONLY run as root.

Last edited by TB0ne; 03-30-2022 at 09:12 AM.
 
Old 03-30-2022, 10:29 AM   #5
Ankita_kulkarni
LQ Newbie
 
Registered: Nov 2020
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Your original post showed you were not running as root/sudo. Saying "not working" doesn't tell us anything new...what exactly did you type in, and what exactly was the result? And on what version/distro of Linux? Because that command works fine for me, and will ONLY run as root.
Quote:
Please find details below:
1. Gentoo Distro (RPI4)
2. Command: ethtool -g eth0 (root -user)
3. result:
Ring parameters for eth0:
Cannot get device ring settings: Operation not supported
Thanks
 
Old 03-30-2022, 10:51 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Ankita_kulkarni View Post
Code:
Please find details below:
1. Gentoo Distro (RPI4)
2. Command: ethtool -g eth0 (root -user)
3. result:
Ring parameters for eth0:
Cannot get device ring settings: Operation not supported
So you're running Gentoo (don't know the version) on a Raspberry Pi. Have you looked at the hardware specs to see if the actual device supports that? And is the eth0 device the *ACTUAL* name of the device, or an alias??? Physical interfaces are things like BPEthxxx and ethxxxx, and these are the only ones for which you can actually query/change ring parameters.

Read the "Question Guidelines" and "How to ask a smart question" links.
 
1 members found this post helpful.
Old 03-30-2022, 12:13 PM   #7
LilyRoss
LQ Newbie
 
Registered: Mar 2022
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by Ankita_kulkarni View Post
Hi,
I want to know Ring parameters for eth0:
I used ethool -g eth0 to get the stat, getting below error.



is there any other way to check Ring parameters for eth0:?

Thanks

hey, try doing this

The RX ring buffer size can be examined with the ethtool -g command. The default RX Ring size is 256 (the maximum is 4096). User can increase this with the ethtool -G command. Monitor the ifconfig output to see if the RX drops stop.
 
Old 03-30-2022, 12:15 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by LilyRoss View Post
hey, try doing this
The RX ring buffer size can be examined with the ethtool -g command. The default RX Ring size is 256 (the maximum is 4096). User can increase this with the ethtool -G command. Monitor the ifconfig output to see if the RX drops stop.
Did you bother to read the post?? That is exactly what they ARE doing. Second post of yours that appears to not read/understand the topic or address the question. Is there a point?
 
  


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
ethtool help ottomatic Linux - Networking 3 04-05-2011 02:48 AM
Change ethernet card to 10Mbps (ethtool doesn’t work for FC1) pwangee Fedora 6 07-08-2004 08:30 AM
Change ethernet card to 10Mbps (ethtool doesn’t work for FC1) pwangee Linux - Networking 0 07-07-2004 09:45 AM
ethtool wont recognise my pcmcia card baby_bandit Linux - Networking 0 03-06-2004 01:02 PM
ethtool command question simquest Linux - General 1 12-16-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:00 AM.

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