Solved Slow wifi connection

I managed to get pkg installed on my system, and it has intermittently worked since then. More often than not, though, it will fail to fetch things. For example, if I try to install something, it will burst around from several hundred kB/s down to 0.0kB/s. It will repeatedly do this, sometimes showing "stalled." Eventually, it will fail and say "pkg: cached package <pkg name>: missing or size mismatch, cannot continue." If I attempt to run "pkg update -f", I get the same bursty speeds. I've tried changing the repo/mirror that I'm using in FreeBSD.conf with no changes. I've also tried forcing both IPv4 and v6 with no changes.

It did eventually work last night and held a consistent speed. It worked long enough for me to install some stuff like xorg and KDE. Things are back to "normal," as it were, and I cannot install any new packages. I assume the issue has something to do with my wifi since my internet is also crawling in Konqueror. I'm not sure what, exactly, is the issue. Any help is appreciated!

Maybe useful info:
My wifi chipset is listed as Intel "Wi-Fi 5(802.11ac) Wireless-AC 9x6x [Thunder Peak]"
 
To rule out potential other issues, can you do something similar on a wired connection? If that works fine we can assume it's the wireless network that's causing the issue.

Intel "Wi-Fi 5(802.11ac) Wireless-AC 9x6x [Thunder Peak]"
As far as I know this is still somewhat of a work-in-progress, what version of FreeBSD are you using?
 
I have an "Intel® Dual Band Wireless-AC 7265" and it works fine, yes as the iwm() man pages says it doesn't work in n mode, it can see it but won't connect, I set the wifi settings in the router to b/g mode.
 
I'm fairly sure that's the chipset on my Thinkpad and it doesn't work very well. It does give me about 2-4 MBs on the LAN (vs 40-50 on Linux) and is fast enough to watch youtube videos. Just did a search of my posts on the forums for the chipset and yeah, it is the 9x6x.
 
To rule out potential other issues, can you do something similar on a wired connection? If that works fine we can assume it's the wireless network that's causing the issue.
While technically possible, it would require me tearing down and moving the setup to a different room (or purchasing a really long ethernet cable to run).
As far as I know this is still somewhat of a work-in-progress, what version of FreeBSD are you using?
I am using 14.3. I tried following the advice on this post and was able to switch to 802.11a at 5Ghz. My network, however, was not detected. I could see other networks, though. I'm not super familiar with wifi technology, but it seems my router broadcasts a single network that works at either 2.4Ghz or 5Ghz. My wifi extender (not being used by the computer in question) distinguishes between the two and offers them both as two separate options. I'm not sure if the single network broadcast is causing an issue. Regardless, I ordered a known good USB dongle (Deal4GO RT5572) to hopefully help me move past this issue.
 
So here is my update. It turns out that my Intel wifi was working just fine. The reason why I couldn't detect my network when using 802.11a was that my router had SON (Self Organizing Network) enabled. Basically, instead of having a 2.4Ghz and a 5Ghz with separate SSIDs, there is only one broadcasted SSID. The router determines whether the connected device will be on 2.4Ghz or 5Ghz. For whatever reason, I could detect my network at 2.4Ghz with 802.11g, but I couldn't detect it at 5Ghz with 802.11a. Once I disabled SON and split the broadcast, I was able to successfully detect and connect to my network at 5Ghz.
 
I have read a few times that setting the country code to match the router can unlock the best performance. I don't have any references, but it might be worth a try.
 
I have read a few times that setting the country code to match the router can unlock the best performance. I don't have any references, but it might be worth a try.
I am a reference :cool: I had mistakenly commented out the regdomain line from my rc.conf and with 15.0-ALPHA5 my AX210 couldn't connect to my router in AC mode, only in A mode. Once I set the correct country and regdomain all was fine.
PR 290147
 
I investigated a bit further and now have the line

"create_args_wlan0='country GB regdomain etsi'"

added to my /etc/rc.conf.

For the US it would be 'US' and 'FCC', and for other countries in europe, 'ETSI' and the country code.
There is a list of 2-letter country codes here

And to check it works:-
# ifconfig wlan0 | grep regdomain
regdomain ETSI country GB authmode WPA2/802.11i privacy ON
 
Back
Top