Re: My Debian box can't connect Internet
Thanks for your advice.
The Debian box is connected to broadband via a ADSL modem with dynamic
IP. I ran 'pppoeconfig' to setup the connection. Up to this point it
seemed without problem, ISP connected and confirmed with 'ifconfig'.
But connection to Internet was blocked. I searched around to find out
whether the gateway in the network card has entry which will mislead
looking to the gateway and could not find it. '/etc/init.d/iptables
stop' reconfirmed firewall having not started (I have not configured
I could not discover the cause of blocking connection to Internet.
On Sat, 2003-12-13 at 21:41, Robert Storey wrote:
> Dear Stephen,
> You didn't say what kind of broadband you want to connect to. There would be a difference between adsl and cable, as well as pppoe and adsl with a fixed address.
> I'm not an expert, but I just yesterday connect to adsl (using pppoe). If that describes your situation, try running "pppoeconf" - it's fairly intuitive and it worked well for me.
> As for using "ping", I understand that many web sites are blocking the ping command (or am I wrong about this?). I'm using Guarddog as a firewall, and I've also got ping blocked.
> On Sat, 13 Dec 2003 00:29:33 +0800
> Stephen Liu <firstname.lastname@example.org> wrote:
> > Hi folks,
> > My Debian box can't connect Internet, Broadband connected.
> > # ifconfig
> > showed connecting ISP
> > I played around with following files without a solution;
> > # cat /etc/network/ifstate
> > lo=lo
> > eth0=eth0
> > # cat /etc/network/interfaces
> > # /etc/network/interfaces -- configuration
> > file for ifup(8), ifdown(8)
> > # The loopback interface
> > auto lo
> > iface lo inet loopback
> > # The first network card - this entry was created during the Debian
> > installationauto eth0
> > iface eth0 inet dhcp
> > # cat /etc/network/spoof-protect
> > LOCAL_IPS="127.0.0.1/8"
> > LOCAL_IFACES="eth0 eth1 ppp0"
> > (Remark: having tried;
> > #LOCAL_IPS="127.0.0.1/8"
> > #LOCAL_IFACES="eth0 eth1 ppp0"
> > LOCAL_IFACES="eth0 ppp0"
> > After each change made
> > # /etc/init.d/networking restart
> > Reconfiguring network interfaces: done)
> > # cat /etc/network/interfaces.dpkg-new
> > # (no output, an empty file)
> > # cat /etc/network/options
> > ip_forward=no
> > spoofprotect=yes
> > syncookies=no
> > (having tried;
> > ip_forward=yes
> > spoofprotect=no
> > syncookies=yes)
> > # ping -c 3 www.yahoo.com
> > ping: unknown host www.yahoo.com
> > # /etc/init.d/iptables stop
> > Aborting iptables load: unknown ruleset, "inactive".
> > iptables has not been configured yet
> > Kindly advise how to fix the problem.
> > Thanks in advance.
> > B.R.
> > Stephen Liu