not sure what the picture is saying...
opening /dev/urandom should give you data.
from a terminal, what happens if you issue:
sh-4.4$ ls -l /dev/urandom
crw-rw-rw- 1 root root 1, 9 Jul 30 2021 /dev/urandom
crw-rw-rw- 1 root root 1, 9 Jul 30 2021 /dev/urandom
getting 1024 bytes from it:
sh-4.4$ dd if=/dev/urandom of=fred bs=1 count=1024
1024+0 records in
1024+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00284394 s, 360 kB/s
1024+0 records in
1024+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00284394 s, 360 kB/s
should result in something such like:
sh-4.4$ ls -l fred
-rw-r--r-- 1 barbo barbo 1024 May 16 14:22 fred
sh-4.4$ ls -l fred
-rw-r--r-- 1 barbo barbo 1024 May 16 14:22 fred
On Mon, May 16, 2022 at 2:24 PM user 1 <gnuradio@onditech.com> wrote:
Hi Steven,
Thank you for your suggestion, but /dev/urandom is an empty file ????
See Screenshot_3
jeff
------------------
Le 16/05/2022 à 16:41, Steven Barbo a écrit :
> Howdy Jeff.
> What happens if you use /dev/urandom as file source?
>
> On Mon, May 16, 2022 at 9:09 AM user 1 <gnuradio@onditech.com
> <mailto:gnuradio@onditech.com>> wrote:
>
> Hello Cinaed,
>
> Unfortunately scheme doesn't work, even with a bin file.
>
>
>
> jeff
>
>
> ------------------------------
>
> Le 16/05/2022 à 12:06, Cinaed Simson a écrit :
> > Hi Jeff - the error indicates the file source has the wrong data
> type,
> > i.e. it may not be binary data.
> >
> > If the input file contains hex numbers, then you need to convert
> each
> > hex number to a binary number and concatenate them.
> >
> > -- CInaed
> >
> >
> > For instance, 40 hex is equivalent to 01000000 binary.
> >
> > For instance,
> >
> > On 5/16/22 00:46, user 1 wrote:
> >> Hi,
> >>
> >> Somebody could tell me why this simple scheme doesn't work (see the
> >> screenshots)?
> >>
> >> File Source ---> Throttle ---> File Sink
> >>
> >>
> >> I work under Ubuntu 20.04.4 LTS and GnuRadio 3.9.6
> >>
> >>
> >> This scheme worked fine in the past with previous releases of
> GnuRadio.
> >>
> >>
> >> Thank you for your help.
> >>
> >>
> >>
> >> Jeff
> >
>
>
>
> --
> If something is requisite, how can it possibly be, prerequisite?
>
> vanitas vanitatum omnia vanitas
> later, steve
> http://umn.edu/~barbo <http://umn.edu/~barbo>
If something is requisite, how can it possibly be, prerequisite?
later, steve
http://umn.edu/~barbo
No comments:
Post a Comment