def attach(options = attach_options)
      if Device::Network.configured?
        print_attach(:attach_connecting, options)
        unless Device::Network.connected?
          if Device::Network.attach(options) == Device::Network::SUCCESS
            Device::Setting.network_configured = 1
            print_attach(:attach_connected, options)
          else
            Device::Setting.network_configured = 0 if DaFunk::ParamsDat.file["connection_management"] == "0"
            print_attach(:attach_fail, options.merge(:args => [Device::Network.code.to_s]))
            getc(10000)
            return false
          end
        else
          print_attach(:attach_already_connected, options)
        end
        true
      else
        print_attach(:attach_device_not_configured, options)
        getc(2000)
        false
      end
    end
def attach(options = attach_options)
      if Device::Network.configured?
        print_attach(:attach_connecting, options)
        unless Device::Network.connected?
          if Device::Network.attach(options) == Device::Network::SUCCESS
            Device::Setting.network_configured = 1
            print_attach(:attach_connected, options)
          else
            Device::Setting.network_configured = 0 if DaFunk::ParamsDat.file["connection_management"] == "0"
            print_attach(:attach_fail, options.merge(:args => [Device::Network.code.to_s]))
            getc(10000)
            return false
          end
        else
          print_attach(:attach_already_connected, options)
        end
        true
      else
        print_attach(:attach_device_not_configured, options)
        getc(2000)
        false
      end
    end
{
   :bmps => {
     :attach_connecting => "<path>",
     :attach_connected => "<path>",
     :attach_fail => "<path>",
     :attach_loop => ["<path1>", "<path2>", "<path3>", "<path4>"],
   }
 }

 {:print_last => true} || nil