**** BEGIN LOGGING AT Fri Apr 09 03:00:09 2021 Apr 09 03:47:53 buzzmarshall: yeah someone did a headless port, but the person originally asking definitely did need graphics Apr 09 03:48:04 which seems fair if you want to use android :P Apr 09 03:50:55 ya... i figured they would want graphics... just knew i had seen some headless port awhile ago which i never really quite got why anyone would want a headless android device Apr 09 03:51:28 buzzmarshall: yeah it's one of the first google results: https://www.opersys.com/blog/android-10-on-beaglebone-black/ Apr 09 03:51:55 personally i don't use android and take it off everything as i am not a big fan of it Apr 09 03:54:01 and seeing how much tracking google's built into android not sure how well something like the bbb with 512 ram would do Apr 09 03:55:20 AOSP doesn't have as much tracking Apr 09 03:58:53 well. I finally got the Bot to work! Apr 09 03:58:55 But! Apr 09 03:59:00 I broke the board again. Apr 09 03:59:02 USB. Apr 09 03:59:05 Blah. Apr 09 03:59:37 I tried to just use the LiPo connector but... Apr 09 03:59:47 It is not powering any longer. Apr 09 04:01:30 If you guys put in a work order for a new BBBlue, please make it so the Micro USB connector is nailed down! Please. Apr 09 04:01:44 I beg of you. Apr 09 04:01:51 This is the third time. Apr 09 04:16:48 Glue! I will glue it next time! Apr 09 04:20:04 dang it! Apr 09 05:07:12 two boards down. Apr 09 05:08:58 I think I figured out how to bypass the processor and just run it via broken. Apr 09 13:59:50 Hi G-Morning: How to download a file using WGET in BBBw. wget http://0.0.0.0/file_to_download  seems not working. Where is the home folder for wget? And how to specify a path for a file? Apr 09 14:01:07 m Apr 09 14:01:39 tiger: wget just download to the current directory Apr 09 14:02:10 where is the current folder for wget? Apr 09 14:02:14 unless an output file is specified with the -O option Apr 09 14:02:34 the current directory is the current directory when you invoke wget Apr 09 14:02:55 the thing you change with "cd" in the shell, or set with WorkingDirectory in a .service file Apr 09 14:03:06 or with chdir() in C/C++ Apr 09 14:05:00 when you log in the current directory will by default be the user's home directory (e.g. /home/debian for the debian user), for system services the current directory is initially set by the WorkingDirectory directive in the [Service] section of your .service file Apr 09 14:05:09 Sorry, I am a bit of confused: download is getting a file from remote to local (which runs wget command) ? Apr 09 14:05:18 this has nothing to do with wget Apr 09 14:06:03 Is there other package, such as tftp in BBBw? Apr 09 14:06:11 ?? Apr 09 14:06:26 Or I have to installed? tftp, is a ftp Apr 09 14:06:38 tftp is something generally only used for netbooting Apr 09 14:07:13 if you're asking about transferring files to/from the beaglebone, that's often done using scp or sftp (both of which use SSH) Apr 09 14:07:45 Ok, Let me ask this way: how to download a file from remote A, to a local B Apr 09 14:08:12 any way you want, that's not a beaglebone-specific question Apr 09 14:08:45 if "A" is running a webserver, you can use e.g. wget to download files from it Apr 09 14:08:49 I tried to use scp, it still confuses me. ( I am the first time to use scp). sftp is not installed. Apr 09 14:09:08 if "A" is running an SSH server, you can use scp or sftp Apr 09 14:09:34 So, there is the home folder for SSH server on BBB? Apr 09 14:09:37 ssh, scp, and sftp are all part of the same package Apr 09 14:09:44 if one is installed, all three are installed Apr 09 14:10:14 Ok, let me try to use sftp, scp Apr 09 14:10:20 none of these things have special directories Apr 09 14:10:30 you can transfer from and to any path Apr 09 14:11:19 if you specify a relative path for the local side then it will be relative to the current directory (where you invoke it), for the remote side it will be relative to the home directory of the remote user (which would be the current directory if you log in as that user Apr 09 14:11:23 so, concrete example Apr 09 14:13:04 if I do "scp some_file.txt debian@beaglebone.local:some_file.txt" it would copy "some_file.txt" in the current directory (where I invoked this) to "some_file.txt" in the home directory of the debian user on the remote system "beaglebone.local" Apr 09 14:13:33 if the destination file name is the same as the source file name, you can omit it for brevity, so: scp some_file.txt debian@beaglebone.local: (don't forget the colon) Apr 09 14:14:19 if you're using windows to transfer to a linux system, you can also fine graphical sftp clients Apr 09 14:14:34 (well, I'm sure there are graphical sftp clients for mac and linux too) Apr 09 14:18:15 @zmatt I got using your command. It's working. I need ssh session, and file is downloaded into my local host's home folder Apr 09 14:18:26 Thank you! Apr 09 14:18:36 you can specifya a different destination path of course Apr 09 14:18:51 using -O ? Apr 09 14:19:29 that's for wget Apr 09 14:19:56 for scp you already explicitly specify the source and destination path Apr 09 14:20:19 you can use absolute paths instead of relative paths Apr 09 14:20:49 I will need time to digest scp command options. I will learn later. Apr 09 14:21:03 e.g. for transferring to a remote system: scp filename user@remotehost:/path/to/destination/dir/ Apr 09 14:21:53 of download from a remote system to a particular destination: scp user@remotehost:/path/to/filename /path/to/local/destination/ Apr 09 14:21:59 *or download Apr 09 14:22:23 you can also transfer entire directories if you include the -r option Apr 09 14:25:31 that works without ssh session. scp connects to remote in the command. Great! that's what I was looking for. Apr 09 21:28:01 Hi G-Afternoon: I found nodejs is taking over 80% of CPU time. I don't why. Our applications are not using nodejs server. Anyway to debug this? Apr 09 21:28:41 why debug it if you're not using nodejs? just disable the service that's running it Apr 09 21:29:26 or like I said previously, if you're not interested in all the stuff that's included with the IoT image (webserver, nodejs, cloud9, bonescript), then maybe start with a console image instead of an IoT image Apr 09 21:29:29 Well, nodejs is used by cloud9, which is included and configured bu BBBw Apr 09 21:29:35 are you using cloud9 ? Apr 09 21:30:19 cloud9 is web-based application deployed by BeagleBone.org Apr 09 21:30:34 I know what cloud9 is Apr 09 21:30:46 Is used for connecting BBB through usb-ethernet Apr 09 21:30:51 no it's not Apr 09 21:30:56 cloud9 is a web-based IDE Apr 09 21:31:07 Yes, Web -based IDE Apr 09 21:31:18 so again, are you using it? do you care about it? Apr 09 21:33:37 do you care about the webserver on the beaglebone at all? (are you connecting to it using a web browser?) Apr 09 21:34:02 there are all merely things installed by default for "convenience", they're all completely optional Apr 09 21:34:13 and none have anything to do with networking Apr 09 21:34:19 Well, I don't care about. But I think it may not caused by cloud9. In one of units, it desn't happen. Try to figure out why it takes so much CPU time Apr 09 21:35:00 5268 root      20   0  109188  31508  22408 R  82.5   6.4   0:08.95 nodejs Apr 09 21:35:51 systemctl status 5268 Apr 09 21:35:59 should show which service that process belongs to Apr 09 21:36:35 my guess would be bonescript.service probably Apr 09 21:39:17 tiger: if you're not using cloud9, bonescript, or node-red, you should definitely disable these things since all of them give anyone on the network complete control over the beaglebone (with root privileges) Apr 09 21:39:56 bonescript.service loads   ./bonescript/server.js Apr 09 21:40:23 And it keeps loading, (PID keeps changing( Apr 09 21:40:37 sudo systemctl disable --now bonescript bonescript-autorun bonescript.socket Apr 09 21:42:09 I run your command, it stopped now Apr 09 21:42:34 other stuff you'll probably want to disable: Apr 09 21:43:08 I may completely uninstall it. Apr 09 21:43:10 sudo systemctl disable --now robotcontrol rc_battery_monitor Apr 09 21:43:17 (those are just for the beaglebone blue) Apr 09 21:43:34 bb-bbai-tether is just for the bbai Apr 09 21:43:51 cloud9.socket nodered.socket Apr 09 21:45:24 @zmatt  Thanks a lot! Apr 09 21:45:27 haveged (pointless since beaglebones have hardware random number generation) Apr 09 21:45:46 nginx (the webserver) unless you're using it Apr 09 21:46:16 we are not using nginx server, it is running. what apps are using nginx? Apr 09 21:46:31 We use jetty9 Apr 09 21:46:45 for our application Apr 09 21:46:58 if you're not using nginx then disable it Apr 09 21:47:45 It is loaded, I am wandering what apps are using or required for nginx? Apr 09 21:48:22 nginx serves getting-started documentation and is used for cloud9, nodered, and bonescript Apr 09 21:49:19 why both nodejs and nginx used for cloud9, nodered, and bonescript? Apr 09 21:49:38 uhh those are rather different things? Apr 09 21:49:48 both are web servers. One is not enough? Apr 09 21:49:53 nodejs is not a webserver Apr 09 21:50:00 nodejs is a javascript-based application server Apr 09 21:50:27 well, it can be used as webserver, am I wrong? Apr 09 21:51:09 sure, but that doesn't make it a good webserver necessarily... it's common to have a proper fast webserver in front of your application server(s) Apr 09 21:51:31 that also lets everything coexist on port 80 at different paths Apr 09 21:51:41 Oh, at least it can be programmed as a webserver using java-script. ( for small applications, or not Graphical based) Apr 09 21:52:29 see /etc/nginx/sites-enabled/default for the configuration Apr 09 21:52:52 Ok, I am going to uninstall all of these: bonescript, nodejs, nginx Apr 09 21:54:10 for release systems. It is handy for development, cloud9 allows multiple termials web-broswer based Apr 09 21:54:33 if you want to continue using cloud9 then you'll need to keep nginx and nodejs installed Apr 09 21:54:52 or just use a proper ssh client instead of a web browser Apr 09 21:55:19 I mean for my own development systems. But for production units, I am going uninstall them Apr 09 21:55:20 (there are tabbed ssh clients too) Apr 09 21:55:47 Yeah, that's true. Apr 09 21:56:14 Ok. Thank you again, have a good evening! Apr 09 21:56:24 like I said before, instead of trying to figure out everything that's unneeded and removing it, you may consider starting with a "console" image which doesn't have all that crap installed in the first place Apr 09 21:56:48 installing what's needed is usually less work than stripping what's unneeded Apr 09 21:57:52 I was thinking using console based image. But we are doing a lot of IoT stuff, so that was reason I pick IoT image without graphical stuff Apr 09 21:58:15 I mean, those image names are fairly arbitrary Apr 09 21:58:22 Now it is too late for any changes Apr 09 21:59:11 Ok, Have a nice weekend! Apr 09 23:45:47 I plugged in a two cell LiPo and Micro USB to USB in the BBBlue to a development desktop. Apr 09 23:45:57 How can I check to see if the board still boots? Apr 09 23:46:33 I do not understand what happened or how to figure it out. That is why my question is the way it is now. Apr 10 00:00:14 I asked on the new forum thing. I will just wait for an answer there... Apr 10 00:02:19 sorry not sure what board your playing with but if your trying to see why a boards not booting or having trouble i usually just use a serial rig and something like putty to let me watch u-boot and see where the jam is Apr 10 00:03:05 using the serial setup will let you see what happens when the bootup vector jumps out to grab and load u-boot Apr 10 00:04:34 and if you need to you can interrupt u-boot before it hands off to the linux kernel to check what u-boot is doing if you need to Apr 10 00:13:26 set_ perhaps read the power on procedure and see what's different Apr 10 00:16:34 Okay. Apr 10 00:16:40 BBBlue. Apr 10 00:17:09 I am not sure what to plug in and where... Apr 10 00:17:18 RX, TX, PWR, and GND? Apr 10 00:20:54 When you typed 'power on procedure,' do you mean in the TRM? Apr 10 00:33:24 Read the documentation on how to power it on Apr 10 00:33:29 for the BBlue Apr 10 00:34:14 Okay. Apr 10 00:35:06 https://github.com/beagleboard/beaglebone-blue/wiki is empty Apr 10 00:35:11 Where would I look online? Apr 10 00:43:05 https://pastebin.com/dnwCbnQ4 <<< ? Apr 10 00:44:06 or http://octavosystems.com/app_notes/osd335x-power-application-note/? Apr 10 00:48:37 GenTooMan: The Power Up Sequence? Apr 10 00:53:12 Should I hold down rst on the BBBlue to handle powering on the board? Apr 10 01:01:41 how about trying one power source first IE the USB power port. Apr 10 01:02:19 Right. Apr 10 01:02:22 I tried that idea. Apr 10 01:02:28 USB is out. Apr 10 01:03:12 I never did this to a board before and I have put them through a journey before this time. So, I am a bit bewildered. Apr 10 01:09:26 brb Apr 10 01:41:25 I see there is a WP and GND on the back of the board, BBBLue, and what exactly does the WP mean? Apr 10 01:42:08 write protect maybe Apr 10 01:44:37 Hmm. Okay. Apr 10 01:45:11 Well, I can bypass the board to make it look like the board is listening to the commands it is given. Apr 10 01:45:13 But... Apr 10 01:45:27 it would be better to try to fix it. Apr 10 01:46:36 I just cannot program anything now. Apr 10 02:39:59 Anyway, do not fret. I have a back-up plan. Going into Plan Y. One plan left! Apr 10 02:43:35 25 plans later and I am about out. Man, these Faires are not easy to prepare for when things are on short notice. Apr 10 02:48:34 try from now on 1 plan at a time. and take notes maybe? Apr 10 02:51:34 Notes! Apr 10 02:54:57 right you need to start with a note that says "take notes then make plan follow plan using notes as reference, itemize notes by date and numeric value without the maybe clause?" Apr 10 02:59:46 Okay. **** ENDING LOGGING AT Sat Apr 10 02:59:57 2021