internet in virtual machine not running

Christopher Chan christopher.chan at bradbury.edu.hk
Sat Oct 23 14:08:37 UTC 2010


Tom H wrote:
> On Sat, Oct 23, 2010 at 9:22 AM, Christopher Chan
> <christopher.chan at bradbury.edu.hk> wrote:
>> Tapas Mishra wrote:
>>>>> auto lo
>>>>> iface lo inet loopback
>>>>> iface eth0 inet static
>>>>> address 192.168.1.4
>>>>> netmask 255.255.255.0
>>>>> gateway 192.168.1.1
>>>>> pre-up iptables-restore < /etc/iptables.rules
>>>> auto lo
>>>> iface lo inet loopback
>>>> iface eth0 inet static
>>>>        address 192.168.1.4
>>>>        netmask 255.255.255.0
>>>>        gateway 192.168.1.1
>>>>        pre-up iptables-restore < /etc/iptables.rules
>>> What is your post helpful to?
>> Your file had the wrong format and I fixed it for you.
> 
> Wrong format? Indents don't make a difference in "/etc/network/interfaces".
> 
> Why isn't there an "auto eth0"?
> 

Oops...missed out the auto eth0. That's what I get for rushing out an 
email early in the morning.

Indents don't make a difference? Oh. I guess the indentations are just 
for readability then.




More information about the ubuntu-users mailing list