RE: [beagleboard] When was connmanctl introduced?

2020-04-23 Thread Bryan Miller
-Original Message-
From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Robert Nelson
Sent: Thursday, April 23, 2020 9:31 PM
To: Beagle Board
Subject: Re: [beagleboard] When was connmanctl introduced?

>On Thu, Apr 23, 2020 at 10:21 PM  wrote:
>>
>> Can someone please point me to the history of connmanctl and when it was 
>> introduced for Debian on BBB?   All of the legacy documentation circa 2015 
>> shows a simple entry in /etc/network/interfaces but clearly connmanctl is 
>> the way to go now.
>>
>> Thanks!
>
> The original BeagleBoard.org Debian Wheezy release around 2014 used
> wicd for wifi configuration, shortly there after around 2015 we
> started transitioning to connman.
>
> I believe wicd-gtk was no longer maintained at that time and we needed to 
> find a new solution..

Thank you Robert!  That is very helpful.   For my wired NIC connections 
interfaces is dead simple.  I can see the advantage of connman for wifi.

-Bryan

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5ea26271.1c69fb81.36b1d.62f8%40mx.google.com.


[beagleboard] When was connmanctl introduced?

2020-04-23 Thread bryan . miller
Can someone please point me to the history of connmanctl and when it was 
introduced for Debian on BBB?   All of the legacy documentation circa 2015 
shows a simple entry in /etc/network/interfaces but clearly connmanctl is 
the way to go now.

Thanks!

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/02d4f55a-544b-44c7-aab6-9a4e9fdce21e%40googlegroups.com.


[beagleboard] Image generation script creates 1K image file

2019-12-30 Thread bryan . miller
I am using this derivative of Robert's eMMC -> img file script

https://elinux.org/BeagleBone_Black_Extracting_eMMC_contents

and it runs instantly and creates a 1K image file.  I suspect something has 
changed since that Wiki entry was created.

I have tested this on both Element 14 and Beagleboard versions of BBB.

Here is my uEnv.txt file:

bootpart=0:1
bootdir=
fdtaddr=0x81FF
optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
uenvcmd=load mmc 0 ${loadaddr} uImage;run loadfdt;setenv bootargs console=${
console} ${optargs};bootm ${loadaddr} - ${fdtaddr}

and I have 

am335x-boneblack.dtb

in root and /dtbs

Thanks!

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b1a74b58-6d2b-4858-b240-ce21cc3e8e93%40googlegroups.com.


[beagleboard] Re: Using NVMe SSD with BBB?

2019-12-30 Thread bryan . miller
Thank you!  That is good to hear.  I have not tried USB-to-SSD yet but that 
is next on my list.   Nikon used to make micro hard disks which were the 
same size as a Compact Flash drive.  It would be fantastic is we had more 
options on the BBB so I am continuing to explore.

On Monday, December 30, 2019 at 8:15:25 AM UTC-7, amf wrote:
>
> I have been using a USB-to-SSD for about 6mo, no issues, just need to use 
> external power to power BBB.
> As for the NVMe cards, I've heard it's a hit/miss on getting the 
> USB-to-NVMe to work reliably. Plus these converters are somewhat more 
> expensive than the ones for SSD.  
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8e8b52a2-1256-4b70-a520-fb7ccc80bdda%40googlegroups.com.


[beagleboard] Using NVMe SSD with BBB?

2019-12-29 Thread bryan . miller
Has anyone attempted using an SSD card like the NVMe interface cards from 
Samsung EVO?

I would love to be able to use storage that is more reliable than SD cards.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/90618d01-9d52-496f-9190-c1821d9b893c%40googlegroups.com.


RE: [beagleboard] Shrinking Debian images?

2019-12-13 Thread Bryan Miller
That is really slick!   I was not aware those tools were available. 

Thank you Robert!

-Original Message-
From: Robert Nelson [mailto:robertcnel...@gmail.com] 
Sent: Friday, December 13, 2019 9:03 AM
To: Beagle Board
Cc: bryan.mil...@owasp.org
Subject: Re: [beagleboard] Shrinking Debian images?

On Thu, Dec 12, 2019 at 8:07 PM Bryan Miller  wrote:
>
> Is there a manifest describing contents somewhere online?  I am scratching my 
> head as to why "IoT" is so much larger than "Console".

Yeap, here you go:

https://github.com/beagleboard/image-builder/blob/master/configs/bb.org-debian-buster-iot-v4.19.conf

https://github.com/beagleboard/image-builder/blob/master/configs/bb.org-debian-buster-console-v4.19.conf

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5df3d5bf.1c69fb81.c3647.94c6%40mx.google.com.


RE: [beagleboard] Shrinking Debian images?

2019-12-12 Thread Bryan Miller
Is there a manifest describing contents somewhere online?  I am scratching my 
head as to why "IoT" is so much larger than "Console".

-Original Message-
From: Robert Nelson [mailto:robertcnel...@gmail.com] 
Sent: Thursday, December 12, 2019 5:29 PM
To: Beagle Board
Cc: bryan.mil...@owasp.org
Subject: Re: [beagleboard] Shrinking Debian images?

On Thu, Dec 12, 2019 at 5:53 PM  wrote:
>
> I really like the Debian Stretch and Buster images but they take up the 
> entire 4GB on BBB.  Is anyone aware of slightly slimmed down derivatives of 
> these versions?
>
> I want to install Docker and Free Radius but there is absolutely no room!

You can grab the console image...

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Buster_Console_Snapshot

Or even this custom image i did this week. (with docker installed by default..)

https://rcn-ee.net/rootfs/bb.org/testing/2019-12-11/buster-iot-webthings-gateway/

Going forward that image is going to be converted from docker to just
nodejs, but i needed something quick this week..

Side note, on first bootup, delete this file:

sudo rm /etc/docker.init.webthings-gateway

Then you can remove the big 1.3GB container that was pre-installed..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5df2f239.1c69fb81.76b23.14f8%40mx.google.com.


Re: [beagleboard] Re: Bash throws errors after a week of uptime

2019-12-12 Thread bryan . miller
Sorry, that should read fsck not fdisk.

On Thursday, December 12, 2019 at 11:30:15 AM UTC-7, Bryan Miller wrote:
>
> You are both correct.  I have six BBBs running and forgot this one was 
> still using an SD card due to some Docker images I am running.   The others 
> are all on Debian 9.11 in eMMC.   
>
> I ran fdisk and it shows the SD card is indeed failing.  I am going to dd 
> off as much as I can before it completely dies.  I wish the Debian images 
> were a tad smaller as I loathe using SD cards for any duration.
>
> Thanks for your insight!
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7cc50ed9-e56d-4d49-9097-a3d9710a38ca%40googlegroups.com.


RE: [beagleboard] Shrinking Debian images?

2019-12-12 Thread Bryan Miller
Thank you Robert!

I will likely run node.js inside docker images spun up via GitLab runner so 
that is perfect!

Cheers!

Bryan

-Original Message-
From: Robert Nelson [mailto:robertcnel...@gmail.com] 
Sent: Thursday, December 12, 2019 5:29 PM
To: Beagle Board
Cc: bryan.mil...@owasp.org
Subject: Re: [beagleboard] Shrinking Debian images?

On Thu, Dec 12, 2019 at 5:53 PM  wrote:
>
> I really like the Debian Stretch and Buster images but they take up the 
> entire 4GB on BBB.  Is anyone aware of slightly slimmed down derivatives of 
> these versions?
>
> I want to install Docker and Free Radius but there is absolutely no room!

You can grab the console image...

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Buster_Console_Snapshot

Or even this custom image i did this week. (with docker installed by default..)

https://rcn-ee.net/rootfs/bb.org/testing/2019-12-11/buster-iot-webthings-gateway/

Going forward that image is going to be converted from docker to just
nodejs, but i needed something quick this week..

Side note, on first bootup, delete this file:

sudo rm /etc/docker.init.webthings-gateway

Then you can remove the big 1.3GB container that was pre-installed..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5df2e10b.1c69fb81.3e00b.705c%40mx.google.com.


[beagleboard] Shrinking Debian images?

2019-12-12 Thread bryan . miller
I really like the Debian Stretch and Buster images but they take up the 
entire 4GB on BBB.  Is anyone aware of slightly slimmed down derivatives of 
these versions?

I want to install Docker and Free Radius but there is absolutely no room!

Cheers!

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e584d762-b6a1-456b-8381-2d06566a9960%40googlegroups.com.


Re: [beagleboard] Re: Bash throws errors after a week of uptime

2019-12-12 Thread bryan . miller
I was logged in as root.

On Thursday, December 12, 2019 at 8:19:20 AM UTC-7, jonnymo wrote:
>
> I agree with Tarmo in that your root is showing what looks like a 32GB SD 
> card and not the 4GB eMMC.
> you can run 'df -h' to see the space in a more user friendly format.
>
> Both reboot and ping map to '/sbin' and '/bin' so you could try the full 
> path to the tools to see if you can still run the commands directly.
> Ex:
>sudo /sbin/reboot
>  
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/fa7805c3-74b0-462e-b8f0-374dbd7f8c65%40googlegroups.com.


Re: [beagleboard] Re: Bash throws errors after a week of uptime

2019-12-12 Thread bryan . miller
You are both correct.  I have six BBBs running and forgot this one was 
still using an SD card due to some Docker images I am running.   The others 
are all on Debian 9.11 in eMMC.   

I ran fdisk and it shows the SD card is indeed failing.  I am going to dd 
off as much as I can before it completely dies.  I wish the Debian images 
were a tad smaller as I loathe using SD cards for any duration.

Thanks for your insight!

On Thursday, December 12, 2019 at 8:19:20 AM UTC-7, jonnymo wrote:
>
> I agree with Tarmo in that your root is showing what looks like a 32GB SD 
> card and not the 4GB eMMC.
> you can run 'df -h' to see the space in a more user friendly format.
>
> Both reboot and ping map to '/sbin' and '/bin' so you could try the full 
> path to the tools to see if you can still run the commands directly.
> Ex:
>sudo /sbin/reboot
>  
>  Also, unless you have modified the sudoers config, reboot is a root 
> function so you would typically need to run this as 'sudo' if you are 
> logged in as the debian user.
> Ex: sudo reboot
>
> To see if there are any issues being reported on the system, your can run 
> 'dmesg' or view the messages in '/var/log/messages' and see if any device 
> related errors are being reported. 
>
> As far as BB support, the Beagle Board Support group should be your best 
> option.
>
> https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!categories/beagleboard/support
>
> You might want to provide the output of '/opt/scripts/version.sh' to get 
> an overall view of your config.
>
> cheers,
>
> Jon
>
> On Thu, Dec 12, 2019 at 11:21 AM Tarmo Kuuse  > wrote:
>
>> On Tuesday, 10 December 2019 19:48:11 UTC+2, bryan...@owasp.org wrote:
>>>
>>> I have been monitoring the space.  I thought it was /tmp but the usage 
>>> is super low:
>>>
>>> debian@radius:~$ df
>>> Filesystem 1K-blocksUsed Available Use% Mounted on
>>> udev  219552   0219552   0% /dev
>>> tmpfs  494966156 43340  13% /run
>>> /dev/mmcblk0p1  30714340 4244892  25170228  15% /
>>> tmpfs 247476   0247476   0% /dev/shm
>>> tmpfs   5120   4  5116   1% /run/lock
>>> tmpfs 247476   0247476   0% /sys/fs/cgroup
>>> tmpfs  49492   0 49492   0% /run/user/1000
>>>
>>>

>> The device /dev/mmcblk0 is usually the SD card. Also the BBB has 4 GB of 
>> eMMC, not 32 GB as available your root file system. I still suspect that 
>> you're running off the SD card, and it's failing :)
>>
>> --
>> Kind regards,
>> Tarmo
>>
>>
>>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b45746c5-966c-455f-8bb1-2c9aa354e022%40googlegroups.com.


Re: [beagleboard] Re: Bash throws errors after a week of uptime

2019-12-10 Thread bryan . miller
I have been monitoring the space.  I thought it was /tmp but the usage is 
super low:

debian@radius:~$ df
Filesystem 1K-blocksUsed Available Use% Mounted on
udev  219552   0219552   0% /dev
tmpfs  494966156 43340  13% /run
/dev/mmcblk0p1  30714340 4244892  25170228  15% /
tmpfs 247476   0247476   0% /dev/shm
tmpfs   5120   4  5116   1% /run/lock
tmpfs 247476   0247476   0% /sys/fs/cgroup
tmpfs  49492   0 49492   0% /run/user/1000


Nothing in dmesg either.

On Tuesday, December 10, 2019 at 10:39:42 AM UTC-7, evilwulfie wrote:
>
> Is it possible your out of space on your EMMC ?
>
> On 12/10/2019 10:23 AM, bryan...@owasp.org  wrote:
>
> I am using eMMC.  Why would the system work for 4-6 days before dying if 
> it was broken?
>
> I will make an image of my system and dd it over to another BBB.  That 
> will determine if it is hardware or not.
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/6630a31c-2695-4584-aeef-cf073f73b5c3%40googlegroups.com
>  
> 
> .
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8ddfbbab-dfd1-42f1-9a21-2d645fedfabd%40googlegroups.com.


[beagleboard] Re: Bash throws errors after a week of uptime

2019-12-10 Thread bryan . miller
I am using eMMC.  Why would the system work for 4-6 days before dying if it 
was broken?

I will make an image of my system and dd it over to another BBB.  That will 
determine if it is hardware or not.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6630a31c-2695-4584-aeef-cf073f73b5c3%40googlegroups.com.


[beagleboard] Bash throws errors after a week of uptime

2019-12-09 Thread bryan . miller

I am running Debian 9.11 (4.14.108-ti-r124) on BBB and it runs fine for 
about a week and then Bash no longer can find commands and it throws errors 
upon every subsequent command. Commands result in one of two errors 
depending upon the command.  Here are two recent examples:

$debian:/opt/tools$ ping google.com

-bash: /bin/ping: Input/output error

$debian:/opt/tools$ reboot
-bash: reboot: command not found

Has anyone else seen this problem?  I am unsure where to create issues for 
Debian Stretch on ARM/BBB.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f4ed70ea-97f6-40ee-8bbc-f835085c4927%40googlegroups.com.