I have set up the Raspberry Pi to work fine with Raspbian on Wi-Fi, etc., but when I would try to connect after a reset the IP address would change. Then I spent all this time changing the configurations to get a static IP address, and now that it is static, all of a sudden I cannot connect to the Raspberry Pi.
I have no external monitor, so everything has been done headless, but now I cannot connect even over eth0 (even if I ping the address that I get with arp -a
, the connection gives timeout). What is the issue? (I am using OS X).
Here is the last attempt, and I also tried diff port.
ssh [email protected] -vvv
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.104 [192.168.1.104] port 22.
debug1: connect to address 192.168.1.104 port 22: Operation timed out
ssh: connect to host 192.168.1.104 port 22: Operation timed out
$ ssh [email protected] -p 80
ssh: connect to host 192.168.1.104 port 80: Operation timed out
This is wpa_supplicant file
ctrl_interface=DIR=/var/wpa_supplicant Group=netdev
update_config=1
network={
ssid="my network"
id_str="home"
psk="password"
}
interfaces
file
auto lo
iface lo inet loopback
iface etho0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
netatalk
on the Pi and connect from OS X to `raspberrypi.local'iface wlan0 inet manual
wpa_supplicant won't do anything. If you have broken this and can't get into the system remove the WIfi adapter, and use Ethernet. NOTE you still haven't provided any information about your configuration (physical or configuration). The "only thing that I changed" comment is usually an indication that the questioner can't or won't supply the needed information to help solve the problem./etc/network/interfaces
andwpa_supplicant.conf
we can't help you.