Re: wifi network connection



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

Mihira.
--
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been
approved.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re:SOLVED network traffic scheduling
    ... I was able to achieve using HTB queueing discipline. ... to see if we can send bursts of packets at regular intervals. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: Default Gateway Thorough A Programme
    ... General Red Hat Linux discussion list ... > supports it) which will pass the packets to user space program which can ... > process them and, if necessary, return them back to kernel for further ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • RE: 4.9-STABLE heavily dropping packets? libpcap issue?
    ... Subject: 4.9-STABLE heavily dropping packets? ... out that there are sometimes issues with the libpcap. ... This message was sent using IMP, the Internet Messaging Program. ... To unsubscribe, ...
    (freebsd-net)
  • Re: Problems with some web sites (tuning?)
    ... I have been having access problems with some web sites for quite ... suggest that the packets are undergoing a very high error rate. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: understand the logs
    ... I would think that you would want packets that don't match traffic ... your firewall rules to allow those packets and not ... other traffic from the local network but log it to syslog". ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)