Jump to content
Ultimaker Community of 3D Printing Experts
a2hill

Camera and Ethernet LAN Support

Recommended Posts

Just picked up an UM3 today, currently running my first print and wanted to watch the video of the print. After checking out Daid's post on remote access I found the camera stream URL (http://xxx.xxx.x.xxx:8080/?action=stream) however I get an 'Error Connection Refused' from my browser when I try to access it. [br][/br]

[br][/br]

After a quick nmap I can see that port 8080 is not open (only port 80 is). I also tried connecting using an ethernet cord however the amber light on the ethernet port just intermittently flashes and the settings menu says disconnected. [br][/br]

[br][/br]

I am on firmware 3.4.12.20161017, any advice?

Share this post


Link to post
Share on other sites

I was able to get the ethernet lan connected after disabling wifi. Thanks! [br]

[br]

I've enabled developer mode and did a port scan and now see that port 22 is open for ssh (does anyone know what the username and password are?), however I'm still not seeing a port open 8080 for the camera stream.

Share this post


Link to post
Share on other sites

I updated to the 'Testing' firmware with the same results. I've since switched back and the only ports I see open are 80 and 22. After reading today's remote access post and seeing that network settings are different when the printer is in hotspot mode I also tried that to no avail. Can I get ssh credentials so I can look at some logs?

Share this post


Link to post
Share on other sites

It looks like v4L2 is failing to load. From the USB logs:[/br]

[/br]

Full logs: http://pastebin.com/7bKFkbrN[/br]

[/br]

 

Hostnamenotset systemd[1]: Starting mjpg-streamer, Webcam streaming for all...Hostnamenotset systemd[1]: Started mjpg-streamer, Webcam streaming for all.Hostnamenotset systemd[1]: Starting Login Service...Hostnamenotset mjpg-streamer[167]: MJPG-streamer [167]: starting applicationHostnamenotset mjpg-streamer[167]: MJPG-streamer [167]: MJPG Streamer Version.: 2.0Hostnamenotset mjpg-streamer[167]: MJPG Streamer Version.: 2.0Hostnamenotset systemd[1]: Started getty on tty2-tty6 if dbus and logind are not available.Hostnamenotset systemd[1]: Starting Griffin camera service...Hostnamenotset mjpg-streamer[167]: MJPG-streamer [167]: Using V4L2 device.: /dev/video0Hostnamenotset mjpg-streamer[167]: MJPG-streamer [167]: Desired Resolution: 800 x 600Hostnamenotset mjpg-streamer[167]: MJPG-streamer [167]: Frames Per Second.: not limitedHostnamenotset mjpg-streamer[167]: MJPG-streamer [167]: Format............: JPEGHostnamenotset mjpg-streamer[167]: MJPG-streamer [167]: TV-Norm...........: DEFAULTHostnamenotset mjpg-streamer[167]: MJPG-streamer [167]: init_VideoIn failedHostnamenotset net.agent[171]: ERROR: /sbin/ifup not found. You need to install the ifupdown package.Hostnamenotset mjpg-streamer[167]: i: Using V4L2 device.: /dev/video0Hostnamenotset mjpg-streamer[167]: i: Desired Resolution: 800 x 600Hostnamenotset mjpg-streamer[167]: i: Frames Per Second.: not limitedHostnamenotset mjpg-streamer[167]: i: Format............: JPEGHostnamenotset mjpg-streamer[167]: i: TV-Norm...........: DEFAULTHostnamenotset mjpg-streamer[167]: ERROR opening V4L interface: No such file or directoryHostnamenotset mjpg-streamer[167]: Init v4L2 failed !! exit fatalHostnamenotset mjpg-streamer[167]: i: init_VideoIn failed

 

Sure enough when I run an ls /dev/video0:

 

root@ultimakersystem-ccbdd300023e:~# ls /dev/video0ls: cannot access /dev/video0: No such file or directory

 

Edited by Guest
Forgot some stuff

Share this post


Link to post
Share on other sites

Developer mode is NOT required for the camera stream.

The camera API isn't finalized yet, so that why I didn't list it yet. But you should be able to access the stream trough the listed URL until then.

What is most likely the problem, your camera isn't working. Maybe it unplugged itself during transport, maybe the cable itself was faulty to begin with? Not all beta machines went trough the same QC process. And thus a faulty camera could just be the case.

  • Like 1

Share this post


Link to post
Share on other sites

Developer mode is NOT required for the camera stream.

The camera API isn't finalized yet, so that why I didn't list it yet. But you should be able to access the stream trough the listed URL until then.

What is most likely the problem, your camera isn't working. Maybe it unplugged itself during transport, maybe the cable itself was faulty to begin with? Not all beta machines went trough the same QC process. And thus a faulty camera could just be the case.

 

Good to know, thanks. Just a note though, this is not a beta machine it was purchased last week through MatterHackers in Orange County. I guess I'll be contacting them for support.

Share this post


Link to post
Share on other sites

Be sure to mention the serial number to them, we are currently tracking all production quality issues and want to know how/when they are produced.

(Odd that you have one, everyone in the office is telling me shipping happens in November...)

Share this post


Link to post
Share on other sites

Be sure to mention the serial number to them, we are currently tracking all production quality issues and want to know how/when they are produced.

(Odd that you have one, everyone in the office is telling me shipping happens in November...)

 

Not so odd, I just got my Ultimaker 3 today I ordered it from Dynamism a couple of days ago.  Hopefully I didn't didn't a beta unit :p

Share this post


Link to post
Share on other sites

The camera capture worked very easily per the instructions in this post!

I used the Free version of Debut(link)to capture video at a very high quality and now can remote in from anywhere.

Then connect to a network stream by entering your IP without a username and password:

http://xx.xx.xx.xx:8080/?action=stream

I have my printer set in developer mode as well. Not sure if this is required but it allowed us to connect.

Share this post


Link to post
Share on other sites

Hi, I'm not able to configure the UM3 camera like a standard IP camera (Foscam). I'm using a chrome extension to display my Foscam cameras but UM3 is only available as a web page ?

 

It's a pretty standard MJPG stream, I'm pretty sure just about anything can view it. (A browser is just simple)

Share this post


Link to post
Share on other sites

 

Hi, I'm not able to configure the UM3 camera like a standard IP camera (Foscam). I'm using a chrome extension to display my Foscam cameras but UM3 is only available as a web page ?

 

It's a pretty standard MJPG stream, I'm pretty sure just about anything can view it. (A browser is just simple)

 

Yes, http browser can read it. There is no "rtsp" ?

Share this post


Link to post
Share on other sites

Yes, http browser can read it. There is no "rtsp" ?

 

We are using mjpg-streamer, which does as an rtsp output option. However, we haven't tested or enabled this.

If you are feeling experimental, you can enter developer mode, and edit the "/etc/systemd/system/mjpg-streamer.service" file, and add:

 

-o "output_rtsp.so"

 

To the startup, that might cause rtsp to work.

However, a quick google shows that this work on implementing rtsp might not be completed and thus it might not work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!