Note that @DaveedAlvarez said they were on the (by now quite ancient) OctoPi 0.13, which was still using octopi-network.txt. Careful of the version numbers
I am still going to give this a shot when I end up at home today, however I'm not sure this would be the route issue considering I also run a Macbook Pro with OSX that also can't reach - this is getting a "timeout"/"host is down". As well I am able to reach on my windows machine after a reboot.
@MaplePrints Alright then, for the moment ignore the name resolution aspect of this. If it were me, I think I'd put a monitor/keyboard/mouse on the Raspi itself, log in and run an ifconfig to see what's what.
Thank you for the reply, I tried the newer version, 0.15. But that one just doesn't connect to anything at all maybe not compatible with an older Raspberry PI?. Anyways, perhasp I mangled the Suplicant file on my first try to edit it, so I will try to burn and brand new version and start from scratch being more careful.
Two questions:
1.-If I get 0.15 up and running how do I transfer the jobs on my Octoprint version on the older card?
2- About the 0.13, how come it seems to ignore whatever I write on the octopi-network.txt file and just go to the old configuration?
#2. I know that the octopi-wpa-supplicant.txt file includes a pragma which basically says "rewrite the main settings upon bootup if you see this here": update_config=1. Not sure if the older octopi-network.txt supported that. If it did and it's missing or set to zero, then it might dutifully ignore any updates to this file...?
#1. Transfers:
scp: Since I'm on macOS, I routinely use scp to copy things here and there from my Raspis and workstation.
rsync: The command line rsync program is great for pulling entire directories from one computer to another.
You could compress everything into a zip file and then pull it over and unzip it when it lands where it needs to be.
Not that you have it yet, but the latest versions of OctoPrint come with a nice Backup/Restore bundle plugin
If it's useful, I created an upgrade helper if you're handy. In your case, I don't think you should restore using this because you'd then corrupt your changed configuration files and such. The backup portion might be easier than some of the suggestions above. Assuming that you're not a UNIX geek, you might want to go to school on the script itself to see how one might compress/uncompress things.
If you have access to a Linux workstation, you could insert the microSD into an adapter and into this workstation. You could then use this to transfer files, say, to that Desktop and over to the other microSD card. The files are in the second partition's /home/pi/.octoprint/uploads folder.
Likewise, you could boot your own computer with an Ubuntu Live CD/USB and do this from your own workstation (without installing anything to your hard drive).
Honestly, the Raspberry Pi 3B is an awesome platform for running your printer. You might consider investing in a hardware upgrade. This one has four fast cores and does the job well.
I created a step-by-step guide for installing OctoPi if this is helpful at all.
Edit: Basically disregard all this, apparently I could still connect in putty/the ui I just had to refresh.. But I'm going to wait until I'm not able to and then try to ping my router. I'll update you with results when this duplicates again
Hey @OutsourcedGuru - sorry for the delay here, had a pretty busy end to the week.
So I did run an ifconfig after the UI went down / I couldn't connect to putty as I stated before. Looks like everything is working on the pi itself on the network side. I have a IP, and 0 errors.
Any other ideas? Like I said, I'm unfamiliar with pi so I'm not really too sure where to look next, but willing to provide whatever I can.
For ifconfig, you want to make sure that wlan0 adapter includes the RUNNING flag as seen below, that it has a bound IPv4 IP address, the netmask is correct for your network on that same line.
Neither RX nor TX errors should be more than, say, 3 packets.
I also ran a ping to my router, with the result, which is the same result when I ping on my windows machine:
From 192.168.175 icmp_seq1= Destination Host Unreachable
Some additional information:
Remember - when I boot this up I can connect on OSX and Windows, so I'm not sure it is naming. But totally willing to be proven wrong with my lack of experience here.
But this does not disconnect if I connect the pi and leave idle. I left for two days with no result. However - if I start a print it seems to happen within the first 8 hours or so of a continuous print.
I have not tested if this is the case if I do multiple small prints that equal 8 hours or more though.
It's possibly that your router is giving short DHCP leases. If it were me, I think I would read the name resolution link I gave earlier and from that, dedicate an IP address for the Raspi ("Another workaround"). But you'd also need to tell your router to dedicate that IP address.
All this kind of still sounds like it's name resolution. (If after two days the old lease expired, your computers may be confused.)
Following the instructions provided, and this resolved this issue for one night. However, then following night this continued to happen.
As a reminder - I am using both macOSX and windows, the print continues, but the connection via putty, the IP ui in a browser, ping test either way (from the pi to the router or vice versa) are all unsuccessful.
You ping'd the Raspi and then suddenly ssh/PuTTY worked. This puts the Raspi's MAC address in your arp cache, btw. It then makes it easier to resolve its IP address in the DNS client.
You wait 24 hours and then it doesn't. (Did you try ping'ing again?)
If that's what you're seeing then this looks like short-leasing from your DHCP server. Tell your router to dedicate an IP address to your Raspberry and this problem should go away. Having done so, editing the Windows's machine's HOST file with that entry should take away the pain.
Point 1 is incorrect. After a restart pinging works no problem, however once this decided to not connect - pinging does not allow ssh/putty to work. No connection is possible until the pi itself is hard-reset. I can try to dedicate an ip though and see if that helps.