!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

908 Members
Declaratively manage your switching, routing, wireless, tunneling and more.262 Servers

Load older messages


SenderMessageTime
29 May 2025
@magic_rb:matrix.redalder.orgmagic_rb
main@hela:~$ sudo ip netns exec hel iw dev wlan0 info
Interface wlan0
	ifindex 11
	wdev 0x1
	addr 00:0c:43:26:60:10
	ssid bpi-2g
	type AP
	wiphy 0
	channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz
	txpower 20.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	130933	0	0	0	395	12047653		131367
main@hela:~$ sudo ip netns exec hel iw dev wlan1 info
Interface wlan1
	ifindex 12
	wdev 0x100000001
	addr 76:5f:50:6d:fe:0b
	ssid bpi-5g
	type AP
	wiphy 1
	channel 153 (5765 MHz), width: 40 MHz, center1: 5755 MHz
	txpower 13.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	1404	0	0	0	1	108882		1404
10:33:52
@magic_rb:matrix.redalder.orgmagic_rbwhy the fuck am i on 40mhz channel width10:35:21
@magic_rb:matrix.redalder.orgmagic_rbthat would explain my shitty perf10:35:25
@matthewcroughan:defenestrate.itmatthewcroughan
[nix-shell:~]# iw dev wlan0 info
Interface wlan0
	ifindex 11
	wdev 0x1
	addr 00:0c:43:26:60:10
	ssid DoESLiverpool
	type AP
	wiphy 0
	channel 6 (2437 MHz), width: 40 MHz, center1: 2447 MHz
	txpower 20.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	324367	0	0	0	1379	54579809		328711

[nix-shell:~]# iw dev wlan1 info
Interface wlan1
	ifindex 12
	wdev 0x100000001
	addr 76:5f:50:6d:fe:0b
	ssid DoESLiverpool
	type AP
	wiphy 1
	channel 149 (5745 MHz), width: 40 MHz, center1: 5755 MHz
	txpower 26.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	314589	0	0	0	493	54618653		328979

[nix-shell:~]# iw dev wlan2 info
Interface wlan2
	ifindex 13
	wdev 0x200000001
	addr 00:0c:43:26:60:88
	type managed
	wiphy 2
	txpower 0.00 dBm
	multicast TXQ:
		qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
		0	0	0	0	0	0	0	0		0
	4addr: on
10:35:48
@magic_rb:matrix.redalder.orgmagic_rbcan someone quickly share their latest hostapd config10:35:54
@matthewcroughan:defenestrate.itmatthewcroughanYes, these days I'm just using k900's hostapd verbatim10:36:04
@magic_rb:matrix.redalder.orgmagic_rbplease share :>10:36:14
@matthewcroughan:defenestrate.itmatthewcroughanhttps://gitlab.com/K900/nix/-/blob/master/machines/bananya/hostapd.nix?ref_type=heads10:36:32
@magic_rb:matrix.redalder.orgmagic_rbyoure also on 40 tho10:36:35
@k900:0upti.meK900This is probably regulatory10:37:00
@k900:0upti.meK900
channel 36 (5180 MHz), width: 160 MHz, center1: 5250 MHz
10:37:36
@k900:0upti.meK900Is what I'm getting with RU regdomain10:37:40
@k900:0upti.meK900 And
channel 1 (5955 MHz), width: 160 MHz, center1: 6025 MHz
10:37:49
@k900:0upti.meK900On 6G10:37:50
@matthewcroughan:defenestrate.itmatthewcroughanI don't get better performance from other regdomains anyway10:37:57
@magic_rb:matrix.redalder.orgmagic_rbim in the nl, is there a way to check what are thi limits in my reg domain10:38:11
@k900:0upti.meK900Just set countryCode = "NL"10:47:26
@k900:0upti.meK900And hostapd will figure it out10:47:34
@k900:0upti.meK900 And you can use iw reg get to check 10:47:41
@magic_rb:matrix.redalder.orgmagic_rb
global
country NL: DFS-ETSI
	(2400 - 2483 @ 40), (N/A, 20), (N/A)
	(5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
	(5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
	(5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
	(5725 - 5875 @ 80), (N/A, 13), (N/A)
	(5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

i cant read this

10:48:21
@k900:0upti.meK900(lowest freq - highest freq @ max channel width), (lowest tx power, highest tx power), (DFS time), extra flags10:49:11
@magic_rb:matrix.redalder.orgmagic_rbso i can do 80 but not 160 on my freq10:49:47
@k900:0upti.meK900What is "your freq"10:50:08
@k900:0upti.meK900You have 160Mhz bands available10:50:13
@magic_rb:matrix.redalder.orgmagic_rb 5755 MHz 10:50:35
@magic_rb:matrix.redalder.orgmagic_rbthe one its on10:50:38
@magic_rb:matrix.redalder.orgmagic_rbwhich tells me my config is shit10:50:44
@magic_rb:matrix.redalder.orgmagic_rbnot the reg domain10:50:47
@k900:0upti.meK900Well did you change the reg domain now10:51:06
@k900:0upti.meK900Or was it before10:51:08

Show newer messages


Back to Room ListRoom Version: 6