I am erasing duet but which firmware can I use?
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
WPA2 Personal and AES encryption
should work, any special characters in the key? how did you add the network; ponterface tends to mess up keys f.ex.
So i may habe to try another one.
if you're not aware, you can also configure the duet to be an access point if that helps you out temporarily. (read the to use as AP notes)
https://duet3d.dozuki.com/Wiki/Gcode#Section_M589_Configure_access_point_parameters -
@bearer said in I am erasing duet but which firmware can I use?:
@jcv1977 said in I am erasing duet but which firmware can I use?:
WiFi reported error: Timed out while trying to connect to MYWIFI
how is the signal strength? (proably need to measure with app on phone).
which type of encryption is in use?
(and its not a vodaphone router is it?)Is the SSID of your access point exactly MYWIFI all in uppercase? SSIDs are case sensitive.
-
wouldn't a wrong ssid result in "no known networks found" and not a timeout?
-
@bearer said in I am erasing duet but which firmware can I use?:
wouldn't a wrong ssid result in "no known networks found" and not a timeout?
Yes, it should.
@jcv1977 , if you send M587 without parameters via USB, what is the response?
-
@bearer No special characters i just kept it easy not to add possible issues. Yes i tried the AP but with another firmware, it just connected but nothing happened i will try it with the current one.
-
@dc42 Its not the ssid i did all my homework after asking here
After M587 i get:MYWIFI IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
Might be a bad wifi module?
-
@bearer Well there is some progress! Using AP mode works fine now and i can finally see the web control page. But it can't seem to connect to my router nor having an ip assigned even if i set at the freaking router a static one.
Using macros or manually (using M587 S"MYWIFI" P"MYPASSWORD" I192.168.1.128 the blue light of the esp8266 gets blue, but i can't ping to that IP and i can't get to web control page nothing is displayed. Also in my router 192.168.1.128 is not shown at all and the duet appears with a fixed ip 192.169.1.9 but it can't be ping at and it is not browseable.
I 've already reset to factory setting the router but i dont understand why that fixed IP is still there?????
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
(using M587 S"...
lets turn on wifi debugging and see if it gives you any more info (doubt it, but worth a try)
send
M111 S1 P14
to the duet beforeM552 S1
you could also perhaps try adding the mac address manually for each IP one at the time?
arp -s 192.168.1.128 b4-e6-2d-52-ff-37 ping 192.168.1.128 arp -d 192.168.1.128
then try
arp -s 192.169.1.9 b4-e6-2d-52-ff-37 ping 192.169.1.9 arp -d 192.169.1.9
-
hang on; is that a typo or the actual address?
192.168.1.128 vs 192.169.1.9if a typo, un-typo my commands above, if not a typo run
route print
on the computer. -
It was a typo, could not delete ips manually. And the debugging returned:
Debugging enabled for modules: WiFi(14) Debugging disabled for modules: Platform(0) Network(1) Webserver(2) GCodes(3) Move(4) Heat(5) DDA(6) Roland(7) Scanner(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13) Display(15) ok ok ok WiFi: mode : sta(b4:e6:2d:52:ff:37) WiFi: add if0 WiFi: wifi evt: 8 WiFi: scandone WiFi: ../src/SocketServer.cpp(353): found network DIRECT-0c-HP M29 LaserJet WiFi: ../src/SocketServer.cpp(353): found network NETGEAR64 WiFi: ../src/SocketServer.cpp(353): found network ATTBCVg3dS WiFi: ../src/SocketServer.cpp(353): found network ATTevrXIVS WiFi: ../src/SocketServer.cpp(353): found network MYWIFI WiFi: ../src/SocketServer.cpp(353): found network 8831B2 WiFi: ../src/SocketServer.cpp(353): found network NY Giants 2.4 WiFi: ../src/SocketServer.cpp(353): found network AC4F3D WiFi: ../src/SocketServer.cpp(353): found network VIZIOCastDisplay0071 WiFi: ../src/SocketServer.cpp(353): found network NETGEAR76 WiFi: ../src/SocketServer.cpp(353): found network NETGEAR50 WiFi: ../src/SocketServer.cpp(353): found network DIRECT-C5-HP OfficeJet 3830 WiFi: ../src/SocketServer.cpp(353): found network Area 51 WiFi: ../src/SocketServer.cpp(353): found network Torresnunez WiFi: ../src/SocketServer.cpp(353): found network Bchehade24 WiFi: ../src/SocketServer.cpp(353): found network NETGEAR78 WiFi: ../src/SocketServer.cpp(353): found network belkin.fac WiFi: ../src/SocketServer.cpp(353): found network belkin.fac.guests WiFi: ../src/SocketServer.cpp(353): found network ARLO_VMB_1570254913 WiFi: sleep enable,type: 2 WiFi: STUB: dhcp_stop WiFi: scandone WiFi: state: 0 -> 2 (b0) WiFi: state: 2 -> 3 (0) WiFi: state: 3 -> 5 (10) WiFi: add 0 WiFi: aid 2 WiFi: cnt WiFi: WiFi: connected with MYWIFI, channel 6 WiFi module is connected to access point MYWIFI, IP address 192.168.0.128 WiFi: ip:192.168.0.128,mask:0.0.0.0,gw:0.0.0.0 WiFi: ip:192.168.0.128,mask:0.0.0.0,gw:0.0.0.0 WiFi: wifi evt: 0 WiFi: wifi evt: 3 WiFi: pm open,type:2 0
It has to be something between the wifi module and the freaking router they just don't like each other.
I changed the ip also to check but still nothing.
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
could not delete ips manually
? permissions or wrong command? might need to run as admin.
@jcv1977 said in I am erasing duet but which firmware can I use?:
And the debugging returned:
thats probably food for @dc42 he knows more about RRF than i do about networks ^^
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
M587 S"MYWIFI" P"MYPASSWORD" I192.168.1.128
it be interesting to see the debug for that without I192.168.1.128 (i.e. let the duet (try to?) obtain the dhcp lease) and while you're at that, do run
route print
from the computer just so we can confirm its all on the up and up. -
@jcv1977 I did run the arp command as admin, and the commands were accepted but the ip was still on the router pool.
This is debbugging result with dhcp i just cut a whole lot of Network scan failed :
Debugging enabled for modules: WiFi(14) Debugging disabled for modules: Platform(0) Network(1) Webserver(2) GCodes(3) Move(4) Heat(5) DDA(6) Roland(7) Scanner(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13) Display(15) ok ok ok WiFi: state: 5 -> 0 (0) WiFi: rm 0 WiFi: pm close 7 WiFi: del if0 WiFi: usl WiFi: mode : null WiFi: wifi evt: 1 WiFi: STA disconnect: 8 WiFi: wifi evt: 8 WiFi module is idle ok WiFi: mode : sta(b4:e6:2d:52:ff:37) WiFi: add if0 WiFi: wifi evt: 8 WiFi: scandone WiFi: ../src/SocketServer.cpp(353): found network DIRECT-0c-HP M29 LaserJet WiFi: ../src/SocketServer.cpp(353): found network ATTevrXIVS WiFi: ../src/SocketServer.cpp(353): found network ATTBCVg3dS WiFi: ../src/SocketServer.cpp(353): found network NETGEAR94 WiFi: ../src/SocketServer.cpp(353): found network MYWIFI WiFi: ../src/SocketServer.cpp(353): found network Area 51 WiFi: ../src/SocketServer.cpp(353): found network NETGEAR76 WiFi: ../src/SocketServer.cpp(353): found network NETGEAR50 WiFi: ../src/SocketServer.cpp(353): found network DIRECT-C5-HP OfficeJet 3830 WiFi: ../src/SocketServer.cpp(353): found network Torresnunez WiFi: ../src/SocketServer.cpp(353): found network VIZIOCastDisplay0071 WiFi: ../src/SocketServer.cpp(353): found network NETGEAR64 WiFi: ../src/SocketServer.cpp(353): found network NETGEAR21 WiFi: ../src/SocketServer.cpp(353): found network NETGEAR78 WiFi: ../src/SocketServer.cpp(353): found network belkin.fac WiFi: ../src/SocketServer.cpp(353): found network belkin.fac.guests WiFi: ../src/SocketServer.cpp(353): found network Internetmine WiFi: ../src/SocketServer.cpp(353): found network ACCA31 WiFi: ../src/SocketServer.cpp(353): found network ARLO_VMB_1570254913 WiFi: ../src/SocketServer.cpp(353): found network ARRIS-FD86 WiFi: ../src/SocketServer.cpp(353): found network 8831B2 WiFi: ../src/SocketServer.cpp(353): found network Bchehade24 WiFi: sleep enable,type: 2 WiFi: scandone WiFi: state: 0 -> 2 (b0) WiFi: state: 2 -> 3 (0) WiFi: state: 3 -> 5 (10) WiFi: add 0 WiFi: aid 2 WiFi: cnt WiFi: WiFi: connected with MYWIFI, channel 6 WiFi: dhcp client start... WiFi: wifi evt: 0 WiFi: pm open,type:2 0 WiFi reported error: Timed out while trying to connect to MYWIFI WiFi module is idle WiFi: state: 5 -> 0 (0) WiFi: rm 0 WiFi: pm close 7 WiFi: del if0 WiFi: usl WiFi: mode : null WiFi: Fatal exception 28(LoadProhibitedCause): WiFi: epc1=0x4000df2f, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000033, depc=0x00000000 WiFi: WiFi: Exception (28): WiFi: epc1=0x4000df2f epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000033 depc=0x00000000 WiFi: WiFi: ctx: sys WiFi: sp: 3ffffc90 end: 3fffffb0 offset: 01a0 WiFi: WiFi: >>>stack>>> WiFi: 3ffffe30: 3ffeface 3fff4d4c 40223f10 40105dd8 WiFi: 3ffffe40: 40216def 00000006 00000005 402298d9 WiFi: 3ffffe50: 00000033 00000010 40217705 3ffee6bc WiFi: 3ffffe60: 3fff4d4c 00000000 3ffe9ff8 3fff516c WiFi: 3ffffe70: 3fff4d4c 4021762d 3ffee6bc 4020b004 WiFi: 3ffffe80: 3ffe9ff8 00000002 00000022 00000000 WiFi: 3ffffe90: 3fff4dce 3fff4ec4 00000000 00000000 WiFi: 3ffffea0: 3ffe9ff8 3ffe9ff8 00000033 4021957b WiFi: 3ffffeb0: 3ffeedc0 40219174 4020b004 3ffeedc0 WiFi: 3ffffec0: 40218cf0 402344e0 3ffee740 00000000 WiFi: 3ffffed0: 00000001 00000001 00000000 00000000 WiFi: 3ffffee0: 402191af 3ffeeeb8 3ffeeeb8 40106df4 WiFi: 3ffffef0: 4021b11c 3ffeeeb8 ffff8000 00000001 WiFi: 3fffff00: 3ffee740 4021b0e0 3ffee6bc 00000002 WiFi: 3fffff10: 40219164 40219138 3ffee740 00000002 WiFi: 3fffff20: 40219103 3ffee6bc 00000002 40106c5e WiFi: 3fffff30: 402196b4 3ffee6bc 3ffee838 4020b004 WiFi: 3fffff40: 402190e1 3ffee838 00000003 3ffee838 WiFi: 3fffff50: 40218e84 3ffeee78 3ffef5a0 f3ecd39c WiFi: 3fffff60: 60000600 0000010f 00000001 00000000 WiFi: 3fffff70: 4022dfa9 3ffef5d4 3ffef5a0 f3ecd39c WiFi: 3fffff80: 4022dfee 3fffdab0 00000000 3fffdcb0 WiFi: 3fffff90: 3ffef5b0 3fffdab0 00000000 00000005 WiFi: 3fffffa0: 40000f49 40000f49 3fffdab0 40000f49 WiFi: <<<stack<<< WiFi module is idle WiFi reported error: no known networks found WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi: ⸮nP|!-1K5⸮К⸮⸮XK!⸮~)Q*!⸮⸮ "pkt⸮E,-⸮@⸮⸮P⸮1%(⸮yh=⸮nzA⸮ )i⸮⸮P1⸮N⸮⸮fP1⸮N⸮R⸮t⸮1Z⸮Q⸮ WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi: epc2:0x00000000 epc3:0x00000000 excvaddr:0x00000033 depc:0x00000000 WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi: mode : sta(b4:e6:2d:52:ff:37) WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi: add if0 WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi: wifi evt: 8 WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle WiFi reported error: network scan failed WiFi module is idle
-
@jcv1977 said in I am erasing duet but which firmware can I use?:
but the ip was still on the router pool.
arp on the computer won't affect the router, just where the computer will send and IP packet; i.e. trying to force the computer to direct the packets to the duets mac address for either address. bit if ping failed then moot point.
would probably need big cheese to evaluate the debug info (or maybe run wireshark if your wifi adapter can do promiscuous mode capture, but few on windows does)
-
@bearer said in I am erasing duet but which firmware can I use?:
@jcv1977 said in I am erasing duet but which firmware can I use?:
but the ip was still on the router pool.
arp on the computer won't affect the router, just where the computer will send and IP packet; i.e. trying to force the computer to direct the packets to the duets mac address for either address. bit if ping failed then moot point.
Great!
would probably need big cheese to evaluate the debug info (or maybe run wireshark if your wifi adapter can do promiscuous mode capture, but few on windows does)
We will wait for him!!!! Thanks Bearer!!!!
-
@dc42 I think i found it! Evidently there is a bug:
https://forum.duet3d.com/topic/15207/duet-wifi-wlan-vs-wpa2-connection-error/8
https://forum.duet3d.com/topic/14993/cannot-connect-duet-wifi-to-new-wifi-router
@bearer You aked me if its a vodafone and its not, but in one of the post it says its an Arris router and mine is Arris too. I gues this freaking router has something that is not compatible. Just for starters i can't turn off dhcp nor update the router's firmware wich is BS. So i guess by now i'll just use it on AP mode until y buy a proper UNIFI Gear.