I am trying to get an original model Raspberry Pi working. I've installed 2015-05-05-raspbian-wheezy, and if I boot with a TV connected via composite, I get image on the screen and it gets as far as the raspi-config
screen. So far, so good, but my wish is to perform a "headless" install - without screen & keyboard. So, I've connected the Pi to my local network via wired connection to my router. I have another computer, and I'm trying to ssh into the Pi from it.
sudo arp-scan --interface=wlan0 --localnet
Interface: wlan0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.100.1 00:0c:c3:7f:7e:63 BeWAN systems
1 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.8.1: 256 hosts scanned in 1.948 seconds (131.42 hosts/sec). 1 responded
That's my router. In the router's config panel, I can see the Pi and that it has an IP - in this case, 192.168.100.39.
ssh:
ssh pi@192.168.100.39
ssh: connect to host 192.168.100.39 port 22: No route to host
ping:
ping 192.168.100.39
PING 192.168.100.39 (192.168.100.39) 56(84) bytes of data.
^C
--- 192.168.100.39 ping statistics ---
75 packets transmitted, 0 received, 100% packet loss, time 74210ms
I got it through a couple of times, but the statistics look like 141 packets transmitted, 1 received, 99% packet loss, time 140674ms
nmap:
nmap -Pn 192.168.100.39 -p 22
Starting Nmap 6.47 ( http://nmap.org ) at 2015-06-16 15:03 EEST
Nmap scan report for 192.168.100.39
Host is up.
PORT STATE SERVICE
22/tcp filtered ssh
Nmap done: 1 IP address (1 host up) scanned in 2.82 seconds
Around the same time as I got a few ping requests through, the output from ssh
changed to ssh: connect to host 192.168.100.39 port 22: Connection timed out
sometimes, no route to host
as before on other times.
Edit: I now get consistent, sensible ping responses, with 0% packet loss. I did not change anything, so this is weird, but a change for the better. Also, the Pi is now visible with arp-scan:
arp-scan --localnet
Interface: wlan0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.100.1 00:0c:c3:7f:7e:63 BeWAN systems
192.168.100.39 b8:27:eb:f9:54:da (Unknown)
config.txt
and there are no uncommented HDMI entries. The picture does output via composite video, and to my knowledge, the two can't be enabled at the same time (?). – appas Jun 16 '15 at 13:24raspi-config
window, yes, but mine's different. Only the first nine entries are shown, and SSH is not one of them (as I said, I'm running headless, so I can't navigate the list). I found this piece of documentation: https://www.raspberrypi.org/documentation/remote-access/ssh/ that clearly says "You can enable or disable the SSH server on your Raspberry Pi (it is enabled by default)" – appas Jun 16 '15 at 13:32