![]() If connection is OK and if you can do a "sudo su" we continue by remove the default "pi" account : You can now test it via a new SSH connection ( dont touch at the PI SSH windows for the moment ). Usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi bastien I create new user and put the user in groups : useradd -p -d /home/bastien/ -m bastien Or this command for exemple to generate a password : openssl rand -base64 16Ĭhange pi by your user here : bastien ALL=(ALL) NOPASSWD: ALL We start by define a new user here it's "bastien", and a password ( by using ) We connect with "pi" user and we go to root user : sudo su Now we have remote access on PI, we can secure it and install what we want. If you need to play a test sound use these commands for exemple : speaker-test -t sine -f 1750Īplay /usr/share/sounds/alsa/Front_Center.wav Reboot your PI and now you can launch sound mixer : alsamixerĪnd later, you will have to ajust HP and MIC levels. So i put this configuration : vim /usr/share/alsa/nf **** List of PLAYBACK Hardware Devices ****Ĭard 1: Device, device 0: USB Audio I create these file to disable PI sound card : vim /etc/modprobe.d/nfĪfter that i configure ALSA sound part with these commands : aplay -l To see what sound card you have, simply do a : lsusb command. Bus 001 Device 003: ID 0d8c:013c C-Media Electronics, Inc. Here i'm using a small USB sound card CM108 chipset ( less thant 10 euros ), so we disable the PI sound card and configure these USB card. You will also have to open Internet visible ports on your Internet router/box. With this matrix, you will have now to open the port on the server firewall for your LAN, WAN REMOTE IP and or VPN clients IP, Server portsįor MUMBLE software only if you run sound server on the remote server, else your remote server will use Internet VOIP instance, note that MUMBLE can force only to TCP. ![]() ![]() Your remote station will present network ports to be controlled, so I created this table which will help you to implement network flows (on your Internet router / on your local FIREWALL), Note if you have VPN system, you will only have to implement this matrix on the remote station server FIREWALL. This guide explain how to setup the control of your ham radio station remotely with a LINUX RASPBERRY PI.ġ.0.0 : Historical my remote station (in 2009) running on Windows OS : i've test HRD server/SKYPE and VOX (VOX interface run on FT290 made by Jean F6HCC), i've also check MUMBLE/SKYPE (in 20210) and then migrate to FT897 TRX.ġ.0.1 : Remote station is now 100% LINUX (2019), first test with PI1 + FT897 and VOX, using PTT commutation via CAT-SYSTEM protocol.ġ.0.2 : Migrate PI1 to PI4 (Agust 2020), add systemd service for CAT system on the PI.ġ.0.3 : Testing FLRIG on WINDOWS and OPEN-VPN add also VFO Button, sound part running with SEREN VOIP.ġ.0.4 : Automate LINUX client/server setup (09/2020).ġ.0.5 : Add UFW firewall ( replace old SHOREWALL firewall ).ġ.0.6 : Translate doc to english, add graphical Interface, digital modes setup and replace Seren by Mumble (for VOIP).Ģ.2.3 Create user and remove default user ![]()
0 Comments
Leave a Reply. |