THis is my first post on these forums and unsuprisingly its about a problem I am having.
Currently I am trying to set up my raspberry pi headless with a wi-fi connection. This is connecting through my Sky Router, which is WPA2-PSK secured.
Working through the process I have sucessfully got the pi to do the following:
-Autoboot and Login to startx
-set up eth0 as a static IP and access the WWW
-Tested my wireless dongle (TP Link WN723N) wherein I sucessfully connected to the WWW using the WIFI Config Tool
However this all comes unstuck when I have tried to connect automatically to my network on boot. I have tried it with both DHPC and Static assigned IP addresses. But for now I am just trying to get the DHCP method working.
For this I have been modifying /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf only. Trying to use the supplicant method so I can set up a few wireless profiles in future.
Up to now the router and pi automatically assign an IP address, that is confirmed by both the router and ifconfig. In additon to the blue light on the dongle flashing happily. However there is no connection to the WWW and neither can I ping the pi from another device on the network.
Can anyone offer any advice or working configuration of the two files above? I have been follwoing the instructions on multitues of threads and websites to get this sorted but nothing seems to work even after /etc/init.d/network restarts and full system reboots.
currently /etc/network/interfaces is:
Code: Select all
auto lo
iface lo inet dhcp
auto eth0
iface eth0 inet static
address 192.168.0.22
netmask 255.255.255.0
gateway 192.168.0.1
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface sky1 inet dhpc Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="SKYAB123"
psk="ABCDEFGH"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
auth_alg=OPEN
id_str="sky1"
}
Thanks in Advance,
Martin