fakeAP

fakeAPデバッグ
Projects - fakeAP

my $cmd;
    $cmd = "$IFCONFIG $interface_opt down";
    system($cmd);
print "$cmd [$?]\n";

    $cmd = qq($IFCONFIG $interface_opt "up");
    system($cmd);
print "$cmd [$?]\n";

    $cmd = qq($IWCONFIG $interface_opt ESSID "$essid");
    system($cmd);
print "$cmd [$?]\n";

    $cmd = qq( $IWCONFIG $interface_opt "channel" $channel );
    system($cmd);
print "$cmd [$?]\n";

    $cmd = qq( $IFCONFIG $interface_opt "hw"      "ether" $mac );
    system($cmd);
print "$cmd [$?]\n";