Sample Header Ad - 728x90

How to pause WLAN interface in linux?

0 votes
0 answers
79 views
I am working on a project with a Wi-Fi router (TP-Link) installed with dd-wrt firmware. A latop is directly connected over eth port with the router (as an adminsitrator who controls the router over telnet). There is also a user who is connected to the router wirelessly (ussing SSID, as any user would do to use the internet). Let's say the user is continuously downloading content. Now, I require to make this wlan interface (in my case ath0 through which the user is connected to) pause every 30 seconds for 2 second period, and then resume the traffic again. It is not a good idea to make the inteface down, as it will take some time to reconnect, and resume traffic (more than 6-7 sec as checked). Is there any way by which I can pause the traffic on the interface rathen than shutting it down completely ? Or what are the options by which the link can come live at its earliest ?
Asked by SAM (1 rep)
Nov 1, 2023, 11:26 PM