Help for this page

Select Code to Download


  1. or download this
    my $socket = $ssh->socket;
    my $chan = $ssh->channel();
    $chan->exec("/sbin/fwupdate -m\n");
    close $socket;
    $ssh->disconnect;
    
  2. or download this
    my $chan = $ssh->channel();
    $ssh->blocking(0);
    $chan->exec("/sbin/fwupdate -m\n");
    
  3. or download this
    use Net::OpenSSH;
    
    my $ssh = Net::OpenSSH->new($host, timeout => 30);
    $ssh->scp_put($firmware[$antenna_type],'/tmp/fwupdate.bin');
    $ssh->system("/sbin/fwupdate -m\n");