Go to advanced search

by sporex
Sat Oct 24, 2020 11:27 am
Forum: Advanced users
Topic: RPi SAMBA share in ACTIVE DIRECTORY environement
Replies: 4
Views: 207

Re: RPi SAMBA share in ACTIVE DIRECTORY environement

Thanks for your reply. I was reading the tutorial and I was using the very first example for smb.conf with parameter "read only = yes" This is exactly how it's supposed to be: anybody can read, nobody can write or delete anything. If access from within an AD domain is possible then I will be absolut...
by sporex
Mon Oct 19, 2020 8:52 am
Forum: Advanced users
Topic: RPi SAMBA share in ACTIVE DIRECTORY environement
Replies: 4
Views: 207

Re: RPi SAMBA share in ACTIVE DIRECTORY environement

"Are you sure that worked with a workgroup ?" Yes I am very sure. Honestly, I was setting the parameters following a tutorial without knowing exactly what I do. "It will also work in a domain, but why not join it to the domain ?" If it works in the scenario that I described I will be comfortable. Th...
by sporex
Sun Oct 18, 2020 10:11 am
Forum: Advanced users
Topic: RPi SAMBA share in ACTIVE DIRECTORY environement
Replies: 4
Views: 207

RPi SAMBA share in ACTIVE DIRECTORY environement

Hi there, I have a RPi with a SAMBA shared directory (with csv files) The RPi will be used in a corporate network where workstations should be able to read from the share on the RPI. Those workstation will be part of an Active Directory Domaine while the RPi will NOT be part of the domaine. Will the...
by sporex
Sat Feb 15, 2020 4:28 pm
Forum: Networking and servers
Topic: Raspi as a simple WAN emulator
Replies: 4
Views: 1560

Re: Raspi as a simple WAN emulator

Yes, I verified with PING and wireshark. Both confirmed that latency and packet loss are correctly implemented.
by sporex
Sat Feb 15, 2020 1:30 pm
Forum: Networking and servers
Topic: Raspi as a simple WAN emulator
Replies: 4
Views: 1560

Raspi as a simple WAN emulator

I was looking for a simple solution to emulate WAN impairments like latency and packet loss. The WAN emulator shall be inserted in the LAN cabling between two hosts. So what is needed is: - a Raspi - an additional USB NIC - bridge-utils - Linux traffic control (tc) which should be included in debian...
by sporex
Fri Oct 25, 2019 5:17 pm
Forum: Troubleshooting
Topic: Multicast Ping Tool, is there one?
Replies: 2
Views: 256

Re: Multicast Ping Tool, is there one?

Can't they ping the multicast address? E.g. "ping 224.0.0.251" and get mDNS nodes to respond. Otherwise I suppose socat can help. Ok, you mean that they should send a ping to the MC adress from all the 40 Rpi units? If there is a response then it is the proof that MC works. This would be in fact a ...
by sporex
Fri Oct 25, 2019 3:37 pm
Forum: Troubleshooting
Topic: Multicast Ping Tool, is there one?
Replies: 2
Views: 256

Multicast Ping Tool, is there one?

I have an application that sends UDP Multicast messages into a routed network of 40 RPi units and expects a response from each of this units via UDP unicast. The IP network routers of the customer are not yet configured for MC. The customer is far away from my location, so I would prefer to send the...
by sporex
Sat Oct 05, 2019 5:09 pm
Forum: Advanced users
Topic: How to monitor console through SSH
Replies: 4
Views: 508

Re: How to monitor console through SSH

OK, thanks.
I willi nvestigate in tmux and screens.
Do you have a personal preference?

Regards
by sporex
Sat Oct 05, 2019 4:57 pm
Forum: Advanced users
Topic: How to monitor console through SSH
Replies: 4
Views: 508

How to monitor console through SSH

I am running a headless pi with several self designed processes that are started upon boot in rc.local. All this PID's output textual messages to the console. What I would like to achieve is to redirect the console output of a certain PID to a SSH session for debugging. The solution should be lightw...
by sporex
Mon Sep 16, 2019 1:37 pm
Forum: Troubleshooting
Topic: ALSA : arecord without root priviledges
Replies: 0
Views: 140

ALSA : arecord without root priviledges

I have noticed that the user "pi" can only invoke ALSA arecord with root priviledges (sudo). User pi is member of the audio group (sudo adduser pi audio). Is there a way to change this? The reason why I am asking this: I am writing an application (Free Pascal) that starts/stops arecord as an externa...
by sporex
Sun Sep 08, 2019 3:12 pm
Forum: Troubleshooting
Topic: How to avoid real time priority in raspbian jessie
Replies: 1
Views: 191

How to avoid real time priority in raspbian jessie

I have a process that grants itself real time priority (PR= -81 for the PID) no matter how I invoke it (sudo / no sudo). Is there a way to avoid this? I am asking this, because I want to control (execute/terminate) this process by an external SW. The problem is that the real time priority consumes a...
by sporex
Fri May 31, 2019 6:18 pm
Forum: General discussion
Topic: Acoustic Echo cancellation for Raspberry Pi
Replies: 6
Views: 2718

Re: Acoustic Echo cancellation for Raspberry Pi

I can recommend the MT102 board as a hardware solution. See www.phnxaudio.com It can be connected to the USB ports and is detected as a USB ALSA device by raspbian. To make it work correctly, certain limitations on sampling rate have to be respected (16000Hz). It performs AEC, background noise supre...
by sporex
Tue Nov 27, 2018 11:16 am
Forum: Troubleshooting
Topic: phantom USB stick
Replies: 3
Views: 436

Re: phantom USB stick

/media/USB must exist in order for a mount in /etc/fstab to work. A mount point is just a directory somewhere in the filesystem. Assuming permissions don't prevent it, you can write to /media/USB/foo when nothing is mounted there. In this case writes (and reads) are from whatever filesyatem and stor...
by sporex
Mon Nov 26, 2018 5:29 pm
Forum: Troubleshooting
Topic: phantom USB stick
Replies: 3
Views: 436

phantom USB stick

I have a headless Jessie Image (SD-card = read-only) that I want to distribute to 40 units. The image is running a apache2 server and a SW that writes HTML data to a mounted USB stick. The USB is mounted at boot in /etc/fstab with the following command: LABEL=PINGLOG /media/USB vfat utf8,uid=www-dat...
by sporex
Fri Jul 20, 2018 5:28 pm
Forum: Raspberry Pi OS
Topic: one hw-resource for multiple processes : Raspbian
Replies: 0
Views: 200

one hw-resource for multiple processes : Raspbian

Sorry if this is a beginners question : is it possible to use a single HW resource for multiple processes? To be more precise : I'am streaming the microphone input of a USB sound card (ALSA) to a distant IP adress (RTP/UDP). This is already existing. So this is the process that has taken the ALSA ca...
by sporex
Mon Jun 25, 2018 1:16 pm
Forum: Graphics, sound and multimedia
Topic: Audio Stream Low Latency
Replies: 14
Views: 12571

Re: Audio Stream Low Latency

Try this Regards Jakobsen 1. Make sure you compile against this implementation / version of ortp ortp-0.22.0.tar.gz Get it from here : http://download.savannah.nongnu.org/releases/linphone/ortp/sources/ 2. I changed the opus encoder / decoder to int16 from float - due to my audio devices was simple...
by sporex
Thu Jan 25, 2018 11:57 am
Forum: Raspberry Pi OS
Topic: manual reset UART
Replies: 0
Views: 461

manual reset UART

Hello, I am debugging a program (FreePascal) that connects to the serial port. The trouble is, that when I stop debugging, the serial port remains in the "connected state" and is unusable for any subsequent debugging session. Thus I have to reboot the RPi any time, before starting a new session. Doe...
by sporex
Mon Oct 16, 2017 7:46 am
Forum: Graphics, sound and multimedia
Topic: usb card gets hot
Replies: 5
Views: 1644

Re: usb card gets hot

I had the same problem and I found out that the 3.5mm output jack must NOT be directly connected to any ground! Hope this will resolve the problem.
by sporex
Thu Jan 19, 2017 9:27 am
Forum: Troubleshooting
Topic: Turning off Raspberry PI without proper shutdown
Replies: 19
Views: 29548

Re: Turning off Raspberry PI without proper shutdown

So I assume using a RPi3 and boot it via network, can NOT be a solution in this case? Could be a solution, but would not be the optimal one, as there are chances that the network is not entirely available at boot of the device. (LAN segments are spread over a number of microwave links) In the past ...
by sporex
Wed Jan 18, 2017 4:26 pm
Forum: Troubleshooting
Topic: Turning off Raspberry PI without proper shutdown
Replies: 19
Views: 29548

Re: Turning off Raspberry PI without proper shutdown

This is an interesting problem. I have never done this but I do have an idea which I think could work. The idea would be to create a ram drive in memory (ramfs) which you transfer a system to. You then chroot that as the main drive and then unmount the SD card ext4 partition. Do all that at boot ti...
by sporex
Sun Oct 16, 2016 2:12 pm
Forum: Other projects
Topic: Audiolink Project
Replies: 26
Views: 20839

Re: Audiolink Project

What is "aplay -l" showing you?

Next try "speaker-test -D plughw:1,0 ...."
by sporex
Sat Oct 15, 2016 7:03 pm
Forum: Other projects
Topic: Audiolink Project
Replies: 26
Views: 20839

Re: Audiolink Project

snd_pcm_open: No such file or directory I would argue, you used the wrong audio device. In my case, I have two USB sound adapters connected: (card0 and card1) Type aplay -l card 0: Set_1 [C-Media USB Headphone Set], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0 card 1: S...
by sporex
Thu Sep 01, 2016 5:01 pm
Forum: Other projects
Topic: Audiolink Project
Replies: 26
Views: 20839

Re: Audiolink Project

The only flaw is that voice becomes unintelligible after some hours and tx must be restarted.
I have to add some corrections: I apparently compiled the 2012 version of TRX.
Now, after downloading and compiling the 2014 source code, the problem is solved.
by sporex
Wed Aug 31, 2016 11:41 am
Forum: General discussion
Topic: trx won't make: alsa libraries not found
Replies: 3
Views: 1223

Re: trx won't make: alsa libraries not found

1.) apt-get install libopus-dev libortp-dev
2.) make
by sporex
Fri Aug 26, 2016 1:05 pm
Forum: Other projects
Topic: Audiolink Project
Replies: 26
Views: 20839

Re: Audiolink Project

Does anybody has done this with two raspberries? Yes. I am presently running a setup with two raspberries, each one running tx and rx (by Mark Hills) It provides a full duplex voice channel with very low latency. Only thing to observe: the rx part has to be launched before the tx part on the other ...

Go to advanced search