Slow wireless speed between Ubuntu and OpenWRTActivating WiFi in FedoraHow to extend my wireless network with...
What did Jesse Pinkman mix into Walt's coffee?
Need Improvement on Script Which Continuously Tests Website
I transpose the source code, you transpose the input!
Youtube not blocked by iptables
We are on WHV, my boyfriend was in a small collision, we are leaving in 2 weeks what happens if we don’t pay the damages?
Why did UK NHS pay for homeopathic treatments?
I am not a pleasant sight
New road bike: alloy dual pivot brakes work poorly
Two side-by-side squares are inscribed in a semicircle. The diameter of the semicircle is 16. What is the sum of the two squares' areas?
How can I tell the difference between fishing for rolls and being involved?
How to deal with a Homophobic PC
Iterating over &Vec<T> and Vec<&T>
Why is my abdomen much cooler than the rest of my body after a ride?
Reorder a matrix, twice
Can I enter the UK without my husband if we said we'd travel together in our visa application?
I reverse the source code, you reverse the input!
Duplicate Tuples in two different ways
Subverting the emotional woman and stoic man trope
How to justify getting additional team member when the current team is doing well?
Why does the leading tone (G#) go to E rather than A in this example?
Neural Network vs regression
What would influence an alien race to map their planet in a way other than the traditional map of the Earth
Beyond Futuristic Technology for an Alien Warship?
Do wheelchair-accessible aircraft exist?
Slow wireless speed between Ubuntu and OpenWRT
Activating WiFi in FedoraHow to extend my wireless network with OpenWrtRetrieve value of RTS threshold without iwconfigIncrease wireless interface link speedSSID of hostapd is not visibleOpenWRT on a router with Broadcom wireless chipOpenWrt UEFI boot extremely slow?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have TpLink WA901 ND access point with OpenWRT installed, which supports up to 450 Mbps.
Unfortunately, from my Ubuntu notebook I see only Bit Rate=52 Mb/s according to iwconfig even within few meters from AP.
Notebook is Dell Inspiron with Intel Centrino Wireless N 2230, which supports up to 300 Mbps.
What to check to ensure all capabilities are activated?
On Ubuntu Notebook
$ iwconfig wlp2s0
wlp2s0 IEEE 802.11bgn ESSID:"In The Moon Network"
Mode:Managed Frequency:2.437 GHz Access Point: 60:E3:27:8D:7A:A6
Bit Rate=52 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-29 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:336 Missed beacon:0
$ iw dev wlp2s0 info
Interface wlp2s0
ifindex 3
wdev 0x1
addr 68:17:29:9a:e0:75
type managed
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
$ iw dev wlp2s0 link
Connected to 60:e3:27:8d:7a:a6 (on wlp2s0)
SSID: In The Moon Network
freq: 2437
RX: 39568332 bytes (83031 packets)
TX: 4846489 bytes (30088 packets)
signal: -29 dBm
tx bitrate: 1.0 MBit/s
bss flags: CTS-protection short-preamble short-slot-time
dtim period: 2
beacon int: 100
On OpenWRT AP
# iw wlan0 info
Interface wlan0
ifindex 6
wdev 0x2
addr 60:e3:27:8d:7a:a6
ssid In The Moon Network
type AP
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 28.00 dBm
# iwinfo wlan0 info
wlan0 ESSID: "In The Moon Network"
Access Point: 60:E3:27:8D:7A:A6
Mode: Master Channel: 6 (2.437 GHz)
Tx-Power: 28 dBm Link Quality: 66/70
Signal: -44 dBm Noise: -89 dBm
Bit Rate: 144.4 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11bgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0
# iwinfo wlan0 assoclist
68:17:29:9A:E0:75 -39 dBm / -89 dBm (SNR 50) 930 ms ago
RX: 6.0 MBit/s 32886 Pkts.
TX: 144.4 MBit/s, MCS 15, 20MHz 38245 Pkts.
root@tplink1:/etc/config# cat wireless
config wifi-device radio0
option type mac80211
option channel auto
option hwmode 11g
option path 'platform/qca956x_wmac'
option htmode HT40+
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid 'In The Moon Network'
option encryption psk2
ubuntu wifi openwrt
bumped to the homepage by Community♦ 38 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment
|
I have TpLink WA901 ND access point with OpenWRT installed, which supports up to 450 Mbps.
Unfortunately, from my Ubuntu notebook I see only Bit Rate=52 Mb/s according to iwconfig even within few meters from AP.
Notebook is Dell Inspiron with Intel Centrino Wireless N 2230, which supports up to 300 Mbps.
What to check to ensure all capabilities are activated?
On Ubuntu Notebook
$ iwconfig wlp2s0
wlp2s0 IEEE 802.11bgn ESSID:"In The Moon Network"
Mode:Managed Frequency:2.437 GHz Access Point: 60:E3:27:8D:7A:A6
Bit Rate=52 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-29 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:336 Missed beacon:0
$ iw dev wlp2s0 info
Interface wlp2s0
ifindex 3
wdev 0x1
addr 68:17:29:9a:e0:75
type managed
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
$ iw dev wlp2s0 link
Connected to 60:e3:27:8d:7a:a6 (on wlp2s0)
SSID: In The Moon Network
freq: 2437
RX: 39568332 bytes (83031 packets)
TX: 4846489 bytes (30088 packets)
signal: -29 dBm
tx bitrate: 1.0 MBit/s
bss flags: CTS-protection short-preamble short-slot-time
dtim period: 2
beacon int: 100
On OpenWRT AP
# iw wlan0 info
Interface wlan0
ifindex 6
wdev 0x2
addr 60:e3:27:8d:7a:a6
ssid In The Moon Network
type AP
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 28.00 dBm
# iwinfo wlan0 info
wlan0 ESSID: "In The Moon Network"
Access Point: 60:E3:27:8D:7A:A6
Mode: Master Channel: 6 (2.437 GHz)
Tx-Power: 28 dBm Link Quality: 66/70
Signal: -44 dBm Noise: -89 dBm
Bit Rate: 144.4 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11bgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0
# iwinfo wlan0 assoclist
68:17:29:9A:E0:75 -39 dBm / -89 dBm (SNR 50) 930 ms ago
RX: 6.0 MBit/s 32886 Pkts.
TX: 144.4 MBit/s, MCS 15, 20MHz 38245 Pkts.
root@tplink1:/etc/config# cat wireless
config wifi-device radio0
option type mac80211
option channel auto
option hwmode 11g
option path 'platform/qca956x_wmac'
option htmode HT40+
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid 'In The Moon Network'
option encryption psk2
ubuntu wifi openwrt
bumped to the homepage by Community♦ 38 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment
|
I have TpLink WA901 ND access point with OpenWRT installed, which supports up to 450 Mbps.
Unfortunately, from my Ubuntu notebook I see only Bit Rate=52 Mb/s according to iwconfig even within few meters from AP.
Notebook is Dell Inspiron with Intel Centrino Wireless N 2230, which supports up to 300 Mbps.
What to check to ensure all capabilities are activated?
On Ubuntu Notebook
$ iwconfig wlp2s0
wlp2s0 IEEE 802.11bgn ESSID:"In The Moon Network"
Mode:Managed Frequency:2.437 GHz Access Point: 60:E3:27:8D:7A:A6
Bit Rate=52 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-29 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:336 Missed beacon:0
$ iw dev wlp2s0 info
Interface wlp2s0
ifindex 3
wdev 0x1
addr 68:17:29:9a:e0:75
type managed
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
$ iw dev wlp2s0 link
Connected to 60:e3:27:8d:7a:a6 (on wlp2s0)
SSID: In The Moon Network
freq: 2437
RX: 39568332 bytes (83031 packets)
TX: 4846489 bytes (30088 packets)
signal: -29 dBm
tx bitrate: 1.0 MBit/s
bss flags: CTS-protection short-preamble short-slot-time
dtim period: 2
beacon int: 100
On OpenWRT AP
# iw wlan0 info
Interface wlan0
ifindex 6
wdev 0x2
addr 60:e3:27:8d:7a:a6
ssid In The Moon Network
type AP
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 28.00 dBm
# iwinfo wlan0 info
wlan0 ESSID: "In The Moon Network"
Access Point: 60:E3:27:8D:7A:A6
Mode: Master Channel: 6 (2.437 GHz)
Tx-Power: 28 dBm Link Quality: 66/70
Signal: -44 dBm Noise: -89 dBm
Bit Rate: 144.4 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11bgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0
# iwinfo wlan0 assoclist
68:17:29:9A:E0:75 -39 dBm / -89 dBm (SNR 50) 930 ms ago
RX: 6.0 MBit/s 32886 Pkts.
TX: 144.4 MBit/s, MCS 15, 20MHz 38245 Pkts.
root@tplink1:/etc/config# cat wireless
config wifi-device radio0
option type mac80211
option channel auto
option hwmode 11g
option path 'platform/qca956x_wmac'
option htmode HT40+
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid 'In The Moon Network'
option encryption psk2
ubuntu wifi openwrt
I have TpLink WA901 ND access point with OpenWRT installed, which supports up to 450 Mbps.
Unfortunately, from my Ubuntu notebook I see only Bit Rate=52 Mb/s according to iwconfig even within few meters from AP.
Notebook is Dell Inspiron with Intel Centrino Wireless N 2230, which supports up to 300 Mbps.
What to check to ensure all capabilities are activated?
On Ubuntu Notebook
$ iwconfig wlp2s0
wlp2s0 IEEE 802.11bgn ESSID:"In The Moon Network"
Mode:Managed Frequency:2.437 GHz Access Point: 60:E3:27:8D:7A:A6
Bit Rate=52 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-29 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:336 Missed beacon:0
$ iw dev wlp2s0 info
Interface wlp2s0
ifindex 3
wdev 0x1
addr 68:17:29:9a:e0:75
type managed
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
$ iw dev wlp2s0 link
Connected to 60:e3:27:8d:7a:a6 (on wlp2s0)
SSID: In The Moon Network
freq: 2437
RX: 39568332 bytes (83031 packets)
TX: 4846489 bytes (30088 packets)
signal: -29 dBm
tx bitrate: 1.0 MBit/s
bss flags: CTS-protection short-preamble short-slot-time
dtim period: 2
beacon int: 100
On OpenWRT AP
# iw wlan0 info
Interface wlan0
ifindex 6
wdev 0x2
addr 60:e3:27:8d:7a:a6
ssid In The Moon Network
type AP
wiphy 0
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 28.00 dBm
# iwinfo wlan0 info
wlan0 ESSID: "In The Moon Network"
Access Point: 60:E3:27:8D:7A:A6
Mode: Master Channel: 6 (2.437 GHz)
Tx-Power: 28 dBm Link Quality: 66/70
Signal: -44 dBm Noise: -89 dBm
Bit Rate: 144.4 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11bgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0
# iwinfo wlan0 assoclist
68:17:29:9A:E0:75 -39 dBm / -89 dBm (SNR 50) 930 ms ago
RX: 6.0 MBit/s 32886 Pkts.
TX: 144.4 MBit/s, MCS 15, 20MHz 38245 Pkts.
root@tplink1:/etc/config# cat wireless
config wifi-device radio0
option type mac80211
option channel auto
option hwmode 11g
option path 'platform/qca956x_wmac'
option htmode HT40+
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid 'In The Moon Network'
option encryption psk2
ubuntu wifi openwrt
ubuntu wifi openwrt
asked Jul 23 '17 at 22:16
DimsDims
5701 gold badge11 silver badges42 bronze badges
5701 gold badge11 silver badges42 bronze badges
bumped to the homepage by Community♦ 38 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 38 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 38 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
This are a lot of little reasons that all add up to wireless networking being slower than the advertised rate. Ars Technica recently did a really good article about why real-life speeds never live up to what was promised, and I'll do my best to summarize it into a few succinct points. I still encourage you to read the article in whole, the author is a lot more knowledgeable and experienced than I.
To start, networked devices can only operate at the highest speed of the slowest device, which in your case is the 300 Mb/s of the laptop's wireless card. But that's the maximum theoretical bandwidth which doesn't include overhead, the things like dropped packets, headers, and random waits to ensure no packet collisions are happening on the channel. Your 300 Mb/s wifi card is really two MIMO streams of 150 Mb/s, which have a real throughput of ~42 Mb/s each due to the overhead on the channel. Two channels of 42 is 84 Mb/s, but wifi is also half duplex, which means that you can not transmit or receive at the same time. This is because the whole channel is a single collision domain meaning that to prevent packet loss only a single device can communicate on the channel at a given time, even devices that aren't on your network but are on the same channel must obey this.
So then we are reduced to ~42 Mb/s real throughput. ~42 Mb/s doesn't match any standard for throughput, so I'm guessing your operating system probably rounds it to the nearest standard it knows (don't quote me on that part though), which is how you end up with 52 Mb/s on a 300 Mb/s interface.
What I have is that connection is REPORTED as 52 Mb/s. I would agree if it was REPORTED 300 or 150 Mb/s but actual throughput was lower. Also, the actual my problem is that I am unable to see HD 720p movies well and do remote desktop. When this notebook was under Windows, I was able to do this. Unfortunately, I can't check what reportings there were under Windows. This is why I think that the problem is not with what you described, but some logical misconfig.
– Dims
Aug 10 '17 at 20:29
You should have included that information in the original question because it is pertinent to the answer you are looking for.
– Thegs
Aug 11 '17 at 12:43
add a comment
|
Bitrate in iwconfig is (approximately) the base channel rate, not what you are experiencing. Higher speeds are achieved by using more channels at once, to put it way too simply. Wikipedia has plenty of detail on it.
Your driver may support different "modulations", e.g. you can perhaps select N only and get better throughput.
lwlist modulation should show what's available.
The reported speed from iwconfig is the radio channel base rate -- what do you actually see with, say, iperf or similar?
I getwlan17 unknown modulation information.
– GuySoft
Apr 24 '18 at 20:27
add a comment
|
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381311%2fslow-wireless-speed-between-ubuntu-and-openwrt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This are a lot of little reasons that all add up to wireless networking being slower than the advertised rate. Ars Technica recently did a really good article about why real-life speeds never live up to what was promised, and I'll do my best to summarize it into a few succinct points. I still encourage you to read the article in whole, the author is a lot more knowledgeable and experienced than I.
To start, networked devices can only operate at the highest speed of the slowest device, which in your case is the 300 Mb/s of the laptop's wireless card. But that's the maximum theoretical bandwidth which doesn't include overhead, the things like dropped packets, headers, and random waits to ensure no packet collisions are happening on the channel. Your 300 Mb/s wifi card is really two MIMO streams of 150 Mb/s, which have a real throughput of ~42 Mb/s each due to the overhead on the channel. Two channels of 42 is 84 Mb/s, but wifi is also half duplex, which means that you can not transmit or receive at the same time. This is because the whole channel is a single collision domain meaning that to prevent packet loss only a single device can communicate on the channel at a given time, even devices that aren't on your network but are on the same channel must obey this.
So then we are reduced to ~42 Mb/s real throughput. ~42 Mb/s doesn't match any standard for throughput, so I'm guessing your operating system probably rounds it to the nearest standard it knows (don't quote me on that part though), which is how you end up with 52 Mb/s on a 300 Mb/s interface.
What I have is that connection is REPORTED as 52 Mb/s. I would agree if it was REPORTED 300 or 150 Mb/s but actual throughput was lower. Also, the actual my problem is that I am unable to see HD 720p movies well and do remote desktop. When this notebook was under Windows, I was able to do this. Unfortunately, I can't check what reportings there were under Windows. This is why I think that the problem is not with what you described, but some logical misconfig.
– Dims
Aug 10 '17 at 20:29
You should have included that information in the original question because it is pertinent to the answer you are looking for.
– Thegs
Aug 11 '17 at 12:43
add a comment
|
This are a lot of little reasons that all add up to wireless networking being slower than the advertised rate. Ars Technica recently did a really good article about why real-life speeds never live up to what was promised, and I'll do my best to summarize it into a few succinct points. I still encourage you to read the article in whole, the author is a lot more knowledgeable and experienced than I.
To start, networked devices can only operate at the highest speed of the slowest device, which in your case is the 300 Mb/s of the laptop's wireless card. But that's the maximum theoretical bandwidth which doesn't include overhead, the things like dropped packets, headers, and random waits to ensure no packet collisions are happening on the channel. Your 300 Mb/s wifi card is really two MIMO streams of 150 Mb/s, which have a real throughput of ~42 Mb/s each due to the overhead on the channel. Two channels of 42 is 84 Mb/s, but wifi is also half duplex, which means that you can not transmit or receive at the same time. This is because the whole channel is a single collision domain meaning that to prevent packet loss only a single device can communicate on the channel at a given time, even devices that aren't on your network but are on the same channel must obey this.
So then we are reduced to ~42 Mb/s real throughput. ~42 Mb/s doesn't match any standard for throughput, so I'm guessing your operating system probably rounds it to the nearest standard it knows (don't quote me on that part though), which is how you end up with 52 Mb/s on a 300 Mb/s interface.
What I have is that connection is REPORTED as 52 Mb/s. I would agree if it was REPORTED 300 or 150 Mb/s but actual throughput was lower. Also, the actual my problem is that I am unable to see HD 720p movies well and do remote desktop. When this notebook was under Windows, I was able to do this. Unfortunately, I can't check what reportings there were under Windows. This is why I think that the problem is not with what you described, but some logical misconfig.
– Dims
Aug 10 '17 at 20:29
You should have included that information in the original question because it is pertinent to the answer you are looking for.
– Thegs
Aug 11 '17 at 12:43
add a comment
|
This are a lot of little reasons that all add up to wireless networking being slower than the advertised rate. Ars Technica recently did a really good article about why real-life speeds never live up to what was promised, and I'll do my best to summarize it into a few succinct points. I still encourage you to read the article in whole, the author is a lot more knowledgeable and experienced than I.
To start, networked devices can only operate at the highest speed of the slowest device, which in your case is the 300 Mb/s of the laptop's wireless card. But that's the maximum theoretical bandwidth which doesn't include overhead, the things like dropped packets, headers, and random waits to ensure no packet collisions are happening on the channel. Your 300 Mb/s wifi card is really two MIMO streams of 150 Mb/s, which have a real throughput of ~42 Mb/s each due to the overhead on the channel. Two channels of 42 is 84 Mb/s, but wifi is also half duplex, which means that you can not transmit or receive at the same time. This is because the whole channel is a single collision domain meaning that to prevent packet loss only a single device can communicate on the channel at a given time, even devices that aren't on your network but are on the same channel must obey this.
So then we are reduced to ~42 Mb/s real throughput. ~42 Mb/s doesn't match any standard for throughput, so I'm guessing your operating system probably rounds it to the nearest standard it knows (don't quote me on that part though), which is how you end up with 52 Mb/s on a 300 Mb/s interface.
This are a lot of little reasons that all add up to wireless networking being slower than the advertised rate. Ars Technica recently did a really good article about why real-life speeds never live up to what was promised, and I'll do my best to summarize it into a few succinct points. I still encourage you to read the article in whole, the author is a lot more knowledgeable and experienced than I.
To start, networked devices can only operate at the highest speed of the slowest device, which in your case is the 300 Mb/s of the laptop's wireless card. But that's the maximum theoretical bandwidth which doesn't include overhead, the things like dropped packets, headers, and random waits to ensure no packet collisions are happening on the channel. Your 300 Mb/s wifi card is really two MIMO streams of 150 Mb/s, which have a real throughput of ~42 Mb/s each due to the overhead on the channel. Two channels of 42 is 84 Mb/s, but wifi is also half duplex, which means that you can not transmit or receive at the same time. This is because the whole channel is a single collision domain meaning that to prevent packet loss only a single device can communicate on the channel at a given time, even devices that aren't on your network but are on the same channel must obey this.
So then we are reduced to ~42 Mb/s real throughput. ~42 Mb/s doesn't match any standard for throughput, so I'm guessing your operating system probably rounds it to the nearest standard it knows (don't quote me on that part though), which is how you end up with 52 Mb/s on a 300 Mb/s interface.
answered Aug 10 '17 at 16:48
ThegsThegs
3961 silver badge8 bronze badges
3961 silver badge8 bronze badges
What I have is that connection is REPORTED as 52 Mb/s. I would agree if it was REPORTED 300 or 150 Mb/s but actual throughput was lower. Also, the actual my problem is that I am unable to see HD 720p movies well and do remote desktop. When this notebook was under Windows, I was able to do this. Unfortunately, I can't check what reportings there were under Windows. This is why I think that the problem is not with what you described, but some logical misconfig.
– Dims
Aug 10 '17 at 20:29
You should have included that information in the original question because it is pertinent to the answer you are looking for.
– Thegs
Aug 11 '17 at 12:43
add a comment
|
What I have is that connection is REPORTED as 52 Mb/s. I would agree if it was REPORTED 300 or 150 Mb/s but actual throughput was lower. Also, the actual my problem is that I am unable to see HD 720p movies well and do remote desktop. When this notebook was under Windows, I was able to do this. Unfortunately, I can't check what reportings there were under Windows. This is why I think that the problem is not with what you described, but some logical misconfig.
– Dims
Aug 10 '17 at 20:29
You should have included that information in the original question because it is pertinent to the answer you are looking for.
– Thegs
Aug 11 '17 at 12:43
What I have is that connection is REPORTED as 52 Mb/s. I would agree if it was REPORTED 300 or 150 Mb/s but actual throughput was lower. Also, the actual my problem is that I am unable to see HD 720p movies well and do remote desktop. When this notebook was under Windows, I was able to do this. Unfortunately, I can't check what reportings there were under Windows. This is why I think that the problem is not with what you described, but some logical misconfig.
– Dims
Aug 10 '17 at 20:29
What I have is that connection is REPORTED as 52 Mb/s. I would agree if it was REPORTED 300 or 150 Mb/s but actual throughput was lower. Also, the actual my problem is that I am unable to see HD 720p movies well and do remote desktop. When this notebook was under Windows, I was able to do this. Unfortunately, I can't check what reportings there were under Windows. This is why I think that the problem is not with what you described, but some logical misconfig.
– Dims
Aug 10 '17 at 20:29
You should have included that information in the original question because it is pertinent to the answer you are looking for.
– Thegs
Aug 11 '17 at 12:43
You should have included that information in the original question because it is pertinent to the answer you are looking for.
– Thegs
Aug 11 '17 at 12:43
add a comment
|
Bitrate in iwconfig is (approximately) the base channel rate, not what you are experiencing. Higher speeds are achieved by using more channels at once, to put it way too simply. Wikipedia has plenty of detail on it.
Your driver may support different "modulations", e.g. you can perhaps select N only and get better throughput.
lwlist modulation should show what's available.
The reported speed from iwconfig is the radio channel base rate -- what do you actually see with, say, iperf or similar?
I getwlan17 unknown modulation information.
– GuySoft
Apr 24 '18 at 20:27
add a comment
|
Bitrate in iwconfig is (approximately) the base channel rate, not what you are experiencing. Higher speeds are achieved by using more channels at once, to put it way too simply. Wikipedia has plenty of detail on it.
Your driver may support different "modulations", e.g. you can perhaps select N only and get better throughput.
lwlist modulation should show what's available.
The reported speed from iwconfig is the radio channel base rate -- what do you actually see with, say, iperf or similar?
I getwlan17 unknown modulation information.
– GuySoft
Apr 24 '18 at 20:27
add a comment
|
Bitrate in iwconfig is (approximately) the base channel rate, not what you are experiencing. Higher speeds are achieved by using more channels at once, to put it way too simply. Wikipedia has plenty of detail on it.
Your driver may support different "modulations", e.g. you can perhaps select N only and get better throughput.
lwlist modulation should show what's available.
The reported speed from iwconfig is the radio channel base rate -- what do you actually see with, say, iperf or similar?
Bitrate in iwconfig is (approximately) the base channel rate, not what you are experiencing. Higher speeds are achieved by using more channels at once, to put it way too simply. Wikipedia has plenty of detail on it.
Your driver may support different "modulations", e.g. you can perhaps select N only and get better throughput.
lwlist modulation should show what's available.
The reported speed from iwconfig is the radio channel base rate -- what do you actually see with, say, iperf or similar?
answered Aug 14 '17 at 9:02
quadruplebuckyquadruplebucky
4563 silver badges5 bronze badges
4563 silver badges5 bronze badges
I getwlan17 unknown modulation information.
– GuySoft
Apr 24 '18 at 20:27
add a comment
|
I getwlan17 unknown modulation information.
– GuySoft
Apr 24 '18 at 20:27
I get
wlan17 unknown modulation information.– GuySoft
Apr 24 '18 at 20:27
I get
wlan17 unknown modulation information.– GuySoft
Apr 24 '18 at 20:27
add a comment
|
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381311%2fslow-wireless-speed-between-ubuntu-and-openwrt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown