I installed Ubuntu 12.04 to virtual machine. I have edited /etc/network/interfaces like this:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
Then I created a livecd.iso using relinux. Network interfaces is changing after boot from DVD (livecd.iso).
/etc/network/interfaces after boot from DVD:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto wlan1
iface wlan1 inet dhcp
But It is changing different if I boot livecd.iso via NFS.
/etc/network/interfaces after boot via NFS(Network File System):
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto wlan0
iface wlan0 inet manual
auto eth1
iface eth1 inet manual
auto wlan1
iface wlan1 inet manual
I'm really confused. What is changing the network interfaces? How can I prevent the changes?
Note: After some research, someone pointed me /etc/udev/rules.d/70-persistent-net.rules file. It was empty. I removed it and created livecd.iso again but same things happened.
/) is likely to be different. Those aren't the same/etcs; neither are their contents the same. – Blacklight Shining Mar 11 '14 at 21:31iface eth0 inet manual ...) when boot this OS copy via NFS. I really don't understand what is wrong with NFS. Before anything else I use same livecd.iso but see different changes. So I think it is not about the live cd and its contents place. – Eyüp Alemdar Mar 11 '14 at 22:15/etc/network/interfacesbe being modified by NetworkManager or something similar? – Blacklight Shining Mar 14 '14 at 23:30