Advertisement
Guest User

problem with wifi

a guest
Apr 4th, 2015
223
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <turtlehat> hellose gaise
  2. <turtlehat> i have set up wifi on my pi, and i can ping it fine, but i cant connect to ssh
  3. <turtlehat> what gives
  4. <turtlehat> raspbian
  5. <turtlehat> and i can see that right after i try connecting to ssh on the wlan0 interface, it stops responding to pings
  6. <turtlehat> but if i then plug my ethernet cable, connect to the ethernet address, ifdown wlan0 && ifup wlan0, then i am able to connect to ssh on the wlan0 interface
  7. <turtlehat> what the fudge gives
  8.  
  9.  
  10.  
  11. root@twopi:~# cat /etc/network/interfaces
  12. auto lo
  13. iface lo inet loopback
  14.  
  15. auto eth0
  16. allow-hotplug eth0
  17. iface eth0 inet dhcp
  18.  
  19.  
  20. auto wlan0
  21. allow-hotplug wlan0
  22. iface wlan0 inet dhcp
  23. wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  24.  
  25. iface default inet dhcp
  26.  
  27.  
  28.  
  29.  
  30.  
  31. root@twopi:~# cat /etc/wpa_supplicant/wpa_supplicant.conf
  32. ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
  33. #update_config=1
  34.  
  35.  
  36. network={
  37. ssid="xxxx"
  38. psk="xxxxxxxxx"
  39. id_str="xxx"
  40. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement