Go to advanced search

by Dobflem
Wed Aug 27, 2014 8:46 am
Forum: Other
Topic: eth0 won't connect unless network restarted - Buildroot
Replies: 2
Views: 1804

eth0 won't connect unless network restarted - Buildroot

I used buildroot to generate a raspberry pi image using raspberrypi_defconfig. When I boot it up it comes on and I log in but it will not connect to ethernet. If I run ifconfig only lo shows up. To get this working I must use '/etc/init.d/S40network restart' to get it to detect the eth0 interface. I...
by Dobflem
Tue Jul 29, 2014 10:34 am
Forum: Beginners
Topic: Connect through ssh and execute command
Replies: 1
Views: 1167

Connect through ssh and execute command

Hi, I've set up my pi so that I can connect without a password. (id_rsa.pub) I would like to write a batch script that simply: ssh pi@10.10.10.73 cd ~/gitRepos/MyRepo git pull Any ideas on how to do this? Note: I have tried this in a .sh file: ssh pi@10.10.10.73 <<'ENDSSH' cd ~/gitRepos/MyRepo git p...

Go to advanced search