I am following this tutorial as in this question. However, I know in this case I do not need a cross-over cable because I got it to work with a touch screen modded version of Raspbian. My steps that worked for that OS were: add ip=169.254.0.2
at end of cmdline.txt
file, plug in Ethernet cord (one end in Pi and the other one in the laptop), and run PuTTY and type hostname (or 169.254.0.2
).
I wanted to do this on a non-modded, fresh version of Raspbian. So I did the same steps. I went to cmdline.txt
and added the same line to the end, saved it and plugged the internet cord in. However, when I tried to use PuTTY to access it it gave me the error, Error: Permission Denied
. I'm running Windows 8 on my laptop. I tried running the program with administrator privileges but that did not work either. I have been going on the assumption that SSH is enabled by default in the newest versions of Raspbians.
Could someone please explain why it might work for an OS very similar to Raspbian (just tweaked to send display over GPIO to a touchscreen), but not work on a fresh install of it?
Update 1
I re-imaged the latest version of Raspbian to eliminate any problems, and added the line to commandline.txt
. When I tried to ssh into it it gave me the error, after a long wait: software aborted request
. When I tried it again it always said connection timed out, or when I try to log in via the hostname: hostname "raspberrypi" not found.
Any ideas. I am really in a fix here and cannot think of anything!
Update 2
To make sure that it was not a problem with antivirus software, etc I disabled all my firewalls, etc. However, it still gives me the same errors.
169.254.0.2
for IP address. What about your laptop? Which address does it get once directly connected to the Pi? – Huygens Jul 07 '15 at 21:22