I've been trying to reconfigure my second Raspberry Pi after half a year since the first one. When I refer back my old notes (which worked for the first one), I could not get the static IP working for the second R-Pi. Could it be possibly due to the different internet setting? (I'm currently using my campus LAN)
my /etc/network/interfaces
looks like this:
auto lo
iface lo inet loopback
iface eth0 inet static
address 172.20.15.120
netmask 255.255.252.0
network 172.20.12.0
broadcast 172.20.15.255
gateway 172.20.15.254
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
However after I did a
$ sudo /etc/init.d/networking restart
and ifconfig
it does not give me any address.
What's wrong with my configuration? Another question, can I have both Ethernet and WiFi dongle connected?