Raspberry PI

Connect to RPI without a monitor/keyboard using ethernet

  1. Place the SD card with raspbian on your other computer
  2. Open the boot partition
  3. Look for the file cmdline.txt and make a copy of it (cmdline.txt.orig)
  4. Edit cmdline.txt and add ip= at the end of the line
  5. Unmount the SD card
  6. Plug the ethernet cable on both computer and RPI
  7. Ping to see if it works
  8. ssh pi@ password: raspberry

Configure Wifi dongle on RPI

  1. SSH to RPI
  2. Edit /etc/network/interfaces and change to:
auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "your-network-name"
wpa-psk "password-here"
  1. Reboot sudo reboot
  2. On your computer, try to use nmap to find the IP of your RPI:
sudo nmap -sP
  1. Connect to that by SSH with ssh pi@

Another option is to edit the same file on a mounted SD card.