Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add 60ghz Wireless stuff #618

Open
durandguru opened this issue Dec 24, 2024 · 16 comments · Fixed by #624 or #645
Open

Add 60ghz Wireless stuff #618

durandguru opened this issue Dec 24, 2024 · 16 comments · Fixed by #624 or #645
Assignees
Labels
enhancement New feature or request released

Comments

@durandguru
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Add the 60ghz wireless stuff

Describe the solution you'd like
Add the commands for:
AP + Client -> /interface w60g
AP -> /interface w60g station

Documentation
https://help.mikrotik.com/docs/spaces/ROS/pages/39059501/W60G

The main interface under "/interface w60g" is always there, an default interface. On AP and client the same.

On the AP clients can be predefined under "/interface w60g station" but also can be created by routeros as an client connect with the correct settings

Additional context
I of couse can test it. And Merry Christmas!

@durandguru durandguru added the enhancement New feature or request label Dec 24, 2024
@vaerh
Copy link
Collaborator

vaerh commented Dec 24, 2024

Ok, I'll do it later. Do you have json from this resource?

Merry Christmas to you, too!

@durandguru
Copy link
Contributor Author

/interface w60g ->

[
{
".id":"*2",
"arp":"enabled",
"arp-timeout":"auto",
"beamforming-event":"1858",
"default-scan-list":"58320,60480,62640,64800",
"disabled":"false",
"frequency":"60480",
"isolate-stations":"false",
"l2mtu":"1600",
"mac-address":"48:8F:5A:F3:34:E0",
"mode":"ap-bridge",
"mtu":"1500",
"name":"wlan60-1",
"password":"password",
"put-stations-in-bridge":"bridge",
"region":"eu",
"running":"false",
"rx-mpdu-crc-err":"20354232",
"rx-mpdu-crc-ok":"1401642596",
"rx-ppdu":"1403448812",
"ssid":"ptmp01",
"tx-fw-msdu":"52",
"tx-io-msdu":"0",
"tx-mpdu-new":"202533008",
"tx-mpdu-retry":"3570458",
"tx-mpdu-total":"206103466",
"tx-ppdu":"3230579961",
"tx-ppdu-from-q":"2031518609",
"tx-sector":"auto",
"tx-sw-msdu":"202533128"
}
]

image

image

image

@durandguru
Copy link
Contributor Author

/interface w60g station ->

[
{
".id":"*8",
"arp":"enabled",
"arp-timeout":"auto",
"beamforming-event":"3042",
"disabled":"false",
"mac-address":"48:8F:5A:F3:34:E0",
"mtu":"1500",
"name":"ptp01",
"parent":"wlan60-1",
"put-in-bridge":"parent",
"remote-address":"48:8F:5A:47:81:9E",
"running":"true"
}
]

image

image

@durandguru
Copy link
Contributor Author

And take your time!

@vaerh
Copy link
Collaborator

vaerh commented Dec 30, 2024

🎉 This issue has been resolved in version 1.73.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vaerh vaerh added the released label Dec 30, 2024
@durandguru
Copy link
Contributor Author

Thanks for adding this! Only had now time to test stuff. The following remarks:
-the routeros_interface_w60g manages an system created interface, So it now tries to create and fails. Importing does work and then i can manage the resource ;-)
-The field region is not an bool. but you select something from an list

Image

-Missing field:
Warning: Field 'default_scan_list' not found in the schema

│ with module.test[0].routeros_interface_w60g.ap[0],
│ on test\main.tf line 1, in resource "routeros_interface_w60g" "ap":
│ 1: resource "routeros_interface_w60g" "ap" {

│ [MikrotikResourceDataToTerraform] The field was lost during the Schema development: ▷ 'default_scan_list': '58320,60480,62640,64800' ◁

For routeros_interface_w60g_station, the field mac_address is required for creating the resource.

@durandguru
Copy link
Contributor Author

@vaerh can not reopen, or would you like me to create a new issue?

@vaerh
Copy link
Collaborator

vaerh commented Jan 19, 2025

I suggest we stay here.

@vaerh vaerh reopened this Jan 19, 2025
@vaerh
Copy link
Collaborator

vaerh commented Jan 19, 2025

Quite a few misses.))
I'll make the fixes in the next release and then its request to test again. Same as always)

@vaerh
Copy link
Collaborator

vaerh commented Jan 29, 2025

Hi, @durandguru !

-the routeros_interface_w60g manages an system created interface

Does MT provide for the creation of virtual interfaces via this menu or does it always control the w60 system interface?

@durandguru
Copy link
Contributor Author

In winbox no add or remove button, and in terminal also no add/remove

Image

Image

vaerh added a commit that referenced this issue Jan 29, 2025
vaerh added a commit that referenced this issue Jan 29, 2025
@vaerh
Copy link
Collaborator

vaerh commented Feb 4, 2025

🎉 This issue has been resolved in version 1.76.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@durandguru
Copy link
Contributor Author

Thanks!. Most stuff works now. I have only got this message for creating a w60g interface

module.terraform-module-mikrotik-60g[0].routeros_interface_w60g.station[0]: Creating...

│ Error: POST 'https://172.31.10.31:443/rest/interface/w60g/set' returned response code: 400, message: 'Bad Request', details: 'missing =.id='

│ with module.terraform-module-mikrotik-60g[0].routeros_interface_w60g.station[0],
│ on .terraform\modules\terraform-module-mikrotik-60g\main.tf line 14, in resource "routeros_interface_w60g" "station":
│ 14: resource "routeros_interface_w60g" "station" {

@durandguru
Copy link
Contributor Author

@vaerh did you see my last message? No rush but wonderd if you have seen it.

@vaerh
Copy link
Collaborator

vaerh commented Feb 20, 2025

I apologize, I missed it in the mailbox.

@vaerh vaerh reopened this Feb 20, 2025
@vaerh
Copy link
Collaborator

vaerh commented Feb 23, 2025

@durandguru
Hi!

I'm trying to figure out what the problem might be and I realize I don't have enough data to do that. Can I have a look (without private data) at a single resource config and a failed exchange with MT?

# for free to join this conversation on GitHub. Already have an account? # to comment