Posts by dm4im

    mkfifo longmynd_status_fifo

    Yes, that's what i did.

    I hoped it runs on my linux based gigablue receiver, but no joy, the architecture is very different. Maybe i should buy a octagon.... For now, I'm happy being able to run it on a headless raspberry3 and watch it via UDP on my linux machine. Will also try to run it on an old raspberry 1 (or is it a 2? ) to see if that works. Now , if someone could set up a remote ....

    73, Martin

    Trying to remote longmynd from the DJ0ABR QO-100 WEBSDR and a Pluto fails, while it woks when longmynd is started "normally".

    Setup here: Raspberry Pi3 , Minitiouner, QO-100WEBSDR on Lubuntu 20.04.


    73, Martin

    Baris,

    tnx for great info. I got this error:

    It seems, longmynd wants to write into a file, so i created fifo longmynd_status_fifo , is that the way to go? The start looks ok now:

    But i don't see the stream on my vlc. What is the correct command to open the stream in vlc?

    EDIT: udp://@:1234 . It works!

    73,

    Martin

    Hello.

    Click View

    Click Select, the Button left to the GEOSTATIONARY BEACON Button.



    Check EXTERNAL RADIO. After Restart, you will find the External Radio Window left of the spectrum screen. Click ? to configure your Radio. 73, Martin


    Zur Info: Sogar ein raspberry2 funktioniert als USBIP-Server.

    Server: raspberry2 mit Minituner Pro V2

    EDIT 07.12.2022: Es ist tatsächlich ein Raspberry PI 1 !

    Client: raspberry3b+ mit 7" _Touchscreen und Portsdown4.


    Um den Minituner zwischen all den anderen USB-Geräten eindeutig identifizieren zu können, hilft dieser Trick:

    Editiere die Datei /usr/share/misc/usb.ids mit admin-Rechten, suche den Eintrag

    Code
    0403  Future Technology Devices International, Ltd  und darunter 6010  FT2232C/D/H Dual UART/FIFO IC
    und mache daraus 6010  Minitiouner FT2232C/D/H Dual UART/FIFO IC

    Die Ausgabe von usbip list -l ergibt dann zum Beispiel:

    pi@raspi4:~ $ usbip list -l

    - busid 1-1.1 (0424:ec00)

    Standard Microsystems Corp. : SMSC9512/9514 Fast Ethernet Adapter (0424:ec00)


    - busid 1-1.2 (0403:6010)

    Future Technology Devices International, Ltd : Minitiouner FT2232C/D/H Dual UART/FIFO IC (0403:6010)


    - busid 1-1.3 (0403:6010)

    Future Technology Devices International, Ltd : Minitiouner FT2232C/D/H Dual UART/FIFO IC (0403:6010)

    1-1.2 und 1-1.3 sind die benötigten BUS-ID's, die mit sudo usbip bind -b 1-1.2 bzw. sudo usbip bind -b 1-1.3

    an den Server gebunden und weitergereicht werden.


    73, Martin

    Mein RasPi4 ist weit vom Accespoint entfernt, darum LAN.

    Wenn das Notebook mit 'Virtual here' und 'Scan and Tioune' mit WLAN (starkes Signal) verbunden ist, ruckelt das Video oder bricht ab.

    LAN geht natürlich zuverlässiger als WIFI. Ich war überrascht, als ich feststellte, dass der USBIP Server das WLAN benutzt. Ich hatte vergessen, das Kabel anzuschliessen. Trotzdem ging es prima.

    Welchen Raspberry hast du verwendet, den RPI4 oder einen älteren Typ?

    Portsdown auf Raspberry 3B+ mit 7" Touch screen als USBIP Client.

    Der USBIP Server läuft auf RPI4 - ich hatte nichts anderes zur Hand ^^ . Ich hatte Portsdown 4 auch schon auf dem RPI4 mit einem 10,1" Touch screen laufen. Einen Test mit einem raspberry2 als USBIPServer werde ich noch machen.

    Wer testet, ob der Pluto auf diese Weise funktioniert?

    73, Martin

    Auch die Bake mit 1.5Ms ist flüssig und ohne ruckeln.

    Aber das wirklich faszinierende ist: Der raspberry , an dem der Minituner physikalisch angeschlossen ist, ist via WIFI im Netzwerk!

    OMs,

    ich möchte euch ermutigen, USBIP auszuprobieren. Ich habe das gerade installiert und der raspi mit dem Minituner forwarded die USB-Ports an den raspi, auf dem Portsdown läuft. Das geht.

    Gerade (18:00 Uhr, Ortszeit, Montag) habe ich dg0opk und dg4dul gesehen.

    Installationsanleitung und Betrieb hier: USBIP

    Die dort beschriebenen Linux-tools-generic gibt es für den raspi nicht, deshalb zum Installieren sudo apt-get install usbip ausführen, ansonsten alles wie dort beschrieben. Bin begeistert!


    73, Martin

    GM,

    das ist verwirrend. Im Post #1 schreibst du, der Laptop habe Win11 und es käme keine Verbindung zustande. In Post #2 schreibst du, der Laptop sei ok, der PC nicht.

    In Post #4 schreibst du, der PC mit Win10 geht, aber nicht der Laptop.


    Beide Computer können den Pluto mit ping sehen, richtig? Auf Ebene des Netzwerks also alles ok.

    Jetzt solltest du die Konfiguration auf Richtigkeit prüfen, vor allem die hinterlegten IP-Adressen und eventuell ob eine Firewall den Zugriff verhindert.

    73, Martin


    Edit: Du schriebst von Aussetzern. Vielleicht hilft das hier weiter:

    Netzwerk Tuning

    Deine Informationen sind sparsam.

    Welche IP-Adresse hat der PC?

    Passt die zum setup des Pluto?


    Kannst du die Kommandos in der angehängten Grafik ausführen? Ersetze dabei 192.168.0.1 durch die IP deines Pluto.



    Die Vergabe der festen IP führt beim Win11-Notebook zum Erfolg, aber auf dem PC hat Win11 ein Problem damit? Hm..

    Ein schneller Test, ob die Soundausgabe generell geht: Öffne ein Terminal und gib ein


    Code
    aplay /usr/share/sounds/alsa/Front_Center.wav

    Es sollte eine Soundausgabe erfolgen.

    Weiter solltest du diesen Artikel bei ubuntuusers.de (der Quelle fast meines gesamten Linux-Wissens) abarbeiten:

    https://wiki.ubuntuusers.de/Sound_Problembehebung/


    Dort wird auch empfohlen, pavucontrol zu installieren, eine grafische Oberfläche für die Sound-Bedienung.

    Viel Erfolg.

    73 , Martin

    Hi.

    The config-file still doesn't satisfy you? Ok, here's the solution for really lazy people: Generate a pair of keys and let the computers deal with them.


    In the Windows powershell from the link above, cd into the .ssh directory and have Windows generate public keys for authentication:

    cd C:\Users\<username>\.ssh

    Replace <username> with your user name , then type

    Code
    ssh-keygen -t rsa

    to generate the keys.

    When prompted for the filename, passphrase and repeat passphrase, just hit ENTER to confirm.

    This stores 2 encrypted files on your computer, one to be used localy, the other one to be transfered to the remote machine.

    To transfer the file to the remote machine, copy and paste or enter this line, including the word "type":

    Code
    type $env:USERPROFILE\.ssh\id_rsa.pub | ssh pi@192.168.0.39 "mkdir .ssh/ && cat >> ./ssh/authorized_keys"

    all in a single line.

    Replace pi@192.168.0.39 with your data.

    This creates the directory .ssh and a file named authorized_keys , then copies the content of the key-file to your remote machine. You will be prompted for the password. If you get an error: mkdir: cannot create directory '.ssh/' File exists , omit mkdir .ssh/ &&

    That's it. Next time you log on, you just need to type ssh pi@192.168.0.39 or ssh raspi , if you have created a config-file.

    Client and server handle authorization automagic.



    You can do the same from linux to linux, just the routine to copy the keys is a bit smarter: The command is

    ssh-copy-id -i ~/.ssh/id_rsa.pub user@server


    You can copy the keys to multiple machines, not only one.

    73, Martin


    Edit: This generates a key with a length of 2048 (3072) bit. For safety reasons, you should generate a key with 4096 or more bit.

    So call ssh-keygen like this:  ssh-keygen -t rsa -b 4096  (or 8192) 

    Hi.

    You always struggle to remember ip-address and username for < what ever computer > when working with ssh? Have so many of them it became a PITA? Here is a solution.

    Win10 users (if you have installed the october 2018 update) have everything at hand. No need to install PuTTy. Just click START, then type powershell. A window will open , click on powershell.exe . You are now in the command line window. Type ssh pi@192.168.0.27 (if you are accessing a raspberry with the ip-address 192.168.0.27). You will be prompted for the password.

    Now quit the ssh-session by leaving your raspberry: Type quit.

    Boring so far, isn't it? You still have to remember ip and username. But wait..

    Type cd \users\your_username_on_your_win10\.ssh to enter the directory named .ssh

    Don't forget the dot before .ssh

    Type notepad to open notepad.exe . Fill in a list of all your computers, plutos or other ssh accessible machines, like this:


    Host raspi

    Hostname 192.168.0.27

    user pi


    Host pluto

    Hostname 192.168.0.2

    user root


    Host odroid

    Hostname 192.168.0.38

    user martin


    Host db0iuk

    Hostname 44.225.xxx.yyy # hamnet-ip obscured for safety

    port 1186 # if not using default ssh port 22

    user administrator


    etc..etc..


    Name this file "config" and save it under C:\users\<username>\.ssh . Windows always puts a file-extension after a filename, so after save, you must rename this file by hand from config.txt to config :

    ren config.txt config

    You're done.

    Next time you ssh to your raspberry, just open powershell, type "ssh raspi" and voila, you are connected to your machine and will be prompted for the password.


    73, Martin


    P.S. This also works if you access from a linux. The path to the file is /home/<user>/.ssh/config

    Apple runs sort of linux under it's shiny hood, so i think it will work the same, but not sure.