Skip to content

Tag: raspberry-pi

TCP client cannot connect to TCP server

I have configured a Raspberry Pi to be client, and my personal computer to be TCP server, and trying to connect to server via an ethernet cable. On my personal computer I use Comm Operator and select port “1234”. Raspberry Pi (TCP client) has following setup: Raspberry Pi (TCP client) has the foll…

PHP isn’t able to read file

I’m stuck trying to open a file with fopen in php. I checked following items: chmod for statuseing.php 0777 owner is www-data with groud www-data script is running as user www-data groups are uid=33(www-data) gid=33(www-data) groups=33(www-data) pwd is /var/www/html as expected the path the scripts want…

Mono executes program with wrong current directory

I have a strange problem. I have written a custom spamfilter in C# .NET 4.6 for personal use. And I put this program up to my Raspberry Pi. I have tested many times the program, and everything worked fine, but when I created a cronjob I have noticed that the program never writes log. As I started to test agai…

How to access the Raspberry Pi Zero though SSH

I’m trying to remotely access my Raspberry Pi Zero using SSH. The raspberry’s OS is Raspbian Jessy Lite (so no desktop enviornment, only the command line). I connected the raspberry to the Internet using an Android phone with USB-tethering (the raspberry pi zero doesn’t have an ethernet port…