Welcome! Log In Create A New Profile

Advanced

connect web interface problem

Posted by clausgudum 
connect web interface problem
June 22, 2015 08:50AM
Hello....again

Im having trouble connecting throug the web interface. im following these steps (bottom): [reprappro.com]

But for some reason i cant get a connection, when typing [192.168.1.76] in Chrome. I get the message: ERR_CONNECTION_TIMED_OUT

I attached my config.g file here.

Any help is much appreciated
Attachments:
open | download - config.g (2.3 KB)
Re: connect web interface problem
June 22, 2015 09:01AM
The first 3 numbers in the IP address (i.e. 192, 168 and 1) must be the same as the IP address of your PC. The net "192.168.1" is a common subnet for home networks, but there are other common addresses also (in particular "192.168.0") and your network may require a different first 3 digits. To find the IP address of your PC (and hence the correct first 3 numbers) you can type "ipconfig" in a command (DOS) window. The last (4th) number must be different to your PC and any other device on your network. To test connectivity, open a command (DOS) window and enter "ping 192.168.1.76" (or whatever IP address you have in your config file). If you do not get any ping replies, the connection is not working. If you get ping replies but the web interface will not connect, the most likely reason is that the IP address you have chosen is already assigned to another device on your network - try changing the last digit and try again.

Dave

Edited 1 time(s). Last edit at 06/22/2015 09:03AM by dmould.
Re: connect web interface problem
June 22, 2015 09:32AM
Quote
dmould
The first 3 numbers in the IP address (i.e. 192, 168 and 1) must be the same as the IP address of your PC. The net "192.168.1" is a common subnet for home networks, but there are other common addresses also (in particular "192.168.0") and your network may require a different first 3 digits. To find the IP address of your PC (and hence the correct first 3 numbers) you can type "ipconfig" in a command (DOS) window. The last (4th) number must be different to your PC and any other device on your network. To test connectivity, open a command (DOS) window and enter "ping 192.168.1.76" (or whatever IP address you have in your config file). If you do not get any ping replies, the connection is not working. If you get ping replies but the web interface will not connect, the most likely reason is that the IP address you have chosen is already assigned to another device on your network - try changing the last digit and try again.

Dave

Also note that the Default gateway needs to be the address of your Router!!

Doug

(Sorry Dave assume you missed that bit in an otherwise excellent piece of advice, or maybe it doesn't matter)

Also if your home network is enabled for DHCP you can set the IP address to 0.0.0.0 and it will pick it up itself and hopefully you can connect using the Printer Name.
Re: connect web interface problem
June 22, 2015 10:33AM
Quote
dougal1957
Quote
dmould
The first 3 numbers in the IP address (i.e. 192, 168 and 1) must be the same as the IP address of your PC. The net "192.168.1" is a common subnet for home networks, but there are other common addresses also (in particular "192.168.0") and your network may require a different first 3 digits. To find the IP address of your PC (and hence the correct first 3 numbers) you can type "ipconfig" in a command (DOS) window. The last (4th) number must be different to your PC and any other device on your network. To test connectivity, open a command (DOS) window and enter "ping 192.168.1.76" (or whatever IP address you have in your config file). If you do not get any ping replies, the connection is not working. If you get ping replies but the web interface will not connect, the most likely reason is that the IP address you have chosen is already assigned to another device on your network - try changing the last digit and try again.

Dave

Also note that the Default gateway needs to be the address of your Router!!

Doug

(Sorry Dave assume you missed that bit in an otherwise excellent piece of advice, or maybe it doesn't matter)

Also if your home network is enabled for DHCP you can set the IP address to 0.0.0.0 and it will pick it up itself and hopefully you can connect using the Printer Name.

For connecting by name what do you type into the address bar?
Re: connect web interface problem
June 22, 2015 10:39AM
Quote
shadow651
Quote
dougal1957
Quote
dmould
The first 3 numbers in the IP address (i.e. 192, 168 and 1) must be the same as the IP address of your PC. The net "192.168.1" is a common subnet for home networks, but there are other common addresses also (in particular "192.168.0") and your network may require a different first 3 digits. To find the IP address of your PC (and hence the correct first 3 numbers) you can type "ipconfig" in a command (DOS) window. The last (4th) number must be different to your PC and any other device on your network. To test connectivity, open a command (DOS) window and enter "ping 192.168.1.76" (or whatever IP address you have in your config file). If you do not get any ping replies, the connection is not working. If you get ping replies but the web interface will not connect, the most likely reason is that the IP address you have chosen is already assigned to another device on your network - try changing the last digit and try again.

Dave

Also note that the Default gateway needs to be the address of your Router!!

Doug

(Sorry Dave assume you missed that bit in an otherwise excellent piece of advice, or maybe it doesn't matter)

Also if your home network is enabled for DHCP you can set the IP address to 0.0.0.0 and it will pick it up itself and hopefully you can connect using the Printer Name.

For connecting by name what do you type into the address bar?


It would be http://"your printer name from your Config.g" so for example his would be [my] reprappro Ormerod I have missed the 2 of as I believe that takes it above the allowable length

Not even sure if spaces are allowed?

Doug

Edited 1 time(s). Last edit at 06/22/2015 10:40AM by dougal1957.
Re: connect web interface problem
June 22, 2015 11:06AM
Hi clausgudum,

run cmd (Dos prompt) and inside the black window netstat -r
the printer can be configured according to the gateway and your lan
the rest has already been explained.

Regards
Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: connect web interface problem
June 22, 2015 11:12AM
Quote
dougal1957
Also note that the Default gateway needs to be the address of your Router!!

It should work without a gateway address (unless the PC is on a different network). The web interface no longer needs to fetch any data via the Internet, so the Ormerod should not need to contact anything outside the local network.

It is however best to fill in the correct address.

Dave
Re: connect web interface problem
June 23, 2015 03:33PM
Hi guys. Wow you are so helpfull. Im sorry that I dont quite undertand all of it.....

First off, would you be so kind to look at the jpg file, that shows how my ipconfig looks and tell me if Im right when I understand that:
ipadress is 192.168.1.14
subnetmask is 255.255.255.0
Default gateway 192.168.1.1

When i look at my config.g file it should look like this ( i copy it here whith line numbers):


1; Configuration file for RepRap Ormerod 2
2; RepRapPro Ltd
3; Copy this file to config.g if you have an Ormerod 2
4; If you are updating a config.g that you already have you
5; may wish to go through it and this file checking what you
6; want to keep from your old file.
7;
8; For G-code definitions, see [reprap.org]; M111 S0
9; Debug off M550 PMy RepRapPro Ormerod 2
10; Machine name (can be anything you like). With DHCP enabled connect to (example) [reprapproormerod2] (Clausraptor). M551 Preprap
11; Machine password (currently not used) M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED
12; MAC Address
13;M552 P192.168.1.24
14; Un-comment for DHCP M552P192.168.1.24
15; IP address, comment for DHCPM553 P255.255.255.0
16; NetmaskM554 P192.168.1.1
17; Gateway, comment for DHCPM555 P2
18; Set output to look like MarlinG21
19; Work in millimetresG90
20; Send absolute corrdinates...M83
21; ...but relative extruder movesM906 X800 Y1000 Z800 E800
22; Set motor currents (mA);M305 P0 R4700
23; Set the heated bed thermistor series resistor to 4K7;M305 P1 R4700
24; Set the hot end thermistor series resistor to 4K7M569 P0 S0
25; Set X axis directionM92 E420
26; Set extruder steps per mmM558 P2
27; Use a modulated Z probeG31 Z0.8 P600

What i have understand i have edited these edited line number so they look like this:
13;M552 P192.168.1.24 I AD 10 TO THE FOURTH NUMBER, WHITCH IS MY IP ADRESS, I HAVE TRIED OTHERS AS WELL
14; Un-comment for DHCP M552P192.168.1.24 DONT QUITE KNOW IF THIS ONE COUNTS, WHAT DOES UNCOMMENT FOR DHCP MEANS????
15; IP address, comment for DHCPM553 P255.255.255.0
16; NetmaskM554 P192.168.1.1 THIS IS MY DEFUALT GATEWAY?!??

What im i missing, because it does not work!!!
Very anoying....
Attachments:
open | download - ipadresse.pdf (37.8 KB)
Re: connect web interface problem
June 23, 2015 03:52PM
Instead of copying your config.g file into the text, can you attach it? That way we will be able to see exactly what is in there.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: connect web interface problem
June 23, 2015 04:02PM
Sure thing. I have attached here.
Attachments:
open | download - config.g (2.3 KB)
Re: connect web interface problem
June 23, 2015 04:15PM
Hi clausgudum,

try this:

M552 P192.168.1.253
M553 P255.255.255.0
M554 P192.168.1.1

Open 192.168.1.253 in your browser

Regards
Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: connect web interface problem
June 23, 2015 04:45PM
Like this, see attached.....

Its not working. sorry
Attachments:
open | download - config.g (2.3 KB)
Re: connect web interface problem
June 23, 2015 05:04PM
Please upload again your config.g
downloading your file I got:
The requested file (id 57089) was not found.



your previous wrong config.g
M552 P192.168.1.24
M553 P255.255.255.0
M554 P192.168.1.14

192.168.1.14 its your pc and not a gateway

Thanks
Dario

Edited 2 time(s). Last edit at 06/23/2015 05:17PM by Ormerod187.


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: connect web interface problem
June 23, 2015 05:11PM
The gateway address in your config.g file is wrong, but that shouldn't matter.

How do you have your Duet connected to the network: is it connected directly to your router?



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: connect web interface problem
June 23, 2015 05:20PM
Here is the config.g file again.

I connect it directly to my PC, and then my PC uses the wifi.
Attachments:
open | download - config.g (2.3 KB)
Re: connect web interface problem
June 23, 2015 05:25PM
connect the printer to the router!
Windows can not use the two links wifi+cable by default

to banish cables you need a WiFi Ethernet Adapter or a Powerline Adapter

Dario

Edited 1 time(s). Last edit at 06/23/2015 06:59PM by Ormerod187.


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: connect web interface problem
June 24, 2015 01:42AM
YEEESSSS, its working. that was simple and yet so hard to figure out.

Thank you for your help. couldnt do it with out your help.
Re: connect web interface problem
June 24, 2015 02:45AM
If you want to connect the printer to the Ethernet port on the PC then you need to bridge the network connections in Windows.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: connect web interface problem
June 24, 2015 03:08AM
yes bridge and routing its possible but It is not very comfortable detaching wifi and or lan cable.


Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Sorry, only registered users may post in this forum.

Click here to login