On 12/25/07, Mihira Fernando <[EMAIL PROTECTED]> wrote:
> On Tue December 25 2007, hce wrote:
>
> > The iptables has already been installed. I added "up  iptables -t nat
> > -A POSTROUTING -o ppp0 -j MASQUERADE" to the /etc/network/interfaces
> > and restarted networking, it did not work. I then rebooted the laptop,
> > it still did not work. Now, ping from the desktop on wifi local
> > network got backward, please see following result:
> >
> > # ping -c 2 www.google.com
> > ping: www.google.com: Host name lookup failure
> >
> >
> > Thank you.
> >
> > Jim
>
> Can you post your unedited /etc/network/interfaces here ?

auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth1
iface eth1 inet static
        address 192.168.5.1
        netmask 255.255.255.0
        network 192.168.5.0

Thank you.

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to