start/stop wifi station via command line on atheros routers?

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
mvrk
DD-WRT Novice


Joined: 20 Oct 2009
Posts: 44
Location: Czech Republic

PostPosted: Tue Feb 20, 2024 20:49    Post subject: start/stop wifi station via command line on atheros routers? Reply with quote
Hi,

I understand that the wl command doesn't exist on atheros routers.

So, how do one stop/starts a wifi station connection on the command line?

I tried with iw command but doesn't seem to recognize the disconnect/connect options
iw wlan0 disconnect
iw wlan0 connect SSID

_________________
Netgear R9000
DD-WRT v3.0-r55109 std (02/27/24)
Router, AP, WDS, VAPs, SFE off
Firewall / NAT / VLANs
DNS / DHCP / DDNS / SSH / NTP / Syslog / Cron
Wireguard / OpenVPN
USB Storage / Entware (LIGHTTPD & TFTPD)
2.4GHz: Vanilla, N/G, VHT40, LDPC, Disassoc Low ACK, Short Preamble, Short GI, Airtime Fairness, WMM, ACK Timing 500, WPA2 (AES), WPA2 ENTP (AES)
5GHz: DD-WRT, AC/N, VHT80, Disass Low ACK, Shrt Preamble/GI, Singl Beamforming, Airt Fairness, WMM, ACK Time 500, WPA2(AES), WPA2 ENTP(AES)

TP-Link Archer C7 v2
DD-WRT v3.0-r55109 std (02/27/24)
Router, AP, WDS Station, VAPs, SFE off
SSH / NTP / Syslog / Cron
USB Storage / Entware (LIGHTTPD & TFTPD)
2.4GHz: N/G, VHT40, LDPC, Disassoc Low ACK, Short Preamble, Short GI, Airtime Fairness, WMM, ACK Timing 500, WPA2 (AES), WPA2 ENTP (AES)
5GHz: DD-WRT, AC/N, VHT80, Disassoc Low ACK, Short Preamble, Short GI, Airtime Fairness, WMM, ACK Timing 500, WPA2 (AES), WPA2 ENTP (AES)
Sponsor
apacheguy
DD-WRT User


Joined: 26 Jun 2008
Posts: 88

PostPosted: Fri Feb 23, 2024 4:16    Post subject: Reply with quote
Are you trying to toggle the Wi-Fi antennas?

service radio_off start
mvrk
DD-WRT Novice


Joined: 20 Oct 2009
Posts: 44
Location: Czech Republic

PostPosted: Fri Feb 23, 2024 19:45    Post subject: Reply with quote
No, i have the 2.4GHz radio on my ArcherC7v2 configured as client to get internet from my phone hotspot.

But happened to me sometimes that it didn't connect automatically after turning my phone hotspot on.

_________________
Netgear R9000
DD-WRT v3.0-r55109 std (02/27/24)
Router, AP, WDS, VAPs, SFE off
Firewall / NAT / VLANs
DNS / DHCP / DDNS / SSH / NTP / Syslog / Cron
Wireguard / OpenVPN
USB Storage / Entware (LIGHTTPD & TFTPD)
2.4GHz: Vanilla, N/G, VHT40, LDPC, Disassoc Low ACK, Short Preamble, Short GI, Airtime Fairness, WMM, ACK Timing 500, WPA2 (AES), WPA2 ENTP (AES)
5GHz: DD-WRT, AC/N, VHT80, Disass Low ACK, Shrt Preamble/GI, Singl Beamforming, Airt Fairness, WMM, ACK Time 500, WPA2(AES), WPA2 ENTP(AES)

TP-Link Archer C7 v2
DD-WRT v3.0-r55109 std (02/27/24)
Router, AP, WDS Station, VAPs, SFE off
SSH / NTP / Syslog / Cron
USB Storage / Entware (LIGHTTPD & TFTPD)
2.4GHz: N/G, VHT40, LDPC, Disassoc Low ACK, Short Preamble, Short GI, Airtime Fairness, WMM, ACK Timing 500, WPA2 (AES), WPA2 ENTP (AES)
5GHz: DD-WRT, AC/N, VHT80, Disassoc Low ACK, Short Preamble, Short GI, Airtime Fairness, WMM, ACK Timing 500, WPA2 (AES), WPA2 ENTP (AES)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum