YAT wouldn't respond
-
@monster said in YAT wouldn't respond:
SD card that came with it is inserted ( there I have already sys/ dir with files)
no, put it in the pi
Eithernet plugged into Duet 3
no, put it in the pi
Pi 4 connected to Duet 3
In Pi I have SD card with Octoprint version of Linux
see above.
-
well, you don't need a pi, but if you wanna use it, follow the above.
-
@monster said in YAT wouldn't respond:
Duet 3 connected to Pi 4
Good.
I'm at the moment trying to do what is said on this page:
https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7ALL of that is for Duet 2. Do not use this for Duet 3
More details on what is on and plugged.
Duet 3 powered by laptop
SD card that came with it is inserted ( there I have already sys/ dir with files)Inserted in the Duet? No. Unless you've formatted over it, the card that came with the Duet 3 is to go in the Pi, NOT the Duet. And you don't put /sys/ on this card. That will come later.
Eithernet plugged into Duet 3
This is not correct if you wish to run a Pi.
Pi 4 connected to Duet 3
Good.
In Pi I have SD card with Octoprint version of Linux (I guess that is irrelevant at this moment - I was told not to go for Octoprint anuway)
That will not work at all. Use Duet's image. Either the card you got with the hardware, or start here: https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_DuetPi to build a fresh card.
But I must say whole picture of setup isn't clear. If Duet 3 can do web, why did I need Pi?
Duet 3 can run stand alone, that is without a Pi, in which case the only way to connect to it is via ethernet. It does not do wireless when standalone.
Duet 3 can run with a Pi. In which case the Pi provides Wireless connectivity. And many other things in the future.
Neither I have a slightest idea what eventually should be running on Pi.
The link given above on how to build Duet's image for the Pi.
-
Note that @bearer and I are saying the same thing.
Pi is optional. If you do use it (and I recommend it), follow above instructions.
-
Huh!
Information...Guys, I do want to use Pi. I was more like complaining that big picture of result (what does what) and way to get there isn't very clear
Now while I'm flashing another card with "DuetPi (with GUI)"
I've inserted SD that came with Duet into Pi and I able to see that it did get IP on my router Progressthough that going with browser to that IP address doesn't get me anywhere. Is there a resource "What to do when Web UI is working?"
-
I forgot to mention
My Pi has no monitor for it - I kinda hopping to get things done remotely... -
@monster said in YAT wouldn't respond:
I do want to use Pi
I kinda hopping to get things done remotely...
No problem.
put a file called ssh on the FAT32 partition of the Raspberry Pi image. Justyou can log in with your favourite ssh client (putty if on windows).ssh
, no extension. That enables the ssh server soWhen the image of your choice has been flashed, the Duet 3 can be connected to via the hostname "duet3". It comes preconfigured with mDNS enabled (via avahi), SSH activated and the standard credentials "pi" and "raspberry". To set up WiFi, you can edit "wpa_supplicant.conf" on the SD card (first partition).
if you need wireless network set up, you put another file on the card.
wpa_supplicant.conf
with your country code and wifi details in it, example belowctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=UK network={ ssid="your network name" psk="your network key" }
-
@monster said in YAT wouldn't respond:
card with "DuetPi (with GUI)"
Current status is this:
A - Original Duet card
When this card is in Pi - I got Web UI working (uploaded config.g generated by https://configtool.reprapfirmware.org ), can't yet move any motor.B - Another SD card flashed with "DuetPi (with GUI)" and on top of that put file "ssh" in root, "wpa_supplicant.conf" in root.
When this card is in Pi - no IP address obtained from router...I guess question of this topic is mostly solved - some way to connect is working
Thank you for your help!!!P.S. Do I upload all files that configtool.reprapfirmware.org made to Web UI??? All to root? Or "sys" dir to root? Or?
-
@monster said in YAT wouldn't respond:
hat put file "ssh" in root
The card etched from the image should have a 'boot' partition (B Boot, not R Root). The two files go in that partition, no subdirectories.
@monster said in YAT wouldn't respond:
P.S. Do I upload all files that configtool.reprapfirmware.org made to Web UI??? All to root? Or "sys" dir to root? Or?
DO NOT UNZIP
Just upload the zip file itself via the "system" tab, "upload system files" button. -
@monster said in YAT wouldn't respond:
A - Original Duet card
B - Another SD card flashed with "DuetPi (with GUI)"the simple solution is use card A; although they should be the same; and not need the ssh file (unless you use a vanilla raspbian image). and if card A worked without wpa_supplicant.conf I'm guessing you're not using wifi?
That the motors don't move is probaly down to configuration, as they won't move until homed.
(you can override with
https://duet3d.dozuki.com/Wiki/Gcode#Section_M564_Limit_axes
https://duet3d.dozuki.com/Wiki/Gcode#Section_G92_Set_Position
https://duet3d.dozuki.com/Wiki/Gcode#Section_G0_G1_Move (G0 H2) ) -
@bearer said in YAT wouldn't respond:
@monster said in YAT wouldn't respond:
A - Original Duet card
B - Another SD card flashed with "DuetPi (with GUI)"the simple solution is use card A; although they should be the same; and not need the ssh file (unless you use a vanilla raspbian image). and if card A worked without wpa_supplicant.conf I'm guessing you're not using wifi?
I would like to use WiFi! As this extra eithernet wire is... is an extra wire
That the motors don't move is probaly down to configuration, as they won't move until homed.
(you can override with
https://duet3d.dozuki.com/Wiki/Gcode#Section_M564_Limit_axes
https://duet3d.dozuki.com/Wiki/Gcode#Section_G92_Set_Position
https://duet3d.dozuki.com/Wiki/Gcode#Section_G0_G1_Move (G0 H2) )Yes, when I attempt to use UI to move the motors it says that nothing is homed. And I guess in order to home axis's I'd need to marry end stops with their motors/axis's, right? Last night I was trying to find how - failed
Thank you for links - I'll study them today!
-
@monster said in YAT wouldn't respond:
I would like to use WiFi!
if you can log in using ethernet just run
sudo raspi-config
as it may be simpler than to edit/etc/wpa_supplicant/wpa_supplicant.conf
otherwise you'll just need to put the file on the correct partition, there should be a config.txt file on the correct partition (along with a bunch other files bcm27* and so on) -
@monster said in YAT wouldn't respond:
And I guess in order to home axis's I'd need to marry end stops with their motors/axis's, right?
correct
https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches -
@bearer said in YAT wouldn't respond:
sudo raspi-config
A recall from yesterday.
Yesterday I've tried that - I get from config tool:"Could not communicate with wpa_supplicant"
Tried again now - same result.
Then I used way of pain (AKA vim) to edit
/etc/wpa_supplicant/wpa_supplicant.conf
then rebooted, still no WIFI connection.
Obviously this is about partitions that you referred about. I must admit I'm not fully understand neither linux architecture not filesystem of it. -
@Danal said in YAT wouldn't respond:
@monster said in YAT wouldn't respond:
hat put file "ssh" in root
The card etched from the image should have a 'boot' partition (B Boot, not R Root). The two files go in that partition, no subdirectories.
@monster said in YAT wouldn't respond:
P.S. Do I upload all files that configtool.reprapfirmware.org made to Web UI??? All to root? Or "sys" dir to root? Or?
DO NOT UNZIP
Just upload the zip file itself via the "system" tab, "upload system files" button.Done that! Thank you!
-
@monster said in YAT wouldn't respond:
"Could not communicate with wpa_supplicant"
could be a lacking country code is preventing it bringing up the wifi interface (the country code is there for regulatory approval, no code, no wifi to, avoid using channels outside local regulatory approvals)
-
@monster said in YAT wouldn't respond:
Then I used way of pain (AKA vim) to edit
/etc/wpa_supplicant/wpa_supplicant.confnano
is a bit more user friendly ifvi
is troublesomesuspect the content is either wrong or incomplete.
i'd try the below, then
sudo raspi-config
after rebooting.cat << EOF | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=UK EOF
-
@bearer said in YAT wouldn't respond:
@monster said in YAT wouldn't respond:
"Could not communicate with wpa_supplicant"
could be a lacking country code is preventing it bringing up the wifi interface (the country code is there for regulatory approval, no code, no wifi to, avoid using channels outside local regulatory approvals)
Ahaa
True, my region settings were unchanged.
But still
If i go to config / P4 (Localization Options) / I4 (Change Wifi country) I still get:Could not communicate with wpa_supplicant
-
@bearer said in YAT wouldn't respond:
@monster said in YAT wouldn't respond:
Then I used way of pain (AKA vim) to edit
/etc/wpa_supplicant/wpa_supplicant.confnano
is a bit more user friendly ifvi
is troublesomesuspect the content is either wrong or incomplete.
i'd try the below, then
sudo raspi-config
after rebooting.cat << EOF | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=UK EOF
Manually edited country setting - no changes.
-
hmm, something is amiss; still not sure why there is a difference.
given you have ethernet access you could use something like ngrok to get someone you trust to have a look at it for you. if its still unresolved tomorrow I could take a look (although providing access, and ultimately root access, to random strangers on the internet
isisn't something i'd reccomend)