⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 set_channel.pl

📁 Click is a modular router toolkit. To use it you ll need to know how to compile and install the sof
💻 PL
字号:
#!/usr/bin/perl -wuse strict;my ($channel) = @ARGV;if ($channel eq "12") {    exit -1;}system "write_handler.pl winfo.channel -1";if ($channel > 20) {    system "write_handler.pl set_rate.rate 12";    system "write_handler.pl rates.insert DEFAULT 12 24 48 18 36 72 96 108";    system "write_handler.pl rate.reset 1";} else {    system "write_handler.pl set_rate.rate 2";    system "write_handler.pl rates.insert DEFAULT 2 4 11 12 18 22 24 48 36 72 96 108";    system "write_handler.pl rate.reset 1";}system "/sbin/iwconfig ath0 channel $channel";system "write_handler.pl winfo.channel $channel";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -