Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th June 2021
joao177 joao177 is offline
New User
Join Date: Jun 2021
Posts: 6
Arrow How to find out network interface speed

I'm using the rtwn firmware. The man pages for "rtwn" doesn't give me a clue . As I know, this can be achieved in Linux via the "iwconfig" command.

Thank you.
Reply With Quote
  #2   (View Single Post)  
Old 18th June 2021
joao177 joao177 is offline
New User
Join Date: Jun 2021
Posts: 6

This is the output for "ifconfig rtwn0 chan". Please excuse me if I'm being stupid.

	lladdr b0:c0:90:a2:d5:45
	index 2 priority 4 llprio 3
	groups: wlan egress
	media: IEEE802.11 autoselect (OFDM48 mode 11g)
	status: active
	ieee80211: nwid "Carol Nova" chan 9 bssid d4:6e:0e:cd:aa:50 -52dBm wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp
		chan  freq      properties
		   1  2412 MHz  -
		   2  2417 MHz  -
		   3  2422 MHz  -
		   4  2427 MHz  -
		   5  2432 MHz  -
		   6  2437 MHz  -
		   7  2442 MHz  -
		   8  2447 MHz  -
		   9  2452 MHz  -
		  10  2457 MHz  -
		  11  2462 MHz  -
		  12  2467 MHz  -
		  13  2472 MHz  -
		  14  2484 MHz  -
	inet netmask 0xffffff00 broadcast

Last edited by J65nko; 19th June 2021 at 10:53 PM. Reason: Added [code] tag ;-)
Reply With Quote
  #3   (View Single Post)  
Old 18th June 2021
J65nko J65nko is offline
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,896

Your output shows that your adapter is operating in mode 11g. According to https://en.wikipedia.org/wiki/IEEE_802.11g-2003 the maxium throughput for 11g is 54 Mbit/s.

The modulation scheme used in 802.11g is orthogonal frequency-division multiplexing (OFDM) copied from 802.11a with data rates of 6, 9, 12, 18, 24, 36, 48, and 54 Mbit/s, and reverts to CCK (like the 802.11b standard) for 5.5 and 11 Mbit/s and DBPSK/DQPSK+DSSS for 1 and 2 Mbit/s. Even though 802.11g operates in the same frequency band as 802.11b, it can achieve higher data rates because of its heritage to 802.11a.
The OFDM48 mode 11g however seem to indicate 48 Mbit/s.
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

Last edited by J65nko; 18th June 2021 at 08:42 PM.
Reply With Quote
  #4   (View Single Post)  
Old 19th June 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
Join Date: May 2008
Location: USA
Posts: 7,694

The "interface speed" of a Network Interface Connector (NIC) does not directly correlate to the throughput a NIC can produce. Internal data transfer rates can be lower than the interface speed, there is overhead for each frame/packet processed, and there may be retransmissions of frames due to collisions and errors. In addition, WiFi technologies shift interface speeds up and down constantly for error rate management. The 48 Mbit rate shown by ifconfig(8) was the interface speed at that particular moment-in-time.

NIC throughput can be tested with tools such as tcpbench(1).
Reply With Quote

bandwidth, iwconfig, network, speed

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
too much network activity kills the interface hanzer OpenBSD General 8 8th August 2017 05:05 PM
Slow network interface roggy OpenBSD Security 4 7th April 2017 05:17 PM
Changing Which Interface Is Assigned To Network Interface (physical) Port EverydayDiesel OpenBSD General 2 18th July 2014 10:25 AM
Network Speed Issues - Not ISP Related EverydayDiesel OpenBSD General 41 23rd December 2013 11:14 PM
Network Speed Issues Ernball OpenBSD General 3 12th December 2009 07:27 PM

All times are GMT. The time now is 06:30 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick