I got my Raspberry Pi 3 Model B shipped recently. As I don't have any HDMI display, I ran to my neighbor's house to test my Pi. I used the memory card provided with the kit which had NOOBS preinstalled. I installed Raspbian and it worked like a charm.
Back at my house, I was trying to use my laptop's screen as display for my Pi and I came across a tutorial here- https://pihw.wordpress.com/guides/direct-network-connection/comment-page-4/#comment-7373
In the tutorial it's told to edit the cmdline.txt file in the Boot section and add a line ip=<ip addresshere>
and save it as cmdline.direct, then copy the original file and save as cmdline.normal, and then swap between the files. So I made the required edit and swapped the cmdline.direct with cmdline.txt (yes I did change the name), and I made the changes in Kali, as in Windows you can't really see the boot partition when using NOOBS. When I connected it to my lappy running Kali and tried ssh @169.254.0.2
I got an error saying that Destination Host is unreachable. When I try to ping the ip I get the same error.
I tried it on my Windows laptop with puTTY. All I got was a blank console screen which gave the very same error after a while.
What am I doing wrong? I really need to get my Pi working on my laptop. Both My Windows and Kali PCs are set to obtain IP's automatically.
Any help will be greatly appreciated. Thanks.
EDIT: I solved the problem for puTTY on Windows. I went to my neighbor's house and used his TV as HDMI output for my Pi and followed the tutorial, this time using the steps that were for when you have an HDMI output. The first step was to run the hostname -I
command which wasn't supposed to return anything, but in my case, returned an IP address. I immediately tried pinging that IP from my Windows PC and I could ping it. I then tried puTTY which gave me access to the Pi's terminal. Seems like the Pi is intelligent enough to assign itself a static IP. However I can still neither ping the same IP from Kali nor connect to it. Any idea why?