Jump to content

Jon Ashley

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

1120 profile views
  1. Hi, Orange PI Lite Armbian 5.25 (latest download available at the time of this post) ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 3.4.113-sun8i I would like to have the Pi boot without the desktop environment, and either start it manually over SSH. I found a tutorial that said to edit /etc/default/grub and change GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="text" but that file does not apply, so I'm not sure how to impliment this for armbian. I don't want to remove the desktop environment completely, but rather have it bootup to command line only, and if I need the desktop environment log into via SSH and either re-edit "a file" and reboot, or preferably run a command to then start/open the desktop environment. Is this possible? Thank you, Jonathan
  2. Ragner can you please assist with how to run something on boot as a service? Thank you,
  3. Thank you tkaiser, I'll run this and see. I'm using an old Samsung Class 10 card (bought in Best buy not online, too many selling knock off cards online) but it may be on its last leg. Do you have any suggestions on making the OctoPrint application a service that auto starts? I've been waiting for over a week for the admin at the orange pi forums to activate my account. What's funny is I can't even VIEW the thread when logged in, says I need to be verified.
  4. Hi Igor, i want to thank you for give me the push to "do it the right way." I am 99% there, but I think my last issue is getting OctoPrint to automatically start on bootup. Here are the steps on the tutorial: 12. Make Octoprint a service with autostart sudo nano ~/OctoPrint/scripts/octoprint.default Copy the Code Find "username" and change it to "octoprint". sudo cp ~/OctoPrint/scripts/octoprint.init /etc/init.d/octoprint sudo cp ~/OctoPrint/scripts/octoprint.default /etc/default/octoprint sudo chmod +x /etc/init.d/octoprint sudo update-rc.d octoprint defaults Copy the Code Make sure you have something in your /usr/local/bin/octoprint. To test if not: cat /usr/local/bin/octoprint Copy the Code There should be some output with python code. I got no errors during any of this. After rebooting OctoPrint does not start. I can log in via SSH and do: cd /home/octoprint/OctoPrint then do ./run and it starts up. Octoprint is installed under a different username "octoprint" the desktop enviroment boots to the other user created at initial Armbian setup "octopi" This is the same behavior as the old image I was running, but OctoPrint application did auto start. How do I make OctoPrint a service that auto starts? Thank you, Jonathan
  5. Well I'm getting there, but I'm getting random lock ups. Once when installing octoprint and once when I was in the desktop environment browsing the web. My CPU scaling is working, but I wish I could find out what is causing these lock ups. RPi Monitor is still running, but the mouse has a 30 second delay in the desktop environment and the SSH windows has frozen. Took this screenshot as I was trying to install octoprint. Ive read that some boards have issue with the RAM frequency. Is it worth dropping the speed on the RAM to see if that fixes it? I'm taking a wild guess here. Nothing is modified, just the latest Armbian install from this site, then following this tutorial for installing octoprint: http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=594
  6. Ok. I will attempt to do a fresh install. The reason I went with the image is I was able to successfully install octoprint, but upon rebooting the pi, could not get octoprint to load again. I guess I'll have to approach that road when I get there. Unfortunately the OctoPrint community is not interested in assisting those who don't run a genuine Raspberry Pi, running Raspbian. I sincerely appreciate your insight and assistance.
  7. It is at about 85%. I was unable to resize the filesystem without screwing everything up so I gave up on it. I now have another micro SD card mounted (set to mount on boot) to /mnt/usbstorage that I use for upload GCODE files and timelapse images from octoprint. The card that is in the Pi for boot is a 8GB, but only has 4GB usable still. I've tried various tutorials for resizing the partition, but everything I've found online says to use Raspi-Config and it refuses to run on Orange Pi (not built for Armbian?) I have done apt-get clean (which didn't seem to do much) and apt-get autoclean and that got me from 98% full to 85ish or wherever it is at now. However I don't think this will have an impact on improperly working CPU scaling.
  8. I've been hesitant to try and upgrade due to my ignorance, and the issue I had getting octoprint to work in the first place. I first tried getting it up and running with a fresh armbian installation from the website, and then manually installing octoprint but was unsuccessful. As a last ditched effort I went with a pre-made image and it has worked pretty well. One of the features of octoprint (3D Printer manager basically, serves GCode and acts as an interface for your printer) is to take time lapse videos. The orangepi then renders the video (series of snapshots). Because of the low clockspeed this takes a lot longer than other users have reported doing the same task. Also even just working in the terminal seems slow, and from time to time I boot into the desktop environment just to "play around" with a linux distribution. At 480MHz the experience leaves alot to be desired. It works, albeit not that well. It is also very difficult to find information specific to the orangepi / armbian since 98% of the information out there is for the raspberry pi and raspian and there are enough differences that make working through a tutorial useless. I'm trying my best to learn as I go, but I feel I'm getting a little in over my head now. I'm now regretting not learning more about linux when I had the time (IE: young bachelor with tons of free time) now that I'm a dad with a 60+hour/week job I just can't devote the time to really read/learn. I hate to be "that guy" on the forum but if it isn't too much trouble can you point me in the right direction to atleast get CPU scaling working? I'm OK with running outdated stuff as long as it works. Thank you again for your help thus far. -Jon
  9. Hi tkaiser, The armbian monitor url: http://sprunge.us/bGWV h3consumption was not found root@octoorangepi:~# armbianmonitor -u /var/log/armhwinfo.log has been uploaded to http://sprunge.us/bGWV Please post the URL in the Armbian forum where you've been asked for. root@octoorangepi:~# h3consumption -p -su: h3consumption: command not found root@octoorangepi:~# cat /sys/devices/system/cpu/cpu0/cpufreq/*max* 1296000 1296000 root@octoorangepi:~# h3consumption -p -su: h3consumption: command not found root@octoorangepi:~#
  10. Hello all, I'm going to preface by saying that I am not experienced with Pi, Pi clones, or linux, but I know how to google stuff until my fingers bleed and can navigate around a terminal window well enough. I have an Orange Pi Lite, which is running OctoPrint primarily, but does use a few other uses. I am using a prepared Armbian image file. Upon SSH login in the terminal displays the following: Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.113-sun8i System load: 3.17 Up time: 39 min Memory usage: 72 % of 494Mb IP: 192.168.0.250 CPU temp: 36°C Usage of /: 99% of 3.6G storage/: 1% of 3.8G CPU is at minimum speed 100% of the time, even if I change governor to performance. I have tried adjusting min speed, ive tried editing other files from google searches specifically relating to cpu frequency and scaling, all of which have had no effect ( I mistakenly didn't book mark them so I don't remember all I've changed) I have a heat sink, and a fan blowing directly on heatsink and board, temp never goes above 40C even at 100% load. To try and load the processor up as much as possible thinking the scaling was set really high, i loaded the desktop enviroment and streamed some videos on youtube (albeit very poorly at 240/360P but hey, didn't get it for streaming youtube videos). HTop shows all 4 cores at near 100%, and frequency doesn't budge from 480Mhz. Same reults with ondemand, performance, interactive. Even userspace with cpufreq-set -c 0 -f 1296.000 it stays at 480. Can you please provide any assistance? Thank you in advance for your time, Jonathan
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines