On Saturday 02 October 2021 01:51:53 John Dammeyer wrote: > I had the Pi4 with LinuxCNC working with the MESA card including even > interfacing to the CANUSB and showing Inputs on the AXIS screen. > > Because the WiFi connection is crappy where my lab bench is I removed > the Ethernet to the MESA and connected to my network. Reset the > Ethernet to be automatically assigned an IP and turned off the Wifi. > > Next, in order to get into the Pi4 I installed samba. After that lots > of drag and drop and working on getting some Lazarus Free Pascal > Software running with both a HAT with the MCP2515 and also the CANUSB. > > With all that done it was time to make it a LinuxCNC module again. I > enabled the WiFi, reconnected the MESA card, set up the Ethernet > default IP to 192.168.1.121 which is what LinuxCNC expects according > to the error messages. But for some reason the MESA won't connect. > Powering it shows the power LED. The 4 LEDs go on in sequence on one > direction and then the other after which only LED #4 stays on. There > are a few blinky LEDs on the Ethernet connector. > > I'm stuck. What's the next step to get this working again? > > Thanks > John
Your first and probably fatal mistake is using samba. Too many windows translations and throwaways in a samba path. I haven't used it in over a decade and life is so much easier now. Here I use ssh -Y user@machinename[:/path] for all that and it just works. For moving files from machine to machine, I created an /sshnet subdir, populated it with the machine names, and mount the lot of them in one swell foop, using this script in my personal bin directory: #!/bin/bash sshfs gene@sixty40:/ /sshnet/sixty40 sshfs gene@GO704:/ /sshnet/GO704 sshfs pi@rpi4:/ /sshnet/rpi4 sshfs gene@TLM:/ /sshnet/TLM sshfs gene@dddprint:/ /sshnet/dddprint edit to suit your situation. The command is the left, the mount point is the right and you can repeat it at any time because sshfs will skip redoing the mount if the mountpoint is not empty. you will need to use the user pw to connect to each of those machines, and if root is needed, you must copy (I use mc for all that) the file to someplace the user has rights to, then switch to the workspace you are also logged into and become root to put or access that file where it needs to go. To me it beats nfs4 as its 100% dependable, much easier to setup, and beats samba senseless. You'll get some stuff about keyfiles (say yes) the first time you do this. You can remove samba/cifs from your systems unless you are addicted to the windows koolaid. I only own one winderz machine, it functions as the Smith Chart display for a redpitaya Vector Network Analizer I use for tuning an AM radio stations tower. Just one of my "other" talents. Might be 100 of us in the whole country. That machine stays in the truck and is not normally part of my home network. Take care John. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
