Forum Software Joyreef app Problem with ethernet module

Problem with ethernet module  [SOLVED]

Here you can relate issues with joy-reef.com.

Moderator: Developers


Post Number:#1 Post Wed Jun 11, 2014 7:15 pm
Posts: 92
Topics: 10
Solve rating: 0
Joined: Sat May 17, 2014 9:03 am
Topics: 10
Age: 43
Gender: None specified
National Flag:
France
Hi

I have a module ENC28J60, i have a led red is on and when i plug a RJ45, green led is on and orange led flashing.

I can PING ip address, but when i use ADVANCED IP SCANNER in local network, there is no port open (80)

How i can check it in the local network ?

Post Number:#2 Post Wed Jun 11, 2014 7:40 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

What code you are trying use?

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#3 Post Thu Jun 12, 2014 1:31 am
Posts: 92
Topics: 10
Solve rating: 0
Joined: Sat May 17, 2014 9:03 am
Topics: 10
Age: 43
Gender: None specified
National Flag:
France
boolean Ethernet_Shield = true; // Altere para "false" caso não tenha um Ethernet Shield conectado ao Arduino.

char *credencial = "aurel71:******"; // Coloque aqui seu usuário e senha cadastrados no www.joy-reef.com. Usuário e senha devem estar separados por dois pontos (:);
                                              // Use apena letras minúsculas.
                                             
byte maxima_tentativa = 3; // Número máximo de tentativas de autenticação.
unsigned long intervalo_tentativa = 15; // Tempo  de espera (em minutos) para novas tentativas.

byte mac[] = {0x00, 0x09, 0xB0, 0x43, 0x00, 0xFF }; // Este MAC deve ser único na sua rede local.
byte ip[] = {192,168,0,200}; // Configure o IP conforme a sua rede local.
IPAddress gateway(192,168,0,254); // Configure o "Gateway" conforme a sua rede local.
IPAddress subnet(255,255,255,0); // Configure a máscara de rede conforme a sua rede local.

EthernetServer server(80);// Coloque aqui o número da porta configurada no seu roteador para redirecionamento.
                          // O número da porta deverá ser obrigatóriamente um destes: 21, 25, 53, 80, 110, 143 ou 443.
                         
unsigned long intervalo = 0;
char *inParse[50];
boolean web_teste = false;
byte tentativa = 0;
boolean web_dosage = false;
unsigned long millis_dosagem = 0;
boolean web_calibracao = false;


-------------------------------- Last edited Thu Jun 12, 2014 5:39 am --------------------------------

I configure the router (NAT) and test with JOYREEF a connection error message.

I tested my router with another server, and it works.

I think the web service is not UP on the Ferduino ??

Post Number:#4 Post Thu Jun 12, 2014 8:20 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

You tried with the example available here?

viewtopic.php?f=8&t=42


You did port forwarding on router?

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#5 Post Thu Jun 12, 2014 7:22 pm
Posts: 92
Topics: 10
Solve rating: 0
Joined: Sat May 17, 2014 9:03 am
Topics: 10
Age: 43
Gender: None specified
National Flag:
France
Hi!

With the code test: on my web browser it work i see the time spent and http://ping.eu/port-chk/ say port 80 open

with the Ferduino code : on my browser don't work and http://ping.eu/port-chk/ say port 80 closed

i have same address ip with all code
~x(

Best regards

Post Number:#6 Post Thu Jun 12, 2014 7:28 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Why you want access the Ferduino directly?

Do you have all configured, so open the joyreef to control the Ferduino.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#7 Post Thu Jun 12, 2014 7:35 pm
Posts: 92
Topics: 10
Solve rating: 0
Joined: Sat May 17, 2014 9:03 am
Topics: 10
Age: 43
Gender: None specified
National Flag:
France
Why you want access the Ferduino directly?


for check it at local lan

i can ping 192.168.0.177 So the module is up

Post Number:#8 Post Thu Jun 12, 2014 7:39 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

You can't control Ferduino with local IP, because haven't web pages stored on Arduino.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#9 Post Thu Jun 12, 2014 7:43 pm
Posts: 92
Topics: 10
Solve rating: 0
Joined: Sat May 17, 2014 9:03 am
Topics: 10
Age: 43
Gender: None specified
National Flag:
France
i think so module is up but server port 21 is not up !

Post Number:#10 Post Thu Jun 12, 2014 7:54 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hãã?

If you have the port 80 configured on code and router, why you want use the port 21 on Joyreef?
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#11 Post Thu Jun 12, 2014 8:04 pm
Posts: 92
Topics: 10
Solve rating: 0
Joined: Sat May 17, 2014 9:03 am
Topics: 10
Age: 43
Gender: None specified
National Flag:
France
I have test with many port but always same in the code and in the Joyreef.
Just for information i am newbies for arduino code but i am à network technicien.
But this not resolve my problem.

Best regards

Post Number:#12 Post Thu Jun 12, 2014 8:08 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

I don't understand your problem.

First you talk about port 80, after about the port 21.


What message of error the Joyreef show for you?
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#13 Post Fri Jun 13, 2014 5:57 pm
Posts: 92
Topics: 10
Solve rating: 0
Joined: Sat May 17, 2014 9:03 am
Topics: 10
Age: 43
Gender: None specified
National Flag:
France
Hi Fernando

On joy-reef I have "connection error"

I did a test with Ferduino on port 21 with my router fowarding on port 21 and the setting of joy-reef on port 21.

and I did the same thing with port 80 and it still does not work.

Post Number:#14 Post Fri Jun 13, 2014 6:22 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Open this website and encode your username and password to base 64.

http://www.base64encode.org/

Use this format: username:password.

Open your browser and put an URL as this:

http://192.168.0.200:21/?cmd=your_usern ... ase_64,0,k

Open the serial monitor to see if the arduino receive some request.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#15 Post Fri Jun 13, 2014 7:44 pm
Posts: 92
Topics: 10
Solve rating: 0
Joined: Sat May 17, 2014 9:03 am
Topics: 10
Age: 43
Gender: None specified
National Flag:
France
Fernando Garcia wrote:


Thank you it allows me to test locally and it works locally.

I tested my router with another web server and my port 80 was open.

My ip gateway is 192.168.0.254 I had changes in ferduino code but it did not work.

I gave ip 192.168.0.1 default gateway in Ferduino and I changed my router (gateway) to this address.

and everything works

thank you for your patience

Thank you again ^:)^

Post Number:#16 Post Fri Jun 13, 2014 9:00 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Glad to hear!
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.




Return to Joyreef app





Who is online

Users viewing this topic: No registered users and 1 guest

cron