Date   

Re: Ubuntu19.10 & Raspi4

Marty Hartwell
 

Hi

There was a Ubuntu 1?.something awhile ago the worked on the Raspberry Pi 2. I

tried it out back then and reverted back to the Raspian Jessie I think. So I am not

surprised that 19.10 will be supported on the Raspi4. I will be submitting an order

soon to get a pi4 with 4GB of memory and some other things I haven't yet decided on.


Marty kd8bj


On 10/17/19 4:08 PM, Roger Reeves M0ROJ wrote:
Good news. Just seen the announcement that Ubuntu 19.10 will support RasPi 4. 


Ubuntu19.10 & Raspi4

Roger Reeves M0ROJ
 

Good news. Just seen the announcement that Ubuntu 19.10 will support RasPi 4. 


Re: partition for lubuntu from previous ubuntu

Mark Griffith
 

Raspbian, the default OS for the Raspberry Pi, does not use a swap partition, it uses a swap file on the regular file system.  If your memory usage is not too much, it will never swap.  I always create my systems with no swap at all, and in the years I have been using them, I have never encountered a problem.  Of course, these devices are just used to process email and things like that.  No memory intensive video or other type of memory hungry apps.  My applications use less then 20% of the available memory so it never swaps.

However, if you will be using memory intensive applications, you might want to create a swap file.

Mark
KD0QYN


On Thursday, October 17, 2019, 11:11:44 AM CDT, Marty Hartwell <mhartwe@...> wrote:


HI

If this is a Rpi 4 I think I saw a response that swap is not needed, or is a real small amount. So

you may be good to go.

You probably should review the instructions for the pi 4 though, as I have not ordered one yet.

It is in my future though.

Marty kd8bj


On 10/17/19 7:09 AM, Don - KM4UDX wrote:
Yes, you are right.  I got the USB bootable with gparted live,  and it would boot to the gparted selection screen, but then no matter what option i picked, including gparted safeboot, the sequence would never actually start gparted. 

So I've given up for now.  I'm going to try to make my USB3 port and usb3 stick a swap file with the following process.
 
≠====================

1) Make sure your USB stick is connected. In a terminal type:
 
sudo blkid
 
It will list all your connected drives. Search for your USB stick you want to use as swap and copy the UUID (everything inside these quotes UUID="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX").
 
This represents the individual name of your device.
 
Also note the /dev/XXX point of your device.
 
2) Now unmount your device by typing:
 
sudo umount /dev/XXX (where XXX represents your device name)
 
3) Format your USB stick as swap, e.g. by terminal
 
sudo mkswap /dev/XXX (<-- be sure to use the correct device name here or you'll probably end up formatting the wrong drive!)
 
or simply use GParted.
 
4) Now you have to edit your /etc/fstab file, so type
 
gksudo gedit /etc/fstab
 
and enter the following
 
UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX none swap sw,pri=5 0 0
 
(for all the Xs, use the UUID number you got by typing sudo blkid)
 
5) Now type
 
sudo swapon -a
 
That's it, this should already work


Re: partition for lubuntu from previous ubuntu

Marty Hartwell
 

HI

If this is a Rpi 4 I think I saw a response that swap is not needed, or is a real small amount. So

you may be good to go.

You probably should review the instructions for the pi 4 though, as I have not ordered one yet.

It is in my future though.

Marty kd8bj


On 10/17/19 7:09 AM, Don - KM4UDX wrote:
Yes, you are right.  I got the USB bootable with gparted live,  and it would boot to the gparted selection screen, but then no matter what option i picked, including gparted safeboot, the sequence would never actually start gparted. 

So I've given up for now.  I'm going to try to make my USB3 port and usb3 stick a swap file with the following process.
 
≠====================

1) Make sure your USB stick is connected. In a terminal type:
 
sudo blkid
 
It will list all your connected drives. Search for your USB stick you want to use as swap and copy the UUID (everything inside these quotes UUID="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX").
 
This represents the individual name of your device.
 
Also note the /dev/XXX point of your device.
 
2) Now unmount your device by typing:
 
sudo umount /dev/XXX (where XXX represents your device name)
 
3) Format your USB stick as swap, e.g. by terminal
 
sudo mkswap /dev/XXX (<-- be sure to use the correct device name here or you'll probably end up formatting the wrong drive!)
 
or simply use GParted.
 
4) Now you have to edit your /etc/fstab file, so type
 
gksudo gedit /etc/fstab
 
and enter the following
 
UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX none swap sw,pri=5 0 0
 
(for all the Xs, use the UUID number you got by typing sudo blkid)
 
5) Now type
 
sudo swapon -a
 
That's it, this should already work


Re: partition for lubuntu from previous ubuntu

Don - KM4UDX <dontAy155@...>
 

Yes, you are right.  I got the USB bootable with gparted live,  and it would boot to the gparted selection screen, but then no matter what option i picked, including gparted safeboot, the sequence would never actually start gparted. 

So I've given up for now.  I'm going to try to make my USB3 port and usb3 stick a swap file with the following process.
 
≠====================

1) Make sure your USB stick is connected. In a terminal type:
 
sudo blkid
 
It will list all your connected drives. Search for your USB stick you want to use as swap and copy the UUID (everything inside these quotes UUID="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX").
 
This represents the individual name of your device.
 
Also note the /dev/XXX point of your device.
 
2) Now unmount your device by typing:
 
sudo umount /dev/XXX (where XXX represents your device name)
 
3) Format your USB stick as swap, e.g. by terminal
 
sudo mkswap /dev/XXX (<-- be sure to use the correct device name here or you'll probably end up formatting the wrong drive!)
 
or simply use GParted.
 
4) Now you have to edit your /etc/fstab file, so type
 
gksudo gedit /etc/fstab
 
and enter the following
 
UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX none swap sw,pri=5 0 0
 
(for all the Xs, use the UUID number you got by typing sudo blkid)
 
5) Now type
 
sudo swapon -a
 
That's it, this should already work


Re: RPi 3B+ w/ Buster, Alsa, Signalink USB

Yaniv Eliash
 

I missed that massage,
I have both RPi3 and RPi4 on buster with Signalink.

If you don't have audio - try to plug the Signalink to your RPi *AFTER* your RPi boot
I found that when you plug everything and then power things up - you won't have audio I/O

On Wed, 16 Oct 2019 at 22:34, Mitch <ab4mw@...> wrote:
So nobody has RPi 3B+/Buster working with a Signalink??


Re: RPi 3B+ w/ Buster, Alsa, Signalink USB

Mark Griffith
 

Yes, it's pretty easy. What problem are you having?

Mark 
KD0QYN 



On Wed, Oct 16, 2019 at 2:34 PM, Mitch
<ab4mw@...> wrote:
So nobody has RPi 3B+/Buster working with a Signalink??


Re: RPi 3B+ w/ Buster, Alsa, Signalink USB

Mitch
 

So nobody has RPi 3B+/Buster working with a Signalink??


Re: partition for lubuntu from previous ubuntu

 

I'm guessing that the partition needs to be unmounted first so you'll need to put the memory card in another computer to do it or boot from a thumb drive.


On 16 October 2019 at 13:15 Don - KM4UDX <dontAy155@...> wrote:

Nigel -- I'm sure I'm doing something really stupid...but when I change the value in the new size window, it changes back to original, and I never get to the resize option...


Nigel A. Gunn, 1865 El Camino Drive, Xenia, OH 45385-1115, USA. tel +1 937 825 5032
Amateur Radio G8IFF W8IFF and GMRS WRBV701, e-mail nigel@... www http://www.ngunn.net


Re: partition for lubuntu from previous ubuntu

Don - KM4UDX <dontAy155@...>
 

Nigel -- I'm sure I'm doing something really stupid...but when I change the value in the new size window, it changes back to original, and I never get to the resize option...


Re: partition for lubuntu from previous ubuntu

David Ranch <dranch@...>
 


Swap *partitions* are NOT required on Raspbian as it uses a in-file system swap *file* for this use:

   https://raspberrypi.stackexchange.com/questions/70/how-to-set-up-swap-space

Btw, as mentioned elsewhere in this thread, swapping I/O to an SD card can physically damage the card and kill it pretty quickly.  It's generally NOT recommend to significantly use swap if you don't have to.  If you need more RAM than what's on your Raspberry Pi (older versions had 256MB or 512MB) and most newer Pis have 1GB), you should setup the swap on an external USB device be it a USB pendrive (only a little better reliability wise) or an SSD/HDD.  Better yet, go buy a new 2GB or 4GB Rpi4 and you hopefully won't need swap at all.  :-)
pi4 and you hopefully won't need swap at all.  :-)

--David
KI6ZHD


On 10/16/2019 08:51 AM, Nigel Gunn, G8IFF/W8IFF wrote:

Your swap partition is usually twice the size of your RAM so I assume you'll want a 4GB swap partition.

You could really do with a bigger memory card.

As swap needs to be fast, and SD cards die if used too much you would be better in the long term doing most things on a small USB hard drive or SSD and move the operating system to that and just boot from the SD card.



To create a swap partition:

Highlight the  ext4 partition

Go to Partition/Resize and make the partition 4GB smaller than it is now (reduce it's size to 10GB).

Click Apply

Resize will take some time.

Highlight the unused space entry that appears, go to Partition/Format and select SWAP as the format.

Click Apply.

Reboot



Re: partition for lubuntu from previous ubuntu

 

Your swap partition is usually twice the size of your RAM so I assume you'll want a 4GB swap partition.

You could really do with a bigger memory card.

As swap needs to be fast, and SD cards die if used too much you would be better in the long term doing most things on a small USB hard drive or SSD and move the operating system to that and just boot from the SD card.



To create a swap partition:

Highlight the  ext4 partition

Go to Partition/Resize and make the partition 4GB smaller than it is now (reduce it's size to 10GB).

Click Apply

Resize will take some time.

Highlight the unused space entry that appears, go to Partition/Format and select SWAP as the format.

Click Apply.

Reboot


On 16 October 2019 at 11:25 Don - KM4UDX <dontAy155@...> wrote:

Nigel (+)...I installed gparted and have this.  So goal is to create a swap.  What is the best way to do this for a chicken newbie? Is there anything else that I did that needs fixing?


Nigel A. Gunn, 1865 El Camino Drive, Xenia, OH 45385-1115, USA. tel +1 937 825 5032
Amateur Radio G8IFF W8IFF and GMRS WRBV701, e-mail nigel@... www http://www.ngunn.net


Re: GPS time synchronization with several Pi's at different locations.

Max
 

Both warp speed navigation and sub-space communications require much better accuracy. That is one of the first things they teach you at the academy !

Max KG4PID

On Wednesday, October 16, 2019, 08:12:17 AM CDT, Michael WA7SKG <wa7skg@...> wrote:


Pico-seconds? Seriously? You need something like a $100k+ Cesium-beam
clock to maintain that kind of accuracy. For a $35 computer? Basically
unrealistic if not unobtainium.

I have worked on systems in the past (mostly classified) that required
exceptional time accuracy, but even those were within a couple hundred
microseconds and VERY expensive.

Really curious, however, please explain the purpose of such a beast.
What on earth could possibly require that kind of time accuracy? I
seriously doubt even warp speed navigation or sub-space communications
needs that level of time synchronization.

Michael WA7SKG


Jeff Estal wrote on 10/15/19 6:44 PM:
> I want to synchronize multiple raspberry pi's where each has it's own
> gps device.
> They need to be extremely accurate. Something in the pico seconds range.
>
> I have a cheap gps-usb device from Amazon and have been recieving data
> from it with python, but the time data only displays seconds always with
> .00 for any portion of the seconds which seems odd.
>
> How might i approach this?
> Is certain hardware better or worse?
> When data is pulled from a gps device, is there timing considerations as
> to when to get the data or when to store it?
> I"d probably need to also have a realtime clock to update.
>
> thanks,




Re: partition for lubuntu from previous ubuntu

Don - KM4UDX <dontAy155@...>
 

Nigel (+)...I installed gparted and have this.  So goal is to create a swap.  What is the best way to do this for a chicken newbie? Is there anything else that I did that needs fixing?


Re: partition for lubuntu from previous ubuntu

Don - KM4UDX <dontAy155@...>
 

Nigel (+) -- can you give me some pointers on how to do this?

I'm really new to all this lubuntu/ubuntu/linix business. So I am playing catchup as fast as I can...

here is what I have now...I found different cmds that show sort of the same info.
===============================================================================
don@ubitx-love:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

NAME         FSTYPE  SIZE MOUNTPOINT LABEL
mmcblk0             14.6G           
├─mmcblk0p1  vfat    500M /boot/efi 
└─mmcblk0p2  ext4   14.1G /         
mmcblk0boot0           4M           
mmcblk0boot1           4M           
don@ubitx-love:~$
============================================================================
sudo parted -l
Model: MMC M52516 (sd/mmc)
Disk /dev/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  525MB   524MB   primary  fat32
 2      525MB   15.6GB  15.1GB  primary  ext4
===================================================================================================
sudo fdisk -l
Disk /dev/mmcblk0: 14.6 GiB, 15636365312 bytes, 30539776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2a49bef6

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1         2048  1026047  1024000  500M  b W95 FAT32
/dev/mmcblk0p2      1026048 30539564 29513517 14.1G 83 Linux


[so this is technically not a Pi, but a Pi clone, but I don't think lubuntu cares...at least that is my operating assumption...!]

Thanks!!!

Don
km4udx


Re: GPS time synchronization with several Pi's at different locations.

Siegfried Jackstien
 

let me do a guess ...

time of arrival of a signal ... measured precisely on several receiving stations ... to figure out the location of the transmitter

dg9bfc sigi

ps such things are done on adsb with planes ... additionally to their sending out of the position the time is measured (can be measured)

Am 16.10.2019 um 13:12 schrieb Michael WA7SKG:

Pico-seconds? Seriously? You need something like a $100k+ Cesium-beam clock to maintain that kind of accuracy. For a $35 computer? Basically unrealistic if not unobtainium.

I have worked on systems in the past (mostly classified) that required exceptional time accuracy, but even those were within a couple hundred microseconds and VERY expensive.

Really curious, however, please explain the purpose of such a beast. What on earth could possibly require that kind of time accuracy? I seriously doubt even warp speed navigation or sub-space communications needs that level of time synchronization.

Michael WA7SKG


Jeff Estal wrote on 10/15/19 6:44 PM:
I want to synchronize multiple raspberry pi's where each has it's own gps device.
They need to be extremely accurate. Something in the pico seconds range.

I have a cheap gps-usb device from Amazon and have been recieving data from it with python, but the time data only displays seconds always with .00 for any portion of the seconds which seems odd.

How might i approach this?
Is certain hardware better or worse?
When data is pulled from a gps device, is there timing considerations as to when to get the data or when to store it?
I"d probably need to also have a realtime clock to update.

thanks,


Re: GPS time synchronization with several Pi's at different locations.

Michael WA7SKG
 

Pico-seconds? Seriously? You need something like a $100k+ Cesium-beam clock to maintain that kind of accuracy. For a $35 computer? Basically unrealistic if not unobtainium.

I have worked on systems in the past (mostly classified) that required exceptional time accuracy, but even those were within a couple hundred microseconds and VERY expensive.

Really curious, however, please explain the purpose of such a beast. What on earth could possibly require that kind of time accuracy? I seriously doubt even warp speed navigation or sub-space communications needs that level of time synchronization.

Michael WA7SKG


Jeff Estal wrote on 10/15/19 6:44 PM:

I want to synchronize multiple raspberry pi's where each has it's own gps device.
They need to be extremely accurate. Something in the pico seconds range.
I have a cheap gps-usb device from Amazon and have been recieving data from it with python, but the time data only displays seconds always with .00 for any portion of the seconds which seems odd.
How might i approach this?
Is certain hardware better or worse?
When data is pulled from a gps device, is there timing considerations as to when to get the data or when to store it?
I"d probably need to also have a realtime clock to update.
thanks,


Re: GPS time synchronization with several Pi's at different locations.

Ray Wells
 

Having recently set up a RPi/GPS for the purpose of making a time server I learned that getting really accurate results requires more than just marrying a GPS to the RPi. For the record I wasn't after super accurate time, I only wanted to go through the exercise of seeing what I could end up with. I learned along the way that ...
1. the majority of USB GPS's are not capable of accurate time because they don't provide PPS. There are few exceptions but most convert RS232 to USB in the GPS and don't provide PPS
2. PPS is an absolute requirement for accurate time
3. Modern Linux kernels have "kernel pps" to minimise latency. Older kernels could be patched.
4. Navigation GPS units are not necessarily providers of really accurate time, timing grade GPS's are made for that purpose

My time server uses a uBlox LEA4 GPS which is not a timing standard unit, the uBlox MAX8 is MUCH better in that regard. My server is located in a steel clad shed with poor thermal stability and ntpstat currently reports 5mS accuracy, better than I need for my LAN. The RPi (model 2) is fitted with a DS2321 RTC, set up as per instructions on this site
http://www.trinityos.com/HAM/CentosDigitalModes/RPi/rpi2-setup.html

There are numerous places on the web to gather information about accurate time, hardware requirements, and instructional howtos. Many utilise the RPi.
https://www.lammertbies.nl/comm/info/GPS-time.html
https://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html
https://www.ntpsec.org/white-papers/stratum-1-microserver-howto/
https://www.febo.com/time-freq/index.html
https://en.wikipedia.org/wiki/Network_Time_Protocol

The third link above contains a link to suitable (and some unsuitable) GPS units. I followed the instructions on that site when setting up my RPi. To me, it seemed the most complete instructions ... and it worked.

Those links will answer questions you have asked, and questions you probably haven't thought about (;->)

HTH
Ray vk2tv

On 16/10/19 12:44 pm, Jeff Estal wrote:
I want to synchronize multiple raspberry pi's where each has it's own gps device.
They need to be extremely accurate. Something in the pico seconds range.

I have a cheap gps-usb device from Amazon and have been recieving data from it with python, but the time data only displays seconds always with .00 for any portion of the seconds which seems odd.

How might i approach this?
Is certain hardware better or worse?
When data is pulled from a gps device, is there timing considerations as to when to get the data or when to store it?
I"d probably need to also have a realtime clock to update.

thanks,


Re: GPS time synchronization with several Pi's at different locations.

 

If one chooses a different product, the key is PPS. If the DRAWS™ HAT set of features are not wanted, there are other PPS solutions from folks like Adafruit's Ultimate GPS HAT, which also provide PPS. 

NTPD to remote hosts are a lower Stratum than a GPS with PPS. 

On Tue, Oct 15, 2019, 21:06 Max via Groups.Io <kg4pid=yahoo.com@groups.io> wrote:
Why on earth would you recommend a $150 product just to get a GPS? While the DRAWS Hat is nice, it's way overpriced for what it does!

Max KG4PID 

On Tuesday, October 15, 2019, 09:09:13 PM CDT, John D Hays - K7VE <john@...> wrote:


You want GPS with PPS like the DRAWS™ HAT (see: http://NWDigitalRadio.com/draws)

Or a GPSDO

On Tue, Oct 15, 2019, 18:54 Jeff Estal <jeff.estal@...> wrote:
I want to synchronize multiple raspberry pi's where each has it's own gps device.
They need to be extremely accurate. Something in the pico seconds range.

I have a cheap gps-usb device from Amazon and have been recieving data from it with python, but the time data only displays seconds always with .00 for any portion of the seconds which seems odd.

How might i approach this?
Is certain hardware better or worse?
When data is pulled from a gps device, is there timing considerations as to when to get the data or when to store it?
I"d probably need to also have a realtime clock to update.

thanks,


Re: GPS time synchronization with several Pi's at different locations.

Max
 

You can't just read the time and expect it to be exact. You need to run something like NTP to set the system clock from the GPS. Even then NTP has to run for a while to be accurate. Here is output from ntpq -p on my time server.

*SHM(1)          .PPS.            0 l   33   64   377   0.0000   0.0049   0.1355
xSHM(0)          .GPS.            0 l    9   64   377   0.0000 -164.881   2.9651
+time-a-g.nist.g .NIST.           1 u   45   512  377  52.8595  -0.3803   0.9560
-time-a-wwv.nist .NIST.           1 u   32   512  377  71.1654   0.1656   1.6690
+time-a-b.nist.g .NIST.           1 u   20   512  377  70.2103   0.0453   0.4452
-time-e-wwv.nist .NIST.           1 u   34   512  377  74.7242  -1.8691   0.9848

The system clock is currently 0.0049 milliseconds or 4.9 microsecomds from being the exact time. But note it won't always be this accurate and will vary. One thing that varies greatly between GPSs is when the PPS pulse is generated in relationship to the serial data. But NTP figures that out. Also the more time sources NTP has the more accurate it will be. There are also other programs that will do the same thing.


Max KG4PID


On Tuesday, October 15, 2019, 08:54:24 PM CDT, Jeff Estal <jeff.estal@...> wrote:


I want to synchronize multiple raspberry pi's where each has it's own gps device.
They need to be extremely accurate. Something in the pico seconds range.

I have a cheap gps-usb device from Amazon and have been recieving data from it with python, but the time data only displays seconds always with .00 for any portion of the seconds which seems odd.

How might i approach this?
Is certain hardware better or worse?
When data is pulled from a gps device, is there timing considerations as to when to get the data or when to store it?
I"d probably need to also have a realtime clock to update.

thanks,

3981 - 4000 of 13330