@dc42 Thanks for the Help! Got it working how we want it. M552 S2 working like a charm, didn't know about S2.
Latest posts made by lolitsjack
-
RE: Static IP help, and basic access at this point [Solved]
-
RE: Static IP help, and basic access at this point [Solved]
Are you talking about setting the Duet board as the hotspot? Making it broadcast its own network?
I am slightly confused on what access point parameters means for this because to me it sounds like turning the board into an access point.
M588 S"* "
ok<LF>
M589 S"test1" P"12345678" I192.168.42.14
ok<LF>
M552 S0
ok<LF>
M552 S1
ok<LF>WiFi reported error: no known networks found<LF>WiFi module is idle<LF> ((( I know this is displayed because of M588 S"*" )))
M589 S1
M589: Bad or missing parameter<LF>ok<LF> -
RE: Static IP help, and basic access at this point [Solved]
What we are trying to do is make it as easy as possible, such as auto connecting, to a tablet. But right now we have to open console though YAT, send M552 S1 to have it connect and display its IP address that it is connected to the tablet with, open the web browser in the tablet and connect to that given IP address, which currently changes every time.
My idea was to manually assign the Duet board an IP with the command M587 S"duetwifi" P"" I192.168.1.14 J192.168.1.1 K255.255.255.0 or just M587 S"duetwifi" P"" I192.168.1.14 and then find a way to make the hotspot host always be 192.168.1.## for all IPs that connect to it. We could then make a bookmark or the homepage for the tablet 192.168.1.14 so every time you turned to board and tablet on it was all connected and ready to go.
However this is proving very difficult. \o/
-
RE: Static IP help, and basic access at this point [Solved]
It seems difficult to find. To add even more to the problem, we are trying to pair it to an android tablet. Trying to find an App that makes a hotspot that allows you to configure the IPs manually.
-
RE: Static IP help, and basic access at this point [Solved]
Re flashed the firmware, back to what is was, IP is now 192.168.137.171 of the board, after a restart of everything. After sending the command in console M587 S"duetswifi" P"12345678" to connect to the laptop hotspot, it gives us that IP address (192.168.137.171). The board's IP was 192.168.43.136 before. That tells me that the laptop changed itself from 192.168.43.1 to 192.168.137.1 for the hotspot.
Question: This means I can not add on a static IP to the command such as --M587 S"duetswifi" P"12345678" I192.168.43.14 -- because part 3 of the IP address is dynamic for the hotspot. So unless I can make the hotspot fully static this is a waist of time?
-
Static IP help, and basic access at this point [Solved]
I have been following the steps from https://forum.duet3d.com/topic/4532/static-ip-solved
It can connect to a windows laptop hotspot, and a tablet as well. However windows says 0 devices are connected. Blue LED indicator on the board is solid blue on, meaning connected. Once the hotspot on windows is turned off, the LED blinks meaning connection lost/trying to find one, so it was connected even though windows says its not.
The IP address before this was dynamic, and we had to turn the WIFI on an off via commands M552 S0 and M552 S1 in console to have it tell us the current IP.
My setnetwork file is :
M552 S0 ;stop wifi
G4 P1000 ;pause
M587 S"duetswifi" P"12345678" I192.168.0.14 J192.168.0.1 K255.255.255.0 ;add my network and IP address,gateway,netmaskUsing M552 S0, M552 S1 in console now says the IP is 192.168.0.14, but we can not access it, page can not be displayed. https://imgur.com/a/iB0Z9By
It would give us a random IP before each time it was turned on/off and that IP did work, but now the new static IP is not.