network problem
-
Hi, I have a question about the network settings of the duet
I have theFirmware Name: RepRapFirmware for Duet 2 WiFi / Ethernet
Firmware Electronics: Duet WiFi 1.02 or later
Firmware Version: 2.01 (RTOS) (2018-07-26b2)
WiFi Server Version: 1.21RC4 (08b3)I put this in config.g
M550 PHevo gideon; Set machine name
M551 P ******; Set password
M552 S1 P192.168.0.35
M553 P255.255.255.0
M554 P192.168.0.1I have only ever put another ip in the beginning, via telnet or usb.
now he does not want to use the ip 192.168.0.35 via the config.g
what I overlook
thank you in advance -
As explained at https://duet3d.dozuki.com/Wiki/Gcode#Section_M552_Set_IP_address_enable_disable_network_interface the P parameter in the M552 command is for boards with an Ethernet interface only. On the Duet WiFi the IP address may need to depend on which network you connect to, so it is included in the m587 parameters.
-
@dc42 said in network problem:
@dc42 thank you for the explanation i'm going to try, would like to have a static ip address on the duet wifi,
try to come out with the explanation from you -
@dc42
I have now put this in config.g but my ip address remains at 192.168.0.50
do I still forget something?
; Network
M550 PHevo gideon; Set machine name
M551 PgIdeonO4; Set password
M552 S1; Enable network
M587 S "gidbeneden" P "0118471596" I192.168.0.35 J192.168.0.1 K255.255.255.0; Configure access point and IP addresses. You can delete this line once connected
M586 P0 S1; Enable HTTP
M586 P1 S1; Enable FTP
M586 P2 S1 -
Hi,
When I need a device to have an unchanging IP address I use a "reservation" in the DHCP server.
In many residential situations the DHCP server is part of the "router" which provides access to your Internet service and provides the WiFi network to your home.
A reservation is simply of way of telling the DHCP server that when a certain device (identified by its hardware MAC address) "asks" for a IP address to always give that device a specific, unchanging address which you get to specify when you setup the reservation.
Frederick
-
@gideon said in network problem:
WiFi Server Version: 1.21RC4 (08b3)
I notice you're using the release candidate of the wifi server firmware. Might be a good idea to update to the full release.
-
@gideon said in network problem:
@dc42
I have now put this in config.g but my ip address remains at 192.168.0.50
do I still forget something?Your M587 line looks OK to me, however M587 doesn't work within config,g. Send that command manually or from a macro file after the printer has started instead.
-
@phaedrux that is not the WiFi server version, he did this with other versions as well
-
@dc42 Okay thanks then we're going to put it in a marco