screenfreeze / deskcon-desktop

Integrates your Smartphone in your Desktop
GNU General Public License v3.0
98 stars 27 forks source link

Help getting it to work #8

Closed pabgan closed 10 years ago

pabgan commented 10 years ago

Hello.

I am very excited about this project and I would like to help if I can. However I can't seem to get it to work in my Fedora 20. Here is what I have done:

1. Set up an ad-hoc wifi connection between my laptop and my phone

pablo@fausto ~ % ifconfig wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255 inet6 fe80::c685:8ff:fe28:7ee5 prefixlen 64 scopeid 0x20 ether c4:85:08:28:7e:e5 txqueuelen 1000 (Ethernet)

2. Get code
3. Set up server

pablo@fausto ~ % cat .deskcon/config.conf [network] port = 8082 secure_port = 8083 bindip = 10.42.0.1

[general] download_dir = /home/pablo/Descargas uuid = 919167740479234 debug = False

[permissions] auto_accept_files = True auto_open_urls = True auto_store_clipboard = True

4. Disable firewall

pablo@fausto ~/Workspace/git-projects/deskcon-desktop (git)-[master] % sudo systemctl status firewalld.service
firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled) Active: inactive (dead) since mar 2014-06-03 11:39:03 CEST; 35min ago Process: 804 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS) Main PID: 804 (code=exited, status=0/SUCCESS) CGroup: /system.slice/firewalld.service

jun 03 09:23:24 fausto systemd[1]: Started firewalld - dynamic firewall daemon. jun 03 11:39:02 fausto systemd[1]: Stopping firewalld - dynamic firewall da..... jun 03 11:39:03 fausto systemd[1]: Stopped firewalld - dynamic firewall daemon. Hint: Some lines were ellipsized, use -l to show in full.

5. Connect phone
6. Result

I have tried with different values for Bind IP in server configuration, but I do not know what it is.

Any hint?

Thank you very much for everything.

screenfreeze commented 10 years ago

Hi, I tried to reproduce the Error. I did everything you did and it worked fine. The only defference is I'm using Ubuntu. Looks to me like, the port isn't opend or still blocked by a firewall. Also when you start the "Setup new Device" Dialog on your Laptop, you need to click forward until it says "waiting for connection ...". Another possible problem could be that another program uses port 8082, in that case just change it in your config file. Let me if this helped :)

pabgan commented 10 years ago

Using 18082 port solved it, d'oh! Thanks. I was completely focused on the Bind IP thing, that I still do not know exactly what it is. Could you explain it to me?

I am going to play a bit with this, and in a few days I will write to you an email at help@screenfreeze.net to discuss some ideas, if you do not mind.