internet in virtual machine not running

Tom H tomh0665 at gmail.com
Sat Oct 23 14:02:29 UTC 2010


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"?




More information about the ubuntu-users mailing list