more G-Labs products

Author Topic: Network: no access  (Read 5321 times)

October 25, 2015, 06:37:22 AM
Read 5321 times

gryse

  • *
  • Information
  • Newbie
  • Posts: 14
Hi,
I've installed HG on a Rpi on which there is another soft, so I've made a manual installation.
I can access with localhost (via VNC) but not through my network...
But, I have access to my other soft.
Any idea?
Thanks
gryse

October 25, 2015, 10:57:45 AM
Reply #1

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Hi,

Command line :
Code: [Select]
netstat -lpermit to see which port and address and listen, like :
Code: [Select]
root@raspberrypi:/home/pi# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:8080                  *:*                     LISTEN
the IP address and port, you try to reach on network appear in your netstat ?

October 25, 2015, 11:05:43 AM
Reply #2

gryse

  • *
  • Information
  • Newbie
  • Posts: 14
Hi Nolio,

Thank you for your interest!
I can find the good IP address but not the good port...

Can you help me??

Gryse

October 25, 2015, 11:10:16 AM
Reply #3

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Can you send the result of your :
Code: [Select]
netstat -lplease ?

And port you use in local access ?
« Last Edit: October 25, 2015, 11:12:03 AM by nolio »

October 25, 2015, 11:17:26 AM
Reply #4

gryse

  • *
  • Information
  • Newbie
  • Posts: 14
Attached
The port I use is 8080.

Thank you
« Last Edit: October 25, 2015, 11:30:57 AM by gryse »

October 25, 2015, 11:34:39 AM
Reply #5

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Ok that's seems good.
So very weird  :-\

What did you try to do ?

October 25, 2015, 11:44:30 AM
Reply #6

gryse

  • *
  • Information
  • Newbie
  • Posts: 14
Bad news...
I'm trying to access to HG from network.
In fact, the first time I installed HG (manual), I've followed a tutorial found on internet, all was working.
After this, my SD card was flashing and I have to reinstall my own program and HG. I didn't find the tutorial and follow the explanations of HG internet site.
And then, no access with port 8080.

In the result of netstat -l I didn't see the port 8080. Is it normal?
What can you advise me?

Thank you

October 25, 2015, 12:03:10 PM
Reply #7

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Did you install via "deb" file ?
like explain here :
http://www.homegenie.it/download.php
in part "Ubuntu, Raspbian and others Debian Linux".

With this method the install is very simple ...

October 25, 2015, 12:06:32 PM
Reply #8

gryse

  • *
  • Information
  • Newbie
  • Posts: 14
Yes, that's what I do...
Very simple, as you wrote, but it doesn't work...

October 25, 2015, 01:13:51 PM
Reply #9

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
Try tu run homegenie in command line and take a look at the log...
Code: [Select]
mono /usr/local/bin/homegenie/Homegenie.exe--->>>
Code: [Select]
mono /usr/local/bin/homegenie/HomeGenie.exe
Perhaps port 80 instead 8080...
« Last Edit: October 25, 2015, 08:09:45 PM by nolio »

October 25, 2015, 02:02:05 PM
Reply #10

gryse

  • *
  • Information
  • Newbie
  • Posts: 14
Code: [Select]
Cannot open assembly '/usr/local/bin/homegenie/Homegenie.exe': Aucun fichier ou dossier de ce type
while this file exists...
The log seems to be OK: IP address and port are OK.

October 26, 2015, 12:03:57 PM
Reply #11

gryse

  • *
  • Information
  • Newbie
  • Posts: 14

October 26, 2015, 03:58:38 PM
Reply #12

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
If you can access HG on the local machine but not on the local network, my guess would be a firewall or the router.  I had an issue with access from outside my local network due to my network's configuration (windows firewall, router, DSL modem).  I fixed the firewall and router so I could access locally, but could not get in from outside.  Turns out there was a setting on the DSL modem that needed adjusting too.

October 26, 2015, 07:32:57 PM
Reply #13

gryse

  • *
  • Information
  • Newbie
  • Posts: 14
@bkenobi
Thank you for your proposal but...
As I wrote, before this last installation, all was working, without no changes in my configuration.
Another suggestion?

October 26, 2015, 07:37:02 PM
Reply #14

gryse

  • *
  • Information
  • Newbie
  • Posts: 14
another information: when I log by VNC to Rpi, the connection is very slow and the processor usage is near 100% when I click on the menu...
Is it normal?