I want to build a minimal system for raspberry pi (B+) to improve the performance of my face detection algorithm ...
I have found BuildRoot
: for the configuration i found that it's not necessary to do the configuration myself and instead i have used the provided one :
make raspberrypi_defconfig
make
Now i don't have a HDMI Cable to connect the pi ... when connecting it to my laptop the red led is on and the green led start flashing : that mean that the pi is reading the SD card correctly It's the first time i'm using buildroot , and i don't know how to enable ssh for the pi or how to display the pi adress. Note this is not a duplicate of Prepare for ssh without a screen because in the solution they provided
To enable ssh at startup, backup boot.rc on the boot partition on the SD image and replace it with boot_enable_ssh.rc
Well i don't have a file called boot.rc
I am able to access the sd card using ubuntu 14.04 , running ls from boot folder show this:
bootcode.bin cmdline.txt config.txt fixup.dat start.elf zImage
i have also tried to use a static ip by adding 10.42.0.5 to cmdline.txt but after that i can't connect to the pi with this adress. So i have two issue :
- How to connect to the pi adress when using buildroot : Link to Solution
- How to set up and connect to the pi using ssh using buildroot and witout HDMI.
Btw i'm using a ethernet cable to connect to the pi
Thanks :)
UPDATE : i have added the link to solution for the first issue Now the pi address appear after scanning the ethernet network :
nmap -sP 10.42.0.0/24
Nmap scan report for 10.42.0.5
Host is up (0.00076s latency).
Now the issue i have is how to enable ssh to be able t connect to the pi witout HDMI (using Buildroot)
When trying to ssh the pi (buildroot is the system hostname used ) :
ssh buildroot@10.42.0.5
ssh: connect to host 10.42.0.5 port 22: Connection refused
I think it because ssh it's not enabled !!!
sudo nmap -sP 192.168.0.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
you may need to tweak the network address specified by192.168.x.0/24
where X is somewhere between 0-255 inclusive which would cover you for the private Class C address range reserved for LANs. This filters the results for the unique MAC address that the Ethernet Interface on the Pi will have... – SlySven Jan 24 '16 at 19:04sudo nmap -sP 10.42.0/24
give me 1 host is up (it's my laptop) but no other devices detected !!! Note : my ethernet adress is 10.42.0.1 and the commandsudo nmap -sP 10.42.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
give an empty output – The Beast Jan 24 '16 at 20:21ssh@10.42.0.5
after choosing that static ip – The Beast Jan 24 '16 at 20:49