kopia lustrzana https://github.com/F5OEO/rpidatv
Add fallback IP to 192.168.1.60
rodzic
a65e7d0e8f
commit
6f8cacb18a
|
@ -100,10 +100,6 @@ make
|
|||
cp hello_video.bin ../../bin/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# TouchScreen GUI
|
||||
# FBCP : Duplicate Framebuffer 0 -> 1
|
||||
cd /home/pi/
|
||||
|
@ -121,6 +117,9 @@ sudo install fbcp /usr/local/bin/fbcp
|
|||
cd ../../
|
||||
|
||||
|
||||
#Fallback IP to 192.168.1.60
|
||||
sudo bach -c 'echo -e "\nprofile static_eth0\nstatic ip_address=192.168.1.60/24\nstatic routers=192.168.1.1\nstatic domain_name_servers=192.168.1.1\ninterface eth0\nfallback static_eth0" >> /etc/dhcpcd.conf'
|
||||
|
||||
#enable camera
|
||||
sudo bash -c 'echo -e "\ngpu_mem=128\nstart_x=1\n" >> /boot/config.txt'
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue