Skip to content
Advertisement

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 following script to connect: And frankly, it get

Running a program in linux (debian) on startup

I would like to point out that I tried A LOT of different tutorials from the internet but they don’t seem to work… Adding stuff to init.d, rc.local etc. for some reason it doesn’t work. I’m really desperate to get this done, but I’m a total noob when it comes to linux. when I type in “matchbox-keyboard” it runs just

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’s to open is correct checked openbase dir in php.ini showed in phpinfo(), added /var/www/html,

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 again

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, I tried with a Zydas WiFi dongle but I couldn’t make it

Raspberry Pi create user with one file permission

I know how to create a new user on the Pi with all the same privileges as pi from this: https://raspberrypi.stackexchange.com/questions/7133/how-to-change-pi-sudo-permissions But how do you create a user with just one file permission? I mean that I want to create a user Alice that can only edit / rm / scp / the file /etc/wpa_supplicant/wpa_supplicant.conf. I don’t want them to

Undefined references when linking with gcc -lnetsnmp

I’m trying to compile and run my code on a raspberry pi which needs the snmp libraries. However, I get linking errors such as “undefined reference to ‘EVP_DigestUpdate'”. I’ve been researching this issue for the past few days and found out that this usually happens when snmp can’t find the ssl library crypto, for example if you don’t specify -lcrypto

Advertisement