FRN4Pi - FRNraspberryFree Radio Network for Raspberry Pi DER ROTE FADEN ... ... LOS GEHTS >>> ... HABE FERTIG (DOWNLOAD) DANKE AN (THANKS TO ...) L?SUNGEN (FAQ).... PARTNER Die Einstellungen (Settings) UPDATE: 25.04.2016 (DHCP or Static IP DNS) if you have a Static IP, it can happen that the DNS is not registered. please install via SSH INFO: " rw " RootFileSystem change to ReadWrite Mode " ro " RootFileSystem change to ReadOnly Mode $:> rw $:> sudo apt-get update $:> sudo apt-get -f install resolvconf $:> sudo depmod $:> sudo sync $:> ro ... and Fixed - - - - - example for Static IP Cable (eth0) and DHCP for WiFi (wlan0) - - - - - # FILE: /etc/network/interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.5.240 netmask 255.255.255.0 gateway 192.168.5.1 dns-nameservers 192.168.5.1 allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa.conf # Dynamic wpa.conf via WebIF :: DO NOT EDIT THIS FILE BY HAND - - - - - example END - - - - - UPDATE: 17.04.2016 (GPIO ERROR) ERROR: RADIO: OPEN DEVICE: 17:GPIO_Export: error [5] of opening file "/sys/class/gpio/export": i/O error for the moment the quick Solution: via SSH $:> rw $:> sudo sed -i 's/-u www-data -g www-data -c www-data:www-data//' /etc/init.d/frn4pi-rc.d $:> ro and then Re-Save via WebIF your Settings UPDATE: 13.03.2016 (sounds: roger and so ...) Servus, Fragen und L?sungen ... (Questions and Solutions ...) ;-) Richtige Zeitzone einstellen ( f?r alle ) L?sung: ssh login oder direkt ... dann in der Konsole folgendes eingeben .... sudo dpkg-reconfigure tzdata **EDIT 24.12.2015 Meldung von Aschi (SchweizerFRN) > v1r007 < Fehlermeldung: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, chunk 3. Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, chunk 3. Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, chunk 3. Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, chunk 3. Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, chunk 3. debconf: DbDriver "config": mkdir :No such file or directory L?sung: weil die tzdata- & debconf- Pakete besch?digt sind .... ssh login oder direkt ... dann in der Konsole folgendes eingeben .... 1.) manuelle Installation von DebConf 2.) tzData Reinstallieren 3.) tzData ReCFG cd /tmp sudo wget -c -q "http://mirrordirector.raspbian.org/raspbian/pool/main/d/debconf/debconf_1.5.58_all.deb" sudo dpkg -i debconf_1.5.58_all.deb sudo apt-get upgrade sudo apt-get update sudo apt-get -f --reinstall install tzdata sudo dpkg-reconfigure tzdata Der ALSAMixer ist im Image vergessen worden ( < v1r004 ) L?sung: ssh login oder direkt ... dann in der Konsole folgendes eingeben .... sudo apt-get update sudo apt-get -f install alsa-utils FTDI AN2xx Driver ( < rev. 6) | nur wenn es gebraucht wird (only when it is needed) | L?sung: Install FTDI-VCP Driver ... ssh login oder direkt ... dann in der Konsole folgendes eingeben .... sudo /opt/ftdi_vcp/install.sh sudo reboot AUDIO Settings ... amixer -c 0 sset Mic playback 0% 2>&1 >/dev/null amixer -c 0 sset Speaker playback 80% 2>&1 >/dev/null amixer -c 0 sset Mic capture 100% 2>&1 >/dev/null amixer -c 0 sset "Auto Gain Control" playback off 2>&1 >/dev/null # (Mic to Line Input) --->> Hier geht es zu den Einstellungen (Settings) <<--- Sounds: send sound file to FRN-Raspberry via (shell/bash/console) with SCP or WinSCP attention! the directory must be actually exist master@FRN4PI-host:~$ mkdir -p /home/frn/sound # (create directory) master@FRN4PI-host:~$ scp roger.wav frn@[IP of YOUR FRN-Raspberry]:/home/frn/sound SoundsDir: [ /home/frn/sounds ] // for example, who saved sound-files SoundRoger: [ roger.wav ] // then use this file, if field empty, then play standard sound EnableRoger: [ YES/NO ] // then NO -> play nothing | then YES play (SoundRoger: file) Confirmation tone (RF IN): SoundCourtesy: [ file.wav ] // same as above EnableCourtesy: [ YES/NO ] // same as above [ The wave file should be formatted ] - mono - 8kHz Sampling - PCM or GSM codec (GSM 6.1 WAV49) Callsign [ IMMER IN GROSS BUCHSTABEN ] Audio werden auf der ?bersicht im Web-Frontend gezeigt... (Gateway gestoppt) InDevice [ ALSA:sysdefault ] OutDevice [ ALSA:default ] 1.) RS-232 1=high 0=low PTT [ COM:/dev/ttyUSB0:RTS:0 ] PTT [ COM:/dev/ttyUSB0:RTS:1 ] COS [ COM:/dev/ttyUSB0:CTS:0 ] COS [ COM:/dev/ttyUSB0:CTS:1 ] LIGHT [ kann frei bleiben bei USB-RS232 ] 2.) GPIO 1=high 0=low PTT [ GPIO:17:gpio17:0 ] PTT [ GPIO:17:gpio17:1 ] COS [ GPIO:22:gpio22:0 ] COS [ GPIO:22:gpio22:1 ] LIGHT [ kann frei bleiben bei GPIO ] 3.) VOX settings view over ssh ... - Audio Level for LIGHT (no modulation) /opt/frn4pi.org/frn4pi audiolevel - then modulation for COS :: for testing when COS is activated /opt/frn4pi.org/frn4pi checkinput:VOX:2000 PTT [ wie bei RS-232/GPIO ] COS [ VOX:2000 ] LIGHT [ VOX:100 ] Copyright © 2021 & Programmierung by Rigo (alias Adlershadow) & Alexander SaalTheme by Zymphonies