Date   

locked Microsoft repo added in latest Raspberry Pi OS update

Basil Gunn
 

In case you noticed some discussion on other forums about a recent
update the Raspberry Pi Foundation made that installed a Microsoft apt
repository, here is some information.

You can view the reddit discussion here:

https://www.reddit.com/r/linux/comments/lbu0t1/microsoft_repo_installed_on_all_raspberry_pis/

If you do an 'apt-get update' and see the Microsoft package line then
you already have the update with the added repository which looks like
this:

sudo apt-get update
Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done

This is what an apt-get update looks like without the Microsoft package
repo:

sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done

I personally do not want to access a Microsoft server every time I do an
update on my RPi and I really don't want it on my headless units so I
wrote a script that removes that "feature". For more information please
look at the reddit link above.

My script lives here:
https://github.com/nwdigitalradio/n7nix/blob/master/bin/block_msvscode.sh

Get the script in the usual manner:

cd
cd n7nix
git pull
cd config
./bin_refresh.sh

When running the script with an argument it displays the status of the
Microsoft config without editing any files. This is what it will display
if you have the Microsoft "feature".

cd
cd n7nix/bin

./block_msvscode.sh -
Test if Microsoft repo has been configured
File: /etc/hosts has NOT been edited
File: /etc/apt/trusted.gpg.d/microsoft.gpg exists and is NOT empty
File: /etc/apt/sources.list.d/vscode.list IS active

If you run the script without any arguments it will edit 3 files which
will block the Microsoft Visual Studio repository update.

./block_msvscode.sh
Test if Microsoft repo has been configured
Microsoft gpg key or repository entry IS active
0.0.0.0 packages.microsoft.com
Removing Microsoft key
removed '/etc/apt/trusted.gpg.d/microsoft.gpg'
Making new empty Microsoft key file
Verify Microsoft gpg file is protected
----i---------e---- /etc/apt/trusted.gpg.d/microsoft.gpg
Modifying Microsoft APT file


After running the script, status should look like this

./block_msvscode.sh -
Test if Microsoft repo has been configured
File: /etc/hosts OK, has been edited
File: /etc/apt/trusted.gpg.d/microsoft.gpg exists but IS empty
File: /etc/apt/sources.list.d/vscode.list is NOT active

/Basil n7nix


Re: #udrc-ii #compass #direwolf #udrc-ii #compass #direwolf

 

Ulf,

Compass Linux is deprecated and is unlikely to run with a RPi 4.

Pull an image from http://nwdig.net/downloads/  -- this is the current Raspberry Pi OS with driver load pre-configured. (Current Raspberry Pi OS has the driver, but must be configured in /boot/config.txt)  It also contains a collection of scripts and tools.

Just to be extra careful, burn the image on to a new SD card (and save the one you currently have on your RPi 3).  Install the UDRC II HAT on the RPi 4 with the new image and give it a go.



On Sun, Feb 7, 2021 at 12:47 PM oh6xi <oh6xioh6xi@...> wrote:
I have a UDRC-II hat on a Rpi3 and it works well. Now, I would like to put the UDRC-II on a Rpi4 using Raspbian Buster (need the 5GHz wifi). Is there any problems coming my way with this solution? I seem to remember something about compass-linux and drivers för the soundchip for example. Anyone done this before?
73
Ulf, oh6xi


--
John D. Hays
Kingston, WA
K7VE

 


#udrc-ii #compass #direwolf #udrc-ii #compass #direwolf

oh6xi
 

I have a UDRC-II hat on a Rpi3 and it works well. Now, I would like to put the UDRC-II on a Rpi4 using Raspbian Buster (need the 5GHz wifi). Is there any problems coming my way with this solution? I seem to remember something about compass-linux and drivers för the soundchip for example. Anyone done this before?
73
Ulf, oh6xi


Re: Case Arrived! Screw size?

Mark J Culross
 

Jack:

The DRAWS case was designed to accommodate a standard 30mm fan (24mm spacing on the mounting holes).  Although I have not purchased these myself, this pair from Amazon are marked with the same p/n (LD3007MS) as was on the original fan used during the case design/update:


Hope that helps !!

Mark J Culross
KD5RXT

On Saturday, February 6, 2021, 1:53:49 PM CST, Jack Spitznagel <kd4iz@...> wrote:


Mark,

 

That one is about 0.5cm too large – the predrilled spacing on the DRAWS case appears to be about 2.5cm.

Thanks for the suggestion.

 

Jack Spitznagel – KD4IZ

Science River LLC

Biomedical Consulting Services

 

 

 

From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> On Behalf Of Mark J Culross
Sent: Saturday, February 6, 2021 14:31
To: udrc@nw-digital-radio.groups.io
Subject: Re: [draws and udrc] Case Arrived! Screw size?

 

Maybe this fan from Adafruit ??

 

Miniature 5V Cooling Fan with Molex PicoBlade Connector

Miniature 5V Cooling Fan with Molex PicoBlade Connector

Looking for another way to keep your project cool? Hook up this 5V Mini Cooling Fan and prevent from overheating! Of course, it's also great for use with any small ...

 

 

On Sat, Feb 6, 2021 at 1:15 PM, Jack Spitznagel

<kd4iz@...> wrote:

Ed, All,

Mine were in the box with the case. Small plastic bag that also had the stand-offs and silicone stick-on feet. I just ordered one of the new design for the later generation DRAWS board.

One issue: my Rpi was reporting via the DRAWS manager that CPU temp reach 140+ F.... not wonderful... SO: I need to know if anyone has a model number for a quality fan that will fit the case. There is a dizzying array of fans out there, I figure out the size, but reasonable quiet and low current consumption would be better.

I have a couple of CPU fans that are too large for the hole spacing... I'm not hacking a new case to make it work.

Jack Spitznagel – KD4IZ
Science River LLC
Biomedical Consulting Services



-----Original Message-----
From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> On Behalf Of Ed Bloom, KD9FRQ via groups.io
Sent: Saturday, February 6, 2021 14:03
To: udrc@nw-digital-radio.groups.io
Subject: [draws and udrc] Case Arrived! Screw size?

My two case arrived today!  Fantastic.

I seem to have missed the link the screw sizes need to secure the

top to the base.


Ed, KD9FRQ












Re: Case Arrived! Screw size?

Ed Bloom, KD9FRQ
 

THANK YOU!!

Screws located.  I need new glasses....lol

Ed

On 2/6/2021 1:15 PM, Jack Spitznagel wrote:
Ed, All,

Mine were in the box with the case. Small plastic bag that also had the stand-offs and silicone stick-on feet. I just ordered one of the new design for the later generation DRAWS board.

One issue: my Rpi was reporting via the DRAWS manager that CPU temp reach 140+ F.... not wonderful... SO: I need to know if anyone has a model number for a quality fan that will fit the case. There is a dizzying array of fans out there, I figure out the size, but reasonable quiet and low current consumption would be better.

I have a couple of CPU fans that are too large for the hole spacing... I'm not hacking a new case to make it work.

Jack Spitznagel – KD4IZ
Science River LLC
Biomedical Consulting Services



-----Original Message-----
From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> On Behalf Of Ed Bloom, KD9FRQ via groups.io
Sent: Saturday, February 6, 2021 14:03
To: udrc@nw-digital-radio.groups.io
Subject: [draws and udrc] Case Arrived! Screw size?

My two case arrived today! Fantastic.

I seem to have missed the link the screw sizes need to secure the

top to the base.


Ed, KD9FRQ











Re: Case Arrived! Screw size?

Jack Spitznagel
 

Mark,

 

That one is about 0.5cm too large – the predrilled spacing on the DRAWS case appears to be about 2.5cm.

Thanks for the suggestion.

 

Jack Spitznagel – KD4IZ

Science River LLC

Biomedical Consulting Services

 

 

 

From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> On Behalf Of Mark J Culross
Sent: Saturday, February 6, 2021 14:31
To: udrc@nw-digital-radio.groups.io
Subject: Re: [draws and udrc] Case Arrived! Screw size?

 

Maybe this fan from Adafruit ??

 

Miniature 5V Cooling Fan with Molex PicoBlade Connector

Miniature 5V Cooling Fan with Molex PicoBlade Connector

Looking for another way to keep your project cool? Hook up this 5V Mini Cooling Fan and prevent from overheating! Of course, it's also great for use with any small ...

 

 

On Sat, Feb 6, 2021 at 1:15 PM, Jack Spitznagel

<kd4iz@...> wrote:

Ed, All,

Mine were in the box with the case. Small plastic bag that also had the stand-offs and silicone stick-on feet. I just ordered one of the new design for the later generation DRAWS board.

One issue: my Rpi was reporting via the DRAWS manager that CPU temp reach 140+ F.... not wonderful... SO: I need to know if anyone has a model number for a quality fan that will fit the case. There is a dizzying array of fans out there, I figure out the size, but reasonable quiet and low current consumption would be better.

I have a couple of CPU fans that are too large for the hole spacing... I'm not hacking a new case to make it work.

Jack Spitznagel – KD4IZ
Science River LLC
Biomedical Consulting Services



-----Original Message-----
From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> On Behalf Of Ed Bloom, KD9FRQ via groups.io
Sent: Saturday, February 6, 2021 14:03
To: udrc@nw-digital-radio.groups.io
Subject: [draws and udrc] Case Arrived! Screw size?

My two case arrived today!  Fantastic.

I seem to have missed the link the screw sizes need to secure the

top to the base.


Ed, KD9FRQ












Re: Case Arrived! Screw size?

okiejim
 

My case has not made it yet so I don't know if this will fit yet. There was a recommended fan my nwdigital it was a
Makerfocus model LD3007MS I think  I got it on ebay pack of two. Its been awhile now. Hope my case makes it soon it
is delayed due to post office covid-19 excuse.


Re: Case Arrived! Screw size?

Mark J Culross
 

On Sat, Feb 6, 2021 at 1:15 PM, Jack Spitznagel
<kd4iz@...> wrote:
Ed, All,

Mine were in the box with the case. Small plastic bag that also had the stand-offs and silicone stick-on feet. I just ordered one of the new design for the later generation DRAWS board.

One issue: my Rpi was reporting via the DRAWS manager that CPU temp reach 140+ F.... not wonderful... SO: I need to know if anyone has a model number for a quality fan that will fit the case. There is a dizzying array of fans out there, I figure out the size, but reasonable quiet and low current consumption would be better.

I have a couple of CPU fans that are too large for the hole spacing... I'm not hacking a new case to make it work.

Jack Spitznagel – KD4IZ
Science River LLC
Biomedical Consulting Services



-----Original Message-----
From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> On Behalf Of Ed Bloom, KD9FRQ via groups.io
Sent: Saturday, February 6, 2021 14:03
To: udrc@nw-digital-radio.groups.io
Subject: [draws and udrc] Case Arrived! Screw size?

My two case arrived today!  Fantastic.

I seem to have missed the link the screw sizes need to secure the

top to the base.


Ed, KD9FRQ













Re: Case Arrived! Screw size?

Jack Spitznagel
 

Ed, All,

Mine were in the box with the case. Small plastic bag that also had the stand-offs and silicone stick-on feet. I just ordered one of the new design for the later generation DRAWS board.

One issue: my Rpi was reporting via the DRAWS manager that CPU temp reach 140+ F.... not wonderful... SO: I need to know if anyone has a model number for a quality fan that will fit the case. There is a dizzying array of fans out there, I figure out the size, but reasonable quiet and low current consumption would be better.

I have a couple of CPU fans that are too large for the hole spacing... I'm not hacking a new case to make it work.

Jack Spitznagel – KD4IZ
Science River LLC
Biomedical Consulting Services

-----Original Message-----
From: udrc@nw-digital-radio.groups.io <udrc@nw-digital-radio.groups.io> On Behalf Of Ed Bloom, KD9FRQ via groups.io
Sent: Saturday, February 6, 2021 14:03
To: udrc@nw-digital-radio.groups.io
Subject: [draws and udrc] Case Arrived! Screw size?

My two case arrived today! Fantastic.

I seem to have missed the link the screw sizes need to secure the

top to the base.


Ed, KD9FRQ


Case Arrived! Screw size?

Ed Bloom, KD9FRQ
 

My two case arrived today!  Fantastic.

I seem to have missed the link the screw sizes need to secure the

top to the base.


Ed, KD9FRQ


DRAWS Aluminum Case Arrived Today!

Dave Slotter, W3DJS
 

It looks sharp and fits great! Worth the wait!

--
- Dave
  W3DJS


Re: HOW TO gracefully shutdown an RPi with DRAWS

Basil Gunn
 

Some links for the previous post:

nixtracker source with picture of radio/rpi setup before final install.
https://github.com/n7nix/nixtracker

nixtracker install script with graceful shutdown example in updown_log.sh
https://github.com/nwdigitalradio/n7nix/tree/master/tracker

nixtracker thread on groups.io
https://nw-digital-radio.groups.io/g/udrc/topic/70085931#4384


Basil Gunn <basil@pacabunga.com> writes:

From: Alex Archer - KC0REL

Does the hat allow the pi to be gracefully shutdown when attached to a
mobile setup directly wired to the battery when it detects a voltage
drop from alternator voltage to battery voltage only?
Yes the DRAWS hat has everything required to do a graceful RPi shutdown.

It has an A/D converter that measures the 12V source voltage.
Periodically reading that voltage with cron you can detect when your
vehicle is turned off going from alternator to battery. There is an
example on how to do that in this script n7nix/tracker/updown_log.sh.

You read the output of 12V with the sensors command and
peel off the number you are interested in.

From a console run the "sensors" command to see the output you are
dealing with. From the updown_log.sh script the following line extracts
the 12V value.

voltage=$(sensors | grep -i "+12V:" | cut -d':' -f2 | sed -e 's/^[ \t]*//' | cut -d' ' -f1)

To do a compare in bash I want the voltage as an integer so I get rid of
the plus sign & decimal point

volt_int=$(echo "${voltage//[^0-9]/}")

I use the volt_int value to detect when I need to gracefully shut down the RPi

if (( volt_int < 1300 )) ; then
sudo /sbin/shutdown -h now
fi

Instead of an APO3 I use a Powerwerx ITS-12. For the APRS app I use a
fork of Dan Smith's dantracker which runs in a browser. In my vehicle
I run a hostap on the RPi and connect over WiFi so that I can use my
phone or tablet as a display.

There is a nixtracker thread here:
https://nw-digital-radio.groups.io/g/udrc/topic/70085931#4456

I've been using this setup for over a year in my truck.

/Basil n7nix

From: "Alex Archer" <alex@aactrain.com>
Subject: DRAWS hat question
Date: February 4, 2021 at 3:24:59 PM PST

Does the hat allow the pi to be gracefully shutdown when attached to a
mobile setup directly wired to the battery when it detects a voltage
drop from alternator voltage to battery voltage only?

My mobile setup currently has everything running through an
APRSworld.com APO3 that automatically cuts power to everything
downstream of it 10 minutes after seeing the drop from alternator to
battery voltage. I'd like to have the ability to gracefully shut down
the pi, after say 9 minutes (thus before power is cut off by the APO
device), and the additional capabilities your hat provides interests
me, especially the ability to control 2 radios.

-- Alex Archer -
KC0REL alex@aactrain.com


HOW TO gracefully shutdown an RPi with DRAWS

Basil Gunn
 

From: Alex Archer - KC0REL

Does the hat allow the pi to be gracefully shutdown when attached to a
mobile setup directly wired to the battery when it detects a voltage
drop from alternator voltage to battery voltage only?
Yes the DRAWS hat has everything required to do a graceful RPi shutdown.

It has an A/D converter that measures the 12V source voltage.
Periodically reading that voltage with cron you can detect when your
vehicle is turned off going from alternator to battery. There is an
example on how to do that in this script n7nix/tracker/updown_log.sh.

You read the output of 12V with the sensors command and
peel off the number you are interested in.

From a console run the "sensors" command to see the output you are
dealing with. From the updown_log.sh script the following line extracts
the 12V value.

voltage=$(sensors | grep -i "+12V:" | cut -d':' -f2 | sed -e 's/^[ \t]*//' | cut -d' ' -f1)

To do a compare in bash I want the voltage as an integer so I get rid of
the plus sign & decimal point

volt_int=$(echo "${voltage//[^0-9]/}")

I use the volt_int value to detect when I need to gracefully shut down the RPi

if (( volt_int < 1300 )) ; then
sudo /sbin/shutdown -h now
fi

Instead of an APO3 I use a Powerwerx ITS-12. For the APRS app I use a
fork of Dan Smith's dantracker which runs in a browser. In my vehicle
I run a hostap on the RPi and connect over WiFi so that I can use my
phone or tablet as a display.

There is a nixtracker thread here:
https://nw-digital-radio.groups.io/g/udrc/topic/70085931#4456

I've been using this setup for over a year in my truck.

/Basil n7nix

From: "Alex Archer" <alex@aactrain.com>
Subject: DRAWS hat question
Date: February 4, 2021 at 3:24:59 PM PST

Does the hat allow the pi to be gracefully shutdown when attached to a
mobile setup directly wired to the battery when it detects a voltage
drop from alternator voltage to battery voltage only?

My mobile setup currently has everything running through an
APRSworld.com APO3 that automatically cuts power to everything
downstream of it 10 minutes after seeing the drop from alternator to
battery voltage. I'd like to have the ability to gracefully shut down
the pi, after say 9 minutes (thus before power is cut off by the APO
device), and the additional capabilities your hat provides interests
me, especially the ability to control 2 radios.

-- Alex Archer -
KC0REL alex@aactrain.com


Mounting fan on DRAWST Case

Daniel VE3NI
 

Hi All,

Received my Early Adopter's case and it looks great.

I love the fact that the case had been redesigned so that the 12V power mod
was no longer needed. It is simply a drop-in replacement . . . no changes
required.

I purchased the "suggested/recommended" fan and prepped it with longer
leads to go around to the end Accessory Connector (HDR-4X2M).

Was NOT surprised when the bolts supplied with the fan were too large to
attach to the case because life is never that simple, hi hi.

Hoping that someone else has already figured out the appropriate size of the
bolts to attach the fan and are willing to share. Or possibly NWDR can
provide the information from the CAD drawings for the case.

Using a rPi 3B+ and it runs about 59C with no fan but drops to around 45C
when I put my OLD fan from the old case simply sitting on top. The rPi/DRAWS
is located in a semi-enclosed space so the extra cooling is appreciated.

Love my DRAWS card.

Cheers es 73,
Daniel VE3NI


Re: DRAWS™ Cases are Shipping to Customers!

 

Early Adopter Case Backorders are complete, although we have a few customers that ordered a production DRAWS board and a EA case that we need to figure out before we fill new EA Orders.

Kit orders are next and yes it has been shipping hell!
Bryan K7UDR


Re: DRAWS™ Cases are Shipping to Customers!

John NU8M
 

My case arrived today...excited to put it together! Thanks and 73 John NU8M


Re: DRAWS™ Cases are Shipping to Customers!

okiejim
 

I got my email with tracking yesterday with tracking number and it is tracking. My order was from may 2019 just FYI. My guess is they have alot to ship out and not much space to get them to the P.O. I can verify they are shipping but I don't think they made the end of month part as yesterday was the 1st of Feb.
73


On Tue, Feb 2, 2021 at 11:39 AM LA9KOA - Karl <oyoygard@...> wrote:
This is fantastic news!
Did you manage to ship all cases by the end of jan? I can't see I've received any tracking yet.
I should have orders for two early adopter and one production case.
[Order #6348] (April 17, 2019)
[Order #8043] (December 8, 2020)

73, LA9KOA, Karl

On Sun, Jan 31, 2021 at 8:27 PM kc7pmu <kc7pmu@...> wrote:
Received early adopter case Saturday, Jan 30. 
Case looks good. Haven't tried it on my unit as I have it in the C4Labs acrylic case presently.
--

Paul
kc7pmu


Re: DRAWS™ Cases are Shipping to Customers!

LA9KOA - Karl
 

This is fantastic news!
Did you manage to ship all cases by the end of jan? I can't see I've received any tracking yet.
I should have orders for two early adopter and one production case.
[Order #6348] (April 17, 2019)
[Order #8043] (December 8, 2020)

73, LA9KOA, Karl

On Sun, Jan 31, 2021 at 8:27 PM kc7pmu <kc7pmu@...> wrote:
Received early adopter case Saturday, Jan 30. 
Case looks good. Haven't tried it on my unit as I have it in the C4Labs acrylic case presently.
--

Paul
kc7pmu


DRAWS kit for sale

Matthew Allred <kilo1mda@...>
 

Kit for sale comes with the following:
DRAWS HAT
GPS Antenna with LNA
2 Mini DIN-6 M/M 2m Cables
Anidees Aluminum Case
5.5mm x 2.1mm Power Connector
Raspberry Pi 4B+ with Heatsinks installed
32GB Micro SD-CARD preloaded with image

$250 shipped. 

Please message me at kilo1mda@... 


Re: Buck converter vs power from Pi question... #12vsupply

Jack Spitznagel
 

“Appropriate Attachment” for “Breg the beast” would be 1/4” carriage bolts with oversize washers. My safest approach would be to fasten a piece of angled galvanized sheet metal outside a window near the op station with a plastic container placed over the puck. 🙂

Jack - KD4IZ 

On Feb 1, 2021, at 22:29, kc7pmu <kc7pmu@...> wrote:

You might try a steel pie plate or cookie sheet attached to the shelf with means and methods appropriate to the size of the sweet puddy tat. The magnet should keep the GPS puck anchored sufficiently for occasional excursion by the perp.

I find the method sufficient for my 2m mag mount antenna and the GPS puck.

Good luck.

Paul
kc7pmu

581 - 600 of 5981