Sean, that's @OutsourcedGuru's MAC address...he meant you should run the following on the OctoPi and copy the resulting MAC address:
ifconfig wlan0|grep ether|sed s/ether//|sed s/txque.*$//
Sean, that's @OutsourcedGuru's MAC address...he meant you should run the following on the OctoPi and copy the resulting MAC address:
ifconfig wlan0|grep ether|sed s/ether//|sed s/txque.*$//
All that typing is confusing
I would just type ifconfig and look down the list for where it says wlan0
That'll be your wifi IP and MAC
ifconfig -a, not just ifconfig, and I was just parroting the line, which I assumed would be cut and pasted, not typed out, and works, leaving just whitespace and the MAC address on a line, which does remove other sources of confusion for those less familiar with ifconfig.
@StumpBucket When you see someone like me showing example commands, we often indicate that something is a done in a terminal prompt as your own user by prefixing it with a dollar sign and if you're supposed to be the root user, then it's prefixed by a pound sign.
So...
$ echo Hello from me!
# echo Hello from root!
...would mean that you get into a terminal and run the first command:
echo Hello from me!
... and then you need to be the root user so you would temporarily become that administrator...
sudo sh
echo Hello from root!
exit
So the command before I wanted you to enter was the part after the dollar sign, ignoring my sample output. You want to put your MAC address rather than mine.
I think I'd reasonably expect you to copy/paste in a situation like this. :laugh:
This problem seems very similar to what i am experiencing;
@StumpBucket Does the camera also work for you directly after rebooting the pi and then stops working when starting the first print?
nbasse The cam only worked when the PI was plugged into my mac E-net. As soon as it was on WiFi it wouldn't load. That is what this thread has morphed into, a network trouble shooting Guid for Dummies (ME)
Think I did it correct this time but still no cam. Would it be prudent to start fresh with a new octoprint? If Octoprint is running and dose com with Safari ok some thing may have gone wrong with it during install? New SS to confirm I did right and to see if anything else looks whacky.
Can you do a ping octopi.local
on your Mac and have it return an IP address? If not, then do the advice from earlier as I've copied it here again.
If you can ping octopi.local by name and it can do a name resolution to that correct IP address, then the issue might be that your router is blocking port 8080 on the wifi side of things. (Are you on the Guest wifi network?)
I can ping and I believe it returned the IP like you asked. I have the "Guest Network" Disabled. See Screen Shots.
In the AirPort Network tab it has a choice of three "Router Modes" DHCP and NAT (presently chosen) DHCP or Bridge (off). The NETWORK OPTIONS button has a reference to NAT Port Mapping, thought that may be of interest.
Hope Im helping you figure this out not making it worse. lol
ssh pi@octopi.local
or ssh pi@10.0.1.34
. Correct?http://10.0.1.34
or http://octopi.local
gives you OctoPrint's interface.You put your Settings back to this, right?
If you can't see the camera at all using any URL, then it suggests that the ribbon cable on both ends needs to be checked and re-connected. Make sure that the silver side matches up with the connector's contacts.
Since you seemed to be asking, NAT (Network Address Translation) does the job of translating your internal private IP addresses and mapping them into one or more public IP addresses if you set up port-forwarding, for example. It doesn't affect us at the moment, though.
My gut's telling me that one or both ends of your ribbon cable is flipped over.
I know all of you have been on pins and needles especially OutsourcedGuru. Well everyone can breath a sy of relief knowing my cam is working now. All the suggestions, list of "what we know" and advice were a help. Put new Raspi and cam now working. Best 60 bucks ever spent. May have Buzzed something electronic cause I'm working with one hand only (left not my strong one)
Thanks All
SB
It could be that the location was bad for wi-fi transmission, for what it's worth. Or the power from the wall could be on a different circuit.
I am confounded. Everything I did was move my PIE back to my printer and connected it and now my cam don't work once more. The main distinction is that its never again snared to Ethernet. Presently its on WIFI and it is on cause I can ping it and octoprint loads. I had a go at stacking the two URLs Foosel proposed and no go. I am lost why I can't sign in ssh I get to the secret phrase (the one I changed in the pie Config and signed in with) yet it denies me
@drak15 It sounds like you earlier connected to the Pi over Ethernet rather than wi-fi. You moved the Pi, removing the Ethernet cable and it's now not working (as I understand things).
You might need to put a monitor/keyboard/mouse on the Pi temporarily to troubleshoot this. Once you've done that, log in locally and run an ifconfig
to verify that the wi-fi is binding and you have an IP address for wlan0
.
What setup was used to get the Pi Cam working. I have a Pi NoIR Camera V2 I would like to get working. Thanks
I make it to this part ```
$ raspistill -o first-light.jpg
And this is the error I get
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
Any Ideas?
Apologies. That's an older tutorial that I created. Since Raspbian Stretch, raspistill
stopped working for whatever reason (not related to OctoPrint, really).
Drive on. It will likely work.
"My gut's telling me that one or both ends of your ribbon cable is flipped over."
Yep, that was my issue. Thanks!