Survive-Pi post at 2015-10-30 06:20:16

Is yours online? Screenshot? :loveliness:

Survive-Pi post at 2015-10-30 06:28:29

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...

toxuin post at 2015-10-30 07:51:40

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... -_-

Survive-Pi post at 2015-10-30 08:54:26

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. :)

Survive-Pi post at 2015-10-31 09:49:59

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.

toxuin post at 2015-10-31 10:29:36

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:
sudo cp /boot/filename /usr/local/bin
If not:
cd ~
mkdir sd
sudo mount /dev/mmcblk0p2 sd
sudo cp sd/filename /usr/local/bin

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.


toxuin post at 2015-10-31 10:34:39

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:
cd ~
chmod +x upgrade_kernel.sh
sudo ./upgrade_kernel.shThis should do it.

Survive-Pi post at 2015-10-31 10:47:37

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

Survive-Pi post at 2015-10-31 11:07:44

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?

Survive-Pi post at 2015-10-31 11:32:36

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... :(
page: 1 2 3 [4] 5 6 7
View full version: OrangePi Plus OctoPrint and 3D Printer