So , I've this raspberry pi and i want it to connect it to internet headless.
i saw some tutorials in which they said to do this :
network and sharing -> my wifi adapter - > properties - > turned on sharing.
connected raspberry pi to the laptop went to network and sharing went to "ethernet." and turned on radio button " obtain ip address automatically " .
inspite of doing this i am not getting anything assigned to the ethernet port.
what should i do. which address i should use in putty.
also,
when i edit the cmdline file in raspberry pi i am able to login but i cant access internet at that time.
please help.
-------------------------------------------------
i am using rpi model 2.
trying it to connect it to internet via ethernet cable by connecting it to "laptop"