Tutorial - running Duet Wifi 2 in Access Point Mode ?
-
Sorry about that. I neglected to include the S in my post above. Syntax would be M558 S"*"
-
If you know the exact name of the wifi network that needs to be removed, try using the full name.
-
@phaedrux said in Tutorial - running Duet Wifi 2 in Access Point Mode ?:
If you know the exact name of the wifi network that needs to be removed, try using the full name.
Ive already tried that 10x
-
@sputnikoc3d said in Tutorial - running Duet Wifi 2 in Access Point Mode ?:
@phaedrux said in Tutorial - running Duet Wifi 2 in Access Point Mode ?:
If you know the exact name of the wifi network that needs to be removed, try using the full name.
Ive already tried that 10x
-
No Joy - it doesnt load as a visible Wifi Access point that any of my devices can see ... WiFi LED is dead .... just a milliecond flash then dark on boot/reboots.
It only want that damn eprom embedded wifi router .... friggen annoying
-
set it back to the router with no current net access .... and it reboots and connects to it just fine - it doesnt work ... but it connects to it ....
So the netowrking connectivity to the non functioning network - is embedded on the board and I cant flush it out via the M588 "ANYTHING" command ... other options besides M588 ?
-
I dunno... even with other networks remembered it should still be possible to add a new network and connect to it. Do you have another phone to test with?
-
well thanks for trying ....
hoping some one else stumbles into this thread with a solution I guess
-
trying to post but stupid akismet is spam blocking me from posting in my own thread ....
Ridiculous ...
-
Ive now tried this as well - M552 S0 and then restarting it ... Nothing seems to flush this things infernal memory.
M552 S0 ; Disable network
G4 1000 ; Pause Machine for 1000 milliseconds
M552 S1 ; Enable network
M588 S"EC24EA" ; Flush all known networks
M588 S"EC24F0" ; Flush all known networks
M588 S"*" ; Flush all known networks
M587 S"SM-N920PC3B" P"Ninya1" ; Configure access point. Connect to Android Phone Hotspot
;M587 S"EC24EA" P"Ninya" ; Configure access point. Connect to Cox Wifi at 2.4Ghz
;M589 S"DuetWiFi" P"9662" I192.168.1.101 ; Access Point Mode
;M587 S"SMA iPad" P"Ninya2" ; Configure access point. Connect to Apple iPad Phone Hotspotit still keeps connecting to SSID EC24EA if it is broadcasting/powered on and when it isnt - it just fails and does nothing
-
Hi,
I'm confused.
To connect the Duet to a "hotspot" you need to use "client" mode (M552 S1).
In this mode you use M587 and M588 to maintain the list of access point SSIDs you wish to connect to.
To allow a client device to connect directly to your Duet you need to use "access point" mode (M552 S2).
In this mode you use M589 to configure the Duet as an access point".
Which are you trying to do?
Frederick
-
@fcwilt he's been trying both.
-
thank you for your reply. Neither mode - client not access point is working for me. Its stuck in client mode and connecting ONLY to a network that is non functioning [ other than it broadcasting an SSID and taking connections its dns is not functioning ] ... Im trying to get this duet board to operate in either Access Point Mode or ... connect to my phones Hotspot - it refuses to do either
-
Can you confirm which firmware and wifi server you're running?
-
cant get it loaded to tell you - but 1.21 main firmware - wifi module - nto sure let me look at my latest download files
-
Correction - Im on duet FW 2.0 iirc as it has the RTOS functionality and wifi server 1.21 - specifically what rev of wifi Im not exactly sure - the android app tells me 1.21
-
@sputnikoc3d said in Tutorial - running Duet Wifi 2 in Access Point Mode ?:
thank you for your reply. Neither mode - client not access point is working for me. Its stuck in client mode and connecting ONLY to a network that is non functioning [ other than it broadcasting an SSID and taking connections its dns is not functioning ] ... Im trying to get this duet board to operate in either Access Point Mode or ... connect to my phones Hotspot - it refuses to do either
In your last example you used M552 S1 before configuring the list of SSIDs. I think you would need to have M552 S1 after the list is correct.
Try this:
M552 S0
M558 S"*"
M557 S"desired_ssid" P"ssid_password"
M552 S1That has always worked for me when setting a Duet as a WiFi client.
Frederick
-
ok gret - TY - gunna give this a whirl ... more to follow
-
@fcwilt said in Tutorial - running Duet Wifi 2 in Access Point Mode ?:
@sputnikoc3d said in Tutorial - running Duet Wifi 2 in Access Point Mode ?:
thank you for your reply. Neither mode - client not access point is working for me. Its stuck in client mode and connecting ONLY to a network that is non functioning [ other than it broadcasting an SSID and taking connections its dns is not functioning ] ... Im trying to get this duet board to operate in either Access Point Mode or ... connect to my phones Hotspot - it refuses to do either
In your last example you used M552 S1 before configuring the list of SSIDs. I think you would need to have M552 S1 after the list is correct.
Try this:
M552 S0
M558 S"*"
M557 S"desired_ssid" P"ssid_password"
M552 S1That has always worked for me when setting a Duet as a WiFi client.
Frederick
tried this variant - still connecting to the old network [ im leaving it on only because it lets me know the wifi module on the board is doing "something" - otherwise the led just flashes and never blinks and then goes dark and stays that way ]
;---------------------------
; Network
;---------------------------
M550 PZaribo220 ; Set machine name
M551 Pmehs ; Set password
M552 S0 ; Disable network
G4 1000 ; Pause Machine for 1000 milliseconds
M588 S"EC24EA" ; Flush all known networks
M588 S"EC24F0" ; Flush all known networks
;M589 S"DuetWiFi" P"whatevr" I192.168.1.101 ; AccessPointMode
;M587 S"EC24EA" P"nope" ; Configure access point. Connect to Cox Wifi at 2.4Ghz
M587 S"SM-N920PC3B" P"nope2" ; Configure access point. Connect to Android Phone Hotspot
;M587 S"SMA iPad" P"nope" ; Configure access point. Connect to Apple iPad Phone Hotspot
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet -
You may want to try upgrading your firmware and wifi server to the 2.02 release. I think there was a fix for something for the access point mode. Check the release notes.
You should be able to put the bin files on the SD card and add the update command to the config.g. but it really would be easier if you could get a console up.