New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC 2210 2304 fixed https://bugs.launchpad.net/bugs/1951586 [netplan WiFi country code / regulatory domain] #3537
Conversation
Wow! |
Does this improvement apply to Ubuntu 22.10 and 23.04 exclusively? (Never affected Ubuntu 22.04 and Mint 21 apparently?) |
PR #3078 added very useful context here: iiab/roles/network/templates/hostapd/iiab-test-wifi.j2 Lines 25 to 28 in c9ed0a0
Is some of that still relevant? (Or should most of the above lines perhaps be trimmed?) |
Depends on if the netplan improvement made it into the other releases.
Quite the opposite, those would be affected by the bug unless the fix is pushed to those releases. This change doesn't care about which release, if the country is set leave it alone otherwise doctor up the file. |
Does netplan.io version number matter? Ubuntu 22.04.2 and Mint 21 (apt updated) show:
Ubuntu 23.04 (apt updated) shows:
|
Which version of Ubuntu is most important to test if @EMG70 or others have time? If so, what test sequence is most important? (Would testing on an old 64-bit laptop possibly be sufficient?) |
All of the info is in the upstream ticket, grok that for the needed info. |
A short summary is needed for @EMG70 and/or others volunteering their time to test. |
Well testing netplan's networkd's wifi config would need to use the first boot config file mentioned but all you would be testing is a potential bug that is a bit tricky to uncover. In the current master there would be a potential to have duplicate country= lines within what becomes the wpa_supplicant config file within /run/netplan/ |
Thanks for the explanation. Hopefully netplan.io 0.107 & Ubuntu 23.10 are more understandable later this year — in preparation for Ubuntu 24.04 LTS in almost exactly 1 year. |
|
As @jvonau knows, but if others are trying to make sense of this... https://github.com/canonical/netplan/releases indicates Country Code / Regulatory Domain became part of netplan's main branch on 2022-06-30, and a part of netplan 0.105 on 2022-08-18:
FWIW rpi-imager started to take taken advantage on 2022-07-31: Related: |
The last commits should compliment 3179 finishing off WiFi country detection on all platforms. |
@EMG70 has very generously offered to help test. If there are clear instructions, working with any specific Ubuntu that we recommend? (But I'm not sure what's most important to test.) |
https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi using 'configure wireless LAN' on the server addition |
The rpi-imager program changes reasonably often, but FYI https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#3-using-advanced-options helpfully shows a "Wireless LAN country" setting here, that @EMG70 might try with Ubuntu SERVER 23.04 after it's released Thursday: (2023-04-20) Or maybe try the pre-release Beta here: https://releases.ubuntu.com/lunar/ |
RasPiOS country code details are separate from this ticket, but not terribly far afield — so just FYI use Ctrl-F to see the 43 mentions of "country" on this page if necessary: https://www.raspberrypi.com/documentation/computers/configuration.html |
I will try the pre-release beta in next two days then wait for Thursday release date and let you know. |
It's possible of course... that Ubuntu 23.04's Beta ends up being nearly identical to Thursday's final release. |
|
|
http://sprunge.us/e6hvWp's install log clearly shows 27c3b1b being applied, that was the point of this test box.
With the rest of the hand testing done think this is good enough for now. |
All Good,Thanks. |
Some takeaways from all this:
|
Good summary there Jerry ,easy to understand the test. |
@jvonau ,Not sure this issue is related to this PR. |
@EMG70 I suspect VPN is completely unrelated? e.g. if every device in your home can reach http://box — presumably because your home router is helping to resolve that to either of your Ubuntu Server 23.04 on RPi 400's current 2 IP addresses...
|
Simple test turn off the vpn and see if you can continue to access the home page. Most likely your router is providing local dns name resolution for your private lan. |
Without VPN I cannot access iiab but only when enabled. |
I'm at a loss to explain what you are experiencing, over to Adam. |
Followup in the new issue please. |
I apologise, I have turned VPN enabled-False but can still access iiab via home router. |
Um tun0 is still present in this picture |
With tun0 completely removed, I can no longer access IIIAB via home router. |
I have just tried as Adam advised to log via IP 192…33 & 192…38 I can confirm I can still access iiab via home router. |
Not quite accurate that commit was later reversed |
Maybe quick mention this (link to the above) within rpi-imager's GitHub repo? |
See url, don't need workaround netplan going forward