please choosego to mobile | Continue to access the PC version
Author: Survive-Pi

OrangePi Plus OctoPrint and 3D Printer

[Copy link]

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-30 06:20:16 | Show all floors
Is yours online? Screenshot?
Orange Pi Plus

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-30 06:28:29 | Show all floors
toxuin replied at 2015-10-28 15:10
To quickly solve this annoying thing:
do the
and find line

Lol...might work better with PI instead of Pi... Don't think that is my problem...didn't have any effect anyway...but did find it! Don't see anything else yet...
Orange Pi Plus

2

threads

34

posts

418

credits

Intermediate member

Rank: 3Rank: 3

credits
418
Published in 2015-10-30 07:51:40 | Show all floors
You'll be able to log in to 127.0.0.1:5000 only from the same machine since 127.0.0.1 means "localhost". You can log in on 5000 port from every other machine on the same network. You can log in on port 80 ( = not specifying port at all) if your haproxy is configured and running.
By the way it just crossed my mind – HAProxy not configured can prohibit you from seeing anything from your webcam on Control tab. However try to start the webcam server through octoprint UI and then open http://192.168.xx.xx:8080/?action=stream – change the xx.xx to you orangePi's IP. Should be an image there even if HAProxy is not configured.
My printer is on service now. Installing custom cut heated bed... -_-

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-30 08:54:26 | Show all floors
toxuin replied at 2015-10-29 14:47
This is an error cpnnected to the desktop environment. It actually has nothing to do with pctoprint.

Didn't expect to involve OctoPrint...expected it to work so I could see camera! Lol. I ran motion via CNXSoft tutorial and had it working once. Guess I'll try that again.
Orange Pi Plus

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-31 09:49:59 | Show all floors
Edited by Survive-Pi at 2015-10-30 19:28
toxuin replied at 2015-10-29 16:51
You'll be able to log in to 127.0.0.1:5000 only from the same machine since 127.0.0.1 means "localho ...

What commands do I need to to copy a file from boot on sd card to /usr/local/bin? And be able to execute it. update_kernel.sh. Starting over again... last time I installed desktop to do it... trying without desktop this time. Thanks.
Orange Pi Plus

2

threads

34

posts

418

credits

Intermediate member

Rank: 3Rank: 3

credits
418
Published in 2015-10-31 10:29:36 | Show all floors
Edited by toxuin at 2015-10-30 18:30
Survive-Pi replied at 2015-10-30 17:49
What commands do I need to to copy a file from boot on sd card to /usr/local/bin? Thanks.

Is your sd card mounted as /boot ?.. If yes:
  1. sudo cp /boot/filename /usr/local/bin
Copy code

If not:
  1. cd ~
  2. mkdir sd
  3. sudo mount /dev/mmcblk0p2 sd
  4. sudo cp sd/filename /usr/local/bin
Copy code


Are you talking about some specific file or just a abstract thing?..
Here's the idea: command "cp" copies files. First argument is where from, second is where to.
Some locations are "protected" by system and you cannot normally copy things there or from there – like /usr/local/boot. To tell system that you're sure you are doing the right thing we need a sudo command.


This thread contains more resources

You need to Log in to download or view,No account?    Register

x

2

threads

34

posts

418

credits

Intermediate member

Rank: 3Rank: 3

credits
418
Published in 2015-10-31 10:34:39 | Show all floors
Edited by toxuin at 2015-10-30 18:36
Survive-Pi replied at 2015-10-30 17:49
What commands do I need to to copy a file from boot on sd card to /usr/local/bin? And be able to ex ...

Ah, the update_kernel.sh script. It is not necessary to copy it to /usr/local/bin, you just have to make it executable.
– Download the update_kernel.sh to your laptop or whatever big computer
– Get a FileZilla. It's like a FTP client, but for SSH servers.
– Connect to your OrangePi through FileZilla from your laptop or whatever: user orangepi, password orangepi.
– Just copy update_kernel.sh over to your home directory
– Open ssh, log in to your OrangePi as orangepi
– Do the following:
  1. cd ~
  2. chmod +x upgrade_kernel.sh
  3. sudo ./upgrade_kernel.sh
Copy code
This should do it.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-31 10:47:37 | Show all floors
Edited by Survive-Pi at 2015-10-30 19:48
Survive-Pi replied at 2015-10-30 18:49
What commands do I need to to copy a file from boot on sd card to /usr/local/bin? And be able to ex ...

Found it...




Copy the script to /usr/local/bin and make it executable
  • sudo cp <download_path>/update_kernel.sh /usr/local/bin
  • sudo chmod +x /usr/local/bin/update_kernel.sh


Run the script.
  • sudo update_kernel.sh

Orange Pi Plus

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-31 11:07:44 | Show all floors
toxuin replied at 2015-10-30 19:29
Is your sd card mounted as /boot ?.. If yes:

If not:

I LOVE the picture! I'm going to try that when she gets home!
Seriously, that explains a lot to me. Except, why do I need filezilla etc if file is already on sd card?
Orange Pi Plus

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
 Author| Published in 2015-10-31 11:32:36 | Show all floors
toxuin replied at 2015-10-30 19:34
Ah, the update_kernel.sh script. It is not necessary to copy it to /usr/local/bin, you just have to ...

OOOOOOOHHHHHH! Can't find boot from ssh terminal, can you...
Orange Pi Plus
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list