**** BEGIN LOGGING AT Sat Oct 22 02:59:58 2016 Oct 22 06:01:25 zmatt: I feel like if I went back to C++ I'd have to do that Oct 22 10:37:22 hy i just like to know how do i start using the bash script editor on bb black Oct 22 10:39:22 i am reading chap 06 derek molloy, and have built the FET Circuit but want to enter the code to blink it not sure how to start the ~!/bin /bash Oct 22 10:39:31 what do you m ean start it Oct 22 10:39:34 mean start it* Oct 22 10:39:38 do i start a nano editor Oct 22 10:39:42 that's fine Oct 22 10:39:43 nano works Oct 22 10:39:50 its easiest Oct 22 10:39:53 vim is more advanced Oct 22 10:39:54 well im logged in as root Oct 22 10:40:04 cat << "EOF" > filename.txt is for ninjas Oct 22 10:40:08 but nano is easiest Oct 22 10:40:25 ed! ;) Oct 22 10:40:40 ed/ Oct 22 10:40:42 ?* Oct 22 10:41:05 ok so from root i type nano but what is the path name if anyone is following the xamples from derek molloy's text Oct 22 10:41:17 ayjay_t: https://en.wikipedia.org/wiki/Ed_%28text_editor%29 Oct 22 10:41:18 [WIKIPEDIA] Ed (text editor) | "ed is a line editor for the Unix operating system. It was one of the first parts of the Unix operating system that were developed, in August 1969. It remains part of the POSIX and Open Group standards for Unix-based operating systems, alongside more sophisticated full-screen editors such as vi...." Oct 22 10:41:18 i must say this text is written for experts Oct 22 10:42:22 sorry ivorm, i don't follow those examples Oct 22 10:42:31 it's not intended as an introduction to linux, i assume Oct 22 10:43:02 you're worried where to save the file? Oct 22 10:44:20 yes that is sort of what im saying ive done enough damage to the bb already Oct 22 10:44:38 hahaha sry to hear that ivorm Oct 22 10:44:43 you can always flash it with the most update kernel Oct 22 10:44:47 i mean image Oct 22 10:44:48 the text switches from root to MOLLOYD $ Oct 22 10:45:11 IVE SET UP MY OWN IVORM$ Oct 22 10:45:16 sokay but Oct 22 10:45:26 , is that MOLLOYD on his host computer or on the remote BBB? Oct 22 10:45:48 think on hos own computer Oct 22 10:46:10 then it wont really effect BBB Oct 22 10:46:26 you are new to linux? Oct 22 10:46:34 yes very new.. Oct 22 10:47:02 learning and building at same time self taught a miracle ive gotten this far Oct 22 10:49:08 as far as following the xample is concerned ive set up the GPIO AS an output but in oreder to test i need to enter the code in the sha bang #! Oct 22 10:49:17 im stumped at that point Oct 22 10:50:55 im using putty if that helps anyone understand what im trying to say Oct 22 10:52:09 well thats a normal experience for self taught Oct 22 10:52:32 so you should open nano, and type something like #!/bin/bash Oct 22 10:52:36 ##CODE## Oct 22 10:52:59 then ctrl+o and save it, then chmod +x filename Oct 22 10:53:01 then ./filename Oct 22 10:53:08 the last two commands outside of nano Oct 22 10:53:21 you use ctrl+x to quit Oct 22 10:53:28 after ctrl+o Oct 22 10:54:24 ok. thats where i am now thanks avjay Oct 22 10:56:39 this channel is also very active sometimes Oct 22 10:56:43 and people here are very helpful Oct 22 10:56:51 so download hexchat or something and stick around Oct 22 12:59:51 Hi Oct 22 13:01:05 i would like to discuss regarding issues on Enabling SPI ports in BBB Oct 22 13:11:01 Hello People Oct 22 13:45:22 which book of electronics, do you suggest for beginner? Oct 22 14:56:56 sh***t I install the new image and I have only 275 MB free :) , I should then mount a nfs from my server Oct 22 15:00:55 or remove crap Oct 22 15:02:23 275 MB free sounds dangerous, it means it's probably nearly impossible to install updates Oct 22 15:37:14 Great stuff happenin on my beaglebone this week Oct 22 15:37:32 Makes me very happy Oct 22 15:38:36 I kinda wish I could install upstream Debian on it though Oct 22 15:42:13 Anyway apparently prboom runs great on this thing Oct 22 17:16:55 zmatt, remove crap? like what? Oct 22 17:17:17 ericxdu, which image do you use? Oct 22 18:40:53 jamesaxl: bone-debian-8.4 found at beagleboard.org Oct 22 18:41:24 remove chromium Oct 22 18:41:33 I've read there are instructions at debian.org for making an sdcard with official Debian but it'll take some work to follow Oct 22 18:41:33 lol Oct 22 18:41:42 ayjay_t: you know that's right! :-P Oct 22 18:43:26 ericxdu, after installing the last debina image, did you have problems with GPIO? Oct 22 18:45:52 jamesaxl: I haven't messed with GPIO at all... I'm mostly using it as a desktop Oct 22 19:11:20 any GPIO works on last image. I should back to the last one Oct 22 19:11:33 any GPIO works on last image. I should back to the previous one Oct 22 19:21:56 no GPIO works Linux beaglebone 4.4.9-ti-r25 Oct 22 19:47:43 GPIO works fine Oct 22 19:49:44 (on every kernel I've ever tried on a bbb) Oct 22 19:56:15 jamesaxl, don't go back, infact, go forward Oct 22 19:57:31 4.4-ti series should be fine as LTS release, although the latest kernel from that series is 4.4.26-ti-r59 Oct 22 20:12:29 yeah that's right Oct 22 20:12:43 but the -r25 is a lot buggier than the 5* you get from pulling the source Oct 22 20:13:00 and unfortunately, thats the one on the website Oct 22 20:16:21 ayjay_t, I back to the previous kernel, and everyhting work fine :) Oct 22 20:18:18 you shoudl go forward, not back Oct 22 20:18:31 4.4.9-ti-r25 is buggy, i agree Oct 22 20:18:54 but if you install it, cd into /opt/scripts/tools && git pull && ./kernel-update Oct 22 20:19:08 or something like that, you get the newer version which works better and has great tools Oct 22 20:19:20 rcn-ee gives us a lot of goodies to work with- you're missing out Oct 22 20:19:31 especially if you're in 3.8x Oct 22 20:20:00 you'll need to apt install linux-headers**** it's described in the output of ./kernel-update Oct 22 20:20:10 and i'd uninstall chromium first to make room for the update Oct 22 20:20:24 i literally pulled all nights this week to figure this stuff out Oct 22 20:22:41 ayjay_t, I am going to try that tomorrow, thank you very much for your help Oct 22 20:23:38 yeah u just need ethernet Oct 22 21:13:58 what is recommended, usingadapter with 5v pluged on BBB, or just usb plus external power with 5V Oct 22 21:35:09 uhhh i mean Oct 22 21:35:25 depends on what you're doing, and how much current you need to draw Oct 22 21:35:58 but generally i don't like powering high current things off the BBB because of the heat generated **** ENDING LOGGING AT Sun Oct 23 02:59:58 2016