I have a raspberry pi and it has 2 configuration files in /etc/network/, although I set it up I'm very new to networking and not sure what each of the lines do or what the differences are between the two files, particularly with regards to eth0. The active file is copied as /etc/network/interfaces.I read through this question but I have the following question:With config 1 and the ethernet cable connected to the internet what is the expected behaviour? Also using config 1 is there any reason a windows computer shouldn't be able to connect to the ad hoc network?Configuration 1:The raspberry should create an ad hoc wifi network that someone can connect to.auto loiface lo inet loopbackiface eth0 inet dhcpauto wlan0iface wlan0 inet    address 192.168.1.1    netmask 255.255.255.0    wireless-channel 1    wireless-essid RPiwireless    wireless-mode ad-hocConfiguration 2:The raspberry pi will connect to the internet if it has the correct settings in the wpa file or if an ethernet cable is connected to it.auto loiface lo inet loopbackauto eth0allow-hotplug eth0iface eth0 inet manualauto wlan0allow-hotplug wlan0iface wlan0 inet manualwpa-conf /etc/wpa_supplicant/wpa_supplicant.confauto wlan1allow-hotplug wlan1iface wlan1 inet manualwpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
How does the following network configuration differ on eth0?
network interface;interface