Author: Survive-Pi

OrangePi Plus OctoPrint and 3D Printer

[Copy link]

2

threads

34

posts

420

credits

Intermediate member

Rank: 3Rank: 3

credits
420
Published in 2015-10-29 06:10:39 | Show all floors
Survive-Pi replied at 2015-10-28 13:45
orangepi@OrangePI:~$ sudo modprobe gc2035
sudo: unable to resolve host OrangePI
[sudo] password for  ...

To quickly solve this annoying thing:
  1. sudo: unable to resolve host OrangePI
Copy code
do the
  1. sudo nano /etc/hosts
Copy code
and find line
  1. 127.0.0.1       localhost
Copy code
make it look like this:
  1. 127.0.0.1       localhost OrangePI
Copy code
Hit Ctrl+X, Y.

Other thing, the module problem:

it's not vfe_v412, it's vfe_v4l2 there's small L, not 1 (one):-D That probably stands for "Virtual Frame Buffer _ Video 4(for) Linux v2.Kernel Object" :-)

  1. modprobe: FATAL: Module vfe_v412 not found.
Copy code
means there is no driver for the ribbon camera in your kernel/system. Did you run loboris's update_kernel.sh script btw?.. Looks like you didn't.
Try to do the
  1. uname -r
Copy code
if the output contains "-lobo" – you did. If not – do this:
go here https://mega.nz/#F!wh8l2BjK!OBep3nMldBletvNNwkH2Jg download file update_kernel.sh, put it on your orangepi somehow (like dropbox+wget or just FileZilla will do it). Then, given you've put it into your ~ directory, do
  1. chmod +x update_kernel.sh
  2. sudo ./update_kernel.sh
Copy code

Then, reboot and again, do the thing from my last post with modprobe. Should work since I can see the vfe_v4l2.ko driver present in the new kernel update.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-29 07:11:43 | Show all floors
Edited by Survive-Pi at 2015-10-28 16:16

video0 ! Don't see anything yet...but it is recognized. Thanks!
Orange Pi Plus

2

threads

34

posts

420

credits

Intermediate member

Rank: 3Rank: 3

credits
420
Published in 2015-10-29 07:15:28 | Show all floors
Great!
Now, to make those two modules load with system start do the
  1. sudo nano /etc/modules
Copy code

and add following to the end of the file:
  1. gc2035
  2. vfe_v4l2
Copy code

Ctrl+X, then Y (reboot?)

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-29 07:48:09 | Show all floors
Path for ffmpeg?
Orange Pi Plus

2

threads

34

posts

420

credits

Intermediate member

Rank: 3Rank: 3

credits
420
Published in 2015-10-29 08:23:19 | Show all floors

it's usually just "ffmpeg", bit if you need full path – do the
  1. which ffmpeg
Copy code
and you'll get the answer.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-29 11:44:01 | Show all floors
Still no picture...can't tell where it should even show...top of control page?
So how to log in from outside home network?
Orange Pi Plus

2

threads

34

posts

420

credits

Intermediate member

Rank: 3Rank: 3

credits
420
Published in 2015-10-29 15:16:02 | Show all floors
Edited by toxuin at 2015-10-28 23:26
Survive-Pi replied at 2015-10-28 19:44
Still no picture...can't tell where it should even show...top of control page?
So how to log in fro ...

Did you follow the instruction about mjpg-streamer? Did you add the stuff to your config.yml? Did you reboot since? :-)You have to click System -> Start Webcam and reload the page. Camera stream will be visible above the printer controls on Control tab.
And for the outside log in: check if your router supports any DDNS servers. It is not the same as DNS though. If it doesn't support any -> check out this guide.
However I must warn you: this is where your Orange Pi might get hacked. Opening something to the world is where security comes into play. Change the default "orangepi-orangepi" to something more secure, best would be even deny password ssh login alltogether and only allow keys. Although you can forward the 80 port and just access your octoprint directly through your DDNS domain name – I wouldn't advise that. Forward your internal 80 port to something bizarre for outside, like 2493. This way bad guys' quick port scanner wouldn't find a webserver on your domain and probably ignore it.
And DO NOT forward ssh (22) port. Never ever.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-30 05:32:06 | Show all floors
Tried to test camera with 'cheese'. Does this error mean anything to you?

orangepi@OrangePI:~$ cheese
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

** (cheese:3574): ERROR **: cheese-application.vala:86: Unable to initialize libcheese-gtk
Trace/breakpoint trap
Orange Pi Plus

2

threads

34

posts

420

credits

Intermediate member

Rank: 3Rank: 3

credits
420
Published in 2015-10-30 05:47:55 from mobile | Show all floors
This is an error cpnnected to the desktop environment. It actually has nothing to do with pctoprint.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-30 05:59:49 | Show all floors
Just re-reading all of the instructions...the files to save into config for haproxy...should i be able to log into 127.0.0.1:5000?
Orange Pi Plus
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list