Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: Survive-Pi

OrangePi Plus OctoPrint and 3D Printer

[Copy link]

2

Threads

34

Posts

222

Credits

Intermediate member

Rank: 3Rank: 3

Credits
222
Post time 2015-10-29 06:10:39 | Show all posts
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 the Code
do the
  1. sudo nano /etc/hosts
Copy the Code
and find line
  1. 127.0.0.1       localhost
Copy the Code
make it look like this:
  1. 127.0.0.1       localhost OrangePI
Copy the 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 the 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 the 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 the 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

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 07:11:43 | Show all posts
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

222

Credits

Intermediate member

Rank: 3Rank: 3

Credits
222
Post time 2015-10-29 07:15:28 | Show all posts
Great!
Now, to make those two modules load with system start do the
  1. sudo nano /etc/modules
Copy the Code

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

Ctrl+X, then Y (reboot?)

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 07:48:09 | Show all posts
Path for ffmpeg?
Orange Pi Plus

2

Threads

34

Posts

222

Credits

Intermediate member

Rank: 3Rank: 3

Credits
222
Post time 2015-10-29 08:23:19 | Show all posts

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

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-29 11:44:01 | Show all posts
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

222

Credits

Intermediate member

Rank: 3Rank: 3

Credits
222
Post time 2015-10-29 15:16:02 | Show all posts
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

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-30 05:32:06 | Show all posts
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

222

Credits

Intermediate member

Rank: 3Rank: 3

Credits
222
Post time 2015-10-30 05:47:55 From the mobile phone | Show all posts
This is an error cpnnected to the desktop environment. It actually has nothing to do with pctoprint.

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-30 05:59:49 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-7 17:42 GMT+8 , Processed in 0.035350 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list