airtaskdesktop icon indicating copy to clipboard operation
airtaskdesktop copied to clipboard

Device not found

Open captaindannduece opened this issue 10 years ago • 11 comments

Can't find android AirTask app on same lan even though I configured the desktop to use the same name as the 'device name" set in the app. Also, how can I run the commandline functions in headless mode?

captaindannduece avatar Oct 08 '16 18:10 captaindannduece

About command line: you find the instructions in the readme file. AirTask can be invoked from command line using the following arguments:

-d DEVICE: To specify a device as destination. If not specified, the default one is used (if any) -f FILE: To transfer a file using its path -m MESSAGE: To transfer a message -clip: To copy the pc clipboard to a device selected with -d or the default one

About the network problem: did you open all the needed ports on your desktop? If not, the connection is blocked by your firewall. It's the only reason why it work PC->Phone but it doesn't work Phone->PC. In addition you need to add the PC device in your phone with the same name and the IP address. If you use DHCP my suggestions is to use a static ip for your pc or to use address reservation in the configurations of your router.

baldapps avatar Oct 09 '16 06:10 baldapps

Caption is same for my problem, but not contents. I have 2 devices configured, but with command line I can send message only to default configured. When I specify device name via -d parameter, I only get "Device not found". Does not matter if I specify correct one from list, default or not - same result. Have no spaces nor special chars in names. Tried quoting with single and double - all the same. Using Windows.

amokkatgithub avatar Oct 09 '16 10:10 amokkatgithub

I think I found the bug about the command line name parameters. I try to fix it asap.

baldapps avatar Oct 09 '16 10:10 baldapps

Fixed in 1.2.2 version

baldapps avatar Oct 09 '16 10:10 baldapps

Still not fixed for me. Opened ports from readme on firewall. Still can't find device.

captaindannduece avatar Oct 14 '16 06:10 captaindannduece

Do you have problem from phone to pc, pc to phone or both? Have you configured the devices with IP addresses both on pc and phone?

baldapps avatar Oct 14 '16 16:10 baldapps

Both, phone is fully configured. How do you configure the desktop besides allowing ports?

captaindannduece avatar Oct 14 '16 17:10 captaindannduece

Ok. I think your problems are:

  1. To send messages to your phone you need to configure the app. In order to configure to app you need to start the app with a graphic environment. Use the "options" menu in the toolbar. See attached image. If you don't configure the desktop app, it won't work because it doesn't know the ip addresses.
  2. If you don't start the desktop app from a graphic environment the app won't listen to phone because it isn't a background demon server (at least now). aaa

baldapps avatar Oct 14 '16 17:10 baldapps

Can you develop it into one? Otherwise I'm stuck sending telnet messages to my phone.

captaindannduece avatar Oct 14 '16 17:10 captaindannduece

Not at the moment, but I can add it to the TODO list.

baldapps avatar Oct 14 '16 17:10 baldapps

Thanks. Will keep following.

captaindannduece avatar Oct 14 '16 17:10 captaindannduece