Here is my /etc/network/interfaces
- Code: Select all
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.106
netmask 255.255.255.0
gateway 192.168.1.1
#auto wlan0
#allow-hotplug wlan0
#iface wlan0 inet manual
#wpa-driver wext
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
auto wlan0
iface wlan0 inet static
wpa-ssid "**********"
wpa-psk "******"
address 192.168.1.102
netmask 255.255.255.0
gateway 192.168.1.1
iface default inet dhcp
i can ping from my computer to pi,and in pi i can not get conneted with internet.
any suggestions,guys?