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]

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-30 06:20:16 | Show all posts
Is yours online? Screenshot?
Orange Pi Plus

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

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

209

Credits

Intermediate member

Rank: 3Rank: 3

Credits
209
Post time 2015-10-30 07:51:40 | Show all posts
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

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-30 08:54:26 | Show all posts
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

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-31 09:49:59 | Show all posts
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

209

Credits

Intermediate member

Rank: 3Rank: 3

Credits
209
Post time 2015-10-31 10:29:36 | Show all posts
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 the Code

If not:
  1. cd ~
  2. mkdir sd
  3. sudo mount /dev/mmcblk0p2 sd
  4. sudo cp sd/filename /usr/local/bin
Copy the 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 post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

2

Threads

34

Posts

209

Credits

Intermediate member

Rank: 3Rank: 3

Credits
209
Post time 2015-10-31 10:34:39 | Show all posts
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 the Code
This should do it.

3

Threads

96

Posts

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-31 10:47:37 | Show all posts
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

535

Credits

Senior member

Rank: 4

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

535

Credits

Senior member

Rank: 4

Credits
535
 Author| Post time 2015-10-31 11:32:36 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

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

2019-8-24 12:45 GMT+8 , Processed in 0.032406 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list