Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: wifi network connection

From: hce <webmail.hce(at)gmail.com>
Date: Mon Dec 24 2007 - 23:30:11 EST


On 12/25/07, Mihira Fernando <mihiratheace@gmail.com> wrote:
> On Mon December 24 2007, hce wrote:
> > I did as per above, then did a reboot on my Debian laptop and ping
> > from my desktop in wifi local network:
> >
> > # ping -c 2 www.google.com
> > PING www.l.google.com (209.85.175.147): 56 data bytes
> >
> > --- www.l.google.com ping statistics ---
> > 2 packets transmitted, 0 packets received, 100% packet loss
> >
> > It seems that the DNS works, but still could not get through the
> > Internet via my laptop. The laptop does not formward packges to ppp0,
> > something seems still missing in my loptop?
> NAT on eth1. I though that was already understood.
> You need iptables package to be installed (chances are its already installed).
> Several ways to enable it but easiest would be to add a line to
> the /etc/network/interfaces
>
> find the lines that configures eth1 and add this line at the bottom :
> up iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
>
> then restart networking :
> # /etc/init.d/networking restart

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

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Mon Dec 24 23:30:43 2007

This archive was generated by hypermail 2.1.8 : Thu Feb 28 2008 - 01:13:54 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library