can a raspberry pi get internet from PC via rj45
I have a raspberry pi 1 B and I want it to be connected to pc through RJ45. The problem is I can't access to internet now Is there any solution to get internet shared via RJ45 from my PC ?
See also questions close to this topic
Sending an mp4 video over the network with avconv command to a raspberry pi in a piwall videowall
I would like to send an mp4 video from a raspbery pi to another raspberry-pi (in order to build a piwall) but the command I am using for sending a video stream (tested with correct outcome on other devices) doesn't work.
Details: I am using the avconv command from libav.org to send an mp4 video from a "master raspberry pi" through the network to my "slave raspberry pi". The raspberry pi (which is receiving the video) has the Raspbian Jessie Operating System on it. The goal of my experiment is to use the pwomxplayer command to display the video received on the "slave raspberry pi".
The full command i am using for sending the mp4 video stream is as follows: avconv -re -i input.mp4 -vcodec libx264 -f h264 -an udp://220.127.116.11:1234 (works when sending to my raspberry pi from my dell laptop)
It is interesting to note that when using the pre-mentioned avconv command on my dell laptop which has an intel processor and debian OS installed, the video stream is sent properly. However, the same command doesn't work when sending the video stream from a raspberry pi which has an arm processor and raspbian OS installed. I wonder why this is!
Am I right in thinking the arm processor is not interpreting my command avconv as well as the intel processor? Or is it more a question of architecture? Or is my avconv command syntax incorrect?
Thank you for your help!
More info: Ip address of master raspberry pi: 192.168.72.10 Ip address of slave raspberry pi: 192.168.72.11 I am using the route add -net 18.104.22.168 netmask 22.214.171.124 eth0 command on master pi to send the video stream to all laptops connected to my ethernet port. The following command works for files ending in .h264: avconv -re -i input.h264 -vcodec libx264 -f h264 -an udp://126.96.36.199:1234 (but I would like to send .mp4 files encoded with h264 not just .h264 files)
Send data through Wi-Fi in the same and in different network
Recently my friend and I got an idea on making my home remote controllable. I had a thought about using Raspberry Pi as a
MASTERdevice and ESP8266 or Arduino acting as
SLAVEdevices, which are going to control lights or blinds.
Basically the whole system is going to be controlled via smartphone. The previously written app will send configurations of
MASTERwill send configuration data to particular
For instance, let's have such a situation: * Names are in square brackets
Home: - Raspberry Pi (MASTER) - ESP8266 (SLAVE) [LIGHTS_KITCHEN] - ESP8266 (SLAVE) [LIGHTS_BEDROOM] - etc.
Using the app, I add 2
SLAVEdevices with names LIGHTS_KITCHEN and LIGHTS_BEDROOM to the main menu. They can both be either ON or OFF. The config will look like this:
or it can be just parsed in JSON.
How should I send data (configs) to my
MASTERdevice, when I'm not in the same network? I thought of sending SMS to RPi, but this solution feels a little bit dumb to me.
How should the
MASTERdevice (RPi) send data (configs) to
SLAVEdevices in the same network?
I've been programming for about 3 years, but still I don't get how networks work.
Run script by bluetooth on RPI3 : IO Error [Erno 10] No child processes
I would like to run a python script to my smartphone by bluetooth on RPI3. The problem, when I try to run the script, I got this error :
IOError: [Erno 10] No child processes
If I try to send command like
ls, cd...it works but if I try to run my python script it don't...
Thanks for your help.