Fehler bei nc -lk 10000|svxlink

  • Hallo...

    Ich bekomme immer eine fehlermeldung wenn ich svxlink so starten will.

    sudo nc -lk 10000|svxlink


    SvxLink v1.4.99.21 (Jun 5 2015) Copyright (C) 2003-2015 Tobias Blomberg / SM0SVX

    SvxLink comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
    welcome to redistribute it in accordance with the terms and conditions in the
    GNU GPL (General Public License) version 2 or later.

    Using configuration file: /etc/svxlink/svxlink.conf
    --- Using sample rate 48000Hz

    Starting logic: RepeaterLogic70cm
    ATTENTION: This version is supporting an additional NetTrxMsg-command to control the ctcss-tone on the tx. So a problem with the recent version of SvxServer may occur.
    TX_CTCSS_ON_RX
    Loading RX: Voter70cm
    Adding receiver: Rx-70cm
    Loading TX: MultiTx70cm
    Adding transmitter: Tx-70cm
    open serial port: Permission denied
    *** ERROR: Could not initialize TX "MultiTx70cm"
    svxlink: /home/svxlink/svxlink/src/svxlink/svxlink/LinkManager.cpp:335: void LinkManager::deleteLogic(Logic*): Assertion `lmit != logic_map.end()' failed.

    mfg DO7SK - Sven

  • Hallo Sven,

    die Meldung

    Quote

    open serial port: Permission denied

    deutet darauf hin, dass Du ein Berechtigungsproblem mit dem Serial Port hast. Prüfe, ob der Port für den Benutzer bzw. die Benutzergruppe freigegeben ist, die auch den svxlink - Prozess startet. Das sudo in Deinem Befehl bezieht sich m.E. nur auf den Teil vor dem Piping

  • Hallo Frank,

    wenn ich svxlink normal starte geht es.

    :~$ ls -l /dev/ttyUSB*
    crw-rw---T 1 root dialout 188, 0 Okt 27 14:35 /dev/ttyUSB0
    :~$ ls -l /dev/tty*
    crw-rw-rw- 1 root root 5, 0 Okt 27 14:35 /dev/tty
    crw------- 1 root root 4, 0 Okt 27 14:35 /dev/tty0
    crw-rw---- 1 root tty 4, 1 Okt 27 14:35 /dev/tty1
    crw------- 1 root root 4, 10 Okt 27 14:35 /dev/tty10
    crw------- 1 root root 4, 11 Okt 27 14:35 /dev/tty11
    crw------- 1 root root 4, 12 Okt 27 14:35 /dev/tty12
    crw------- 1 root root 4, 13 Okt 27 14:35 /dev/tty13
    crw------- 1 root root 4, 14 Okt 27 14:35 /dev/tty14
    crw------- 1 root root 4, 15 Okt 27 14:35 /dev/tty15
    crw------- 1 root root 4, 16 Okt 27 14:35 /dev/tty16
    crw------- 1 root root 4, 17 Okt 27 14:35 /dev/tty17
    crw------- 1 root root 4, 18 Okt 27 14:35 /dev/tty18
    crw------- 1 root root 4, 19 Okt 27 14:35 /dev/tty19
    crw-rw---- 1 root tty 4, 2 Okt 27 14:35 /dev/tty2
    crw------- 1 root root 4, 20 Okt 27 14:35 /dev/tty20
    crw------- 1 root root 4, 21 Okt 27 14:35 /dev/tty21
    crw------- 1 root root 4, 22 Okt 27 14:35 /dev/tty22
    crw------- 1 root root 4, 23 Okt 27 14:35 /dev/tty23
    crw------- 1 root root 4, 24 Okt 27 14:35 /dev/tty24
    crw------- 1 root root 4, 25 Okt 27 14:35 /dev/tty25
    crw------- 1 root root 4, 26 Okt 27 14:35 /dev/tty26
    crw------- 1 root root 4, 27 Okt 27 14:35 /dev/tty27
    crw------- 1 root root 4, 28 Okt 27 14:35 /dev/tty28
    crw------- 1 root root 4, 29 Okt 27 14:35 /dev/tty29
    crw-rw---- 1 root tty 4, 3 Okt 27 14:35 /dev/tty3
    crw------- 1 root root 4, 30 Okt 27 14:35 /dev/tty30
    crw------- 1 root root 4, 31 Okt 27 14:35 /dev/tty31
    crw------- 1 root root 4, 32 Okt 27 14:35 /dev/tty32
    crw------- 1 root root 4, 33 Okt 27 14:35 /dev/tty33
    crw------- 1 root root 4, 34 Okt 27 14:35 /dev/tty34
    crw------- 1 root root 4, 35 Okt 27 14:35 /dev/tty35
    crw------- 1 root root 4, 36 Okt 27 14:35 /dev/tty36
    crw------- 1 root root 4, 37 Okt 27 14:35 /dev/tty37
    crw------- 1 root root 4, 38 Okt 27 14:35 /dev/tty38
    crw------- 1 root root 4, 39 Okt 27 14:35 /dev/tty39
    crw-rw---- 1 root tty 4, 4 Okt 27 14:35 /dev/tty4
    crw------- 1 root root 4, 40 Okt 27 14:35 /dev/tty40
    crw------- 1 root root 4, 41 Okt 27 14:35 /dev/tty41
    crw------- 1 root root 4, 42 Okt 27 14:35 /dev/tty42
    crw------- 1 root root 4, 43 Okt 27 14:35 /dev/tty43
    crw------- 1 root root 4, 44 Okt 27 14:35 /dev/tty44
    crw------- 1 root root 4, 45 Okt 27 14:35 /dev/tty45
    crw------- 1 root root 4, 46 Okt 27 14:35 /dev/tty46
    crw------- 1 root root 4, 47 Okt 27 14:35 /dev/tty47
    crw------- 1 root root 4, 48 Okt 27 14:35 /dev/tty48
    crw------- 1 root root 4, 49 Okt 27 14:35 /dev/tty49
    crw-rw---- 1 root tty 4, 5 Okt 27 14:35 /dev/tty5
    crw------- 1 root root 4, 50 Okt 27 14:35 /dev/tty50
    crw------- 1 root root 4, 51 Okt 27 14:35 /dev/tty51
    crw------- 1 root root 4, 52 Okt 27 14:35 /dev/tty52
    crw------- 1 root root 4, 53 Okt 27 14:35 /dev/tty53
    crw------- 1 root root 4, 54 Okt 27 14:35 /dev/tty54
    crw------- 1 root root 4, 55 Okt 27 14:35 /dev/tty55
    crw------- 1 root root 4, 56 Okt 27 14:35 /dev/tty56
    crw------- 1 root root 4, 57 Okt 27 14:35 /dev/tty57
    crw------- 1 root root 4, 58 Okt 27 14:35 /dev/tty58
    crw------- 1 root root 4, 59 Okt 27 14:35 /dev/tty59
    crw-rw---- 1 root tty 4, 6 Okt 27 14:35 /dev/tty6
    crw------- 1 root root 4, 60 Okt 27 14:35 /dev/tty60
    crw------- 1 root root 4, 61 Okt 27 14:35 /dev/tty61
    crw------- 1 root root 4, 62 Okt 27 14:35 /dev/tty62
    crw------- 1 root root 4, 63 Okt 27 14:35 /dev/tty63
    crw------- 1 root root 4, 7 Okt 27 14:35 /dev/tty7
    crw------- 1 root root 4, 8 Okt 27 14:35 /dev/tty8
    crw------- 1 root root 4, 9 Okt 27 14:35 /dev/tty9
    crw-rw---T 1 root dialout 4, 64 Okt 27 14:35 /dev/ttyS0
    crw-rw---T 1 root dialout 4, 65 Okt 27 14:35 /dev/ttyS1
    crw-rw---T 1 root dialout 4, 66 Okt 27 14:35 /dev/ttyS2
    crw-rw---T 1 root dialout 4, 67 Okt 27 14:35 /dev/ttyS3
    crw-rw---T 1 root dialout 188, 0 Okt 27 14:35 /dev/ttyUSB0


    MFG DO7SK -Sven

  • Hallo Sven,

    der User svxlink muß Mitglied in der Gruppe dialout sein um Zugriff auf das Gerät zu haben.
    Du findest die Zurodnung in der Datei/etc/group.

  • Hallo Frank,

    Wenn ich das richtig sehe bin ich in den richtigen Gruppen.

    id

    uid=1000(svxlink) gid=1000(svxlink) Gruppen=1000(svxlink),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev)


    MFG DO7SK - Sven

  • Hallo Frank.

    Ich weis es nicht habe mal ein reboot gemacht jetzt geht es.

    Nur was noch nicht richtig geht ist das mit dem hinsenden der Befehle über echo da kommt noch nichts an.

    DO7SK - Sven