[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re : [debian-knoppix] Can connect to ISP but can't connect to Internet (Former re: Modem problem)



Hi Jean-Luc,

Thanks for your advice.

On Fri, 2003-08-01 at 23:51, Jean-Luc Coulon (f5ibh) wrote:

> The address 202.123.68.1 is _your own_ ip address given by your isp 
> when negotiating the link.
> 
> So :
> 1 - it is normal that you can ping it
> 2 - it is normal that Konqueror gives up: it is looking for a web 
> server on your machine. If you had apache or any server running on your 
> machine with a default index.html in /var/www (these are defaults from 
> apache), you should see the index page of your own server.

Noted.  I have no web server running on the CD.

I did follows as per Achim's advice

root@ttyp0[root]# ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:202.123.68.72  P-t-P:202.123.71.254 
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:64 (64.0 b)  TX bytes:97 (97.0 b)

root@ttyp0[root]# ip route get 202.123.68.72
local 202.123.68.72 dev lo  src 202.123.68.72
    cache <local>  mtu 16436 advmss 16396

root@ttyp0[root]# cat /etc/resolv.conf
nameserver 202.123.77.209
nameserver 202.123.77.213

root@ttyp4[root]# cat /proc/sys/net/ipv4/ip_forward
0
root@ttyp4[root]# echo 1 >/proc/sys/net/ipv4/ip_forward

root@ttyp4[root]# cat /proc/sys/net/ipv4/ip_forward
1

root@ttyp4[root]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

root@ttyp4[root]# service iptables status
-su: service: command not found

Still could not connect to Internet.  Kindly advise how to
stop/restart/get status of ipables.

Thanks

B.Regards
Stephen


> On 01.08.2003 13:15, Stephen Liu wrote:
> > Hi Jean-Luc,
> > 
> > I carried further tests as follows;
> > 
> > Connected ADSL
> > ==============
> > 
> > root@ttyp0[root]# ifconfig ppp0
> > ppp0      Link encap:Point-to-Point Protocol
> >           inet addr:202.123.68.1  P-t-P:202.123.71.254
> > Mask:255.255.255.255
> >           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
> >           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:3
> >           RX bytes:64 (64.0 b)  TX bytes:97 (97.0 b)
> > 
> > root@ttyp2[root]# ping 202.123.68.1
> > PING 202.123.68.1 (202.123.68.1): 56 data bytes
> > 64 bytes from 202.123.68.1: icmp_seq=0 ttl=64 time=0.2 ms
> > 64 bytes from 202.123.68.1: icmp_seq=1 ttl=64 time=0.1 ms
> > 64 bytes from 202.123.68.1: icmp_seq=2 ttl=64 time=0.0 ms
> > 64 bytes from 202.123.68.1: icmp_seq=3 ttl=64 time=0.0 ms
> > 64 bytes from 202.123.68.1: icmp_seq=4 ttl=64 time=0.1 ms
> > ......
> > 
> > Started Konqueror
> > Try URL: http://202.123.68.1
> > Following warning popup:
> > An error occurred while loading http://202.123.68.1:
> > Could not connect to host 202.123.68.1
> > 
> > Tested on following IP address;
> > 
> > root@ttyp0[root]# ping -c1 80.237.200.164
> > PING 80.237.200.164 (80.237.200.164): 56 data bytes
> > 
> > --- 80.237.200.164 ping statistics ---
> > 1 packets transmitted, 0 packets received, 100% packet loss
> > root@ttyp0[root]# ping -c1 213.95.15.200
> > PING 213.95.15.200 (213.95.15.200): 56 data bytes
> > 
> > --- 213.95.15.200 ping statistics ---
> > 1 packets transmitted, 0 packets received, 100% packet loss
> > root@ttyp0[root]# ping -c1 194.112.123.200
> > PING 194.112.123.200 (194.112.123.200): 56 data bytes
> > 
> > --- 194.112.123.200 ping statistics ---
> > 1 packets transmitted, 0 packets received, 100% packet loss
> > root@ttyp0[root]# ping -c1 192.18.87
> > PING 192.18.87 (192.18.0.87): 56 data bytes
> > 
> > --- 192.18.87 ping statistics ---
> > 1 packets transmitted, 0 packets received, 100% packet loss
> > root@ttyp0[root]# ping -c1 217.72.195.42
> > PING 217.72.195.42 (217.72.195.42): 56 data bytes
> > 
> > root@ttyp0[root]# cat /etc/resolv.conf
> > nameserver 202.123.77.209
> > nameserver 202.123.77.213
> > 
> > ISP nameserver IP shown
> > 
> > root@ttyp3[root]# poff
> > root@ttyp3[root]# ifconfig ppp0
> > ppp0: error fetching interface information: Device not found
> > root@ttyp3[root]# pon
> > root@ttyp3[root]# ifconfig ppp0
> > ppp0      Link encap:Point-to-Point Protocol
> >           inet addr:202.123.68.1  P-t-P:202.123.71.254
> > Mask:255.255.255.255
> >           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
> >           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:3
> >           RX bytes:64 (64.0 b)  TX bytes:97 (97.0 b)
> > 
> > Still could not find out the cause.
> > 
> > B.Regards
> > Stephen
> > 
> > 
> > On Thu, 2003-07-31 at 18:27, Jean-Luc Coulon (f5ibh) wrote:
> > > Hi,
> > >
> > > When there are more than one pppd running you have to pass the
> > command
> > > poff -a  (as root).
> > >
> > > Then retry the operation : connect / check the dns / try to surf
> > >
> > > ---
> > > Regards
> > > 	Jean-Luc
> > >
> > > On 31.07.2003 10:55, Stephen Liu wrote:
> > > > Hi Jean-Luc,
> > > >
> > > > On Wed, 2003-07-30 at 19:44, Jean-Luc Coulon (f5ibh) wrote:
> > > >
> > > > > Your problem seems to be a dns problem.
> > > > > You should have a /etc/ppp/options file
> > > > > Add a line :
> > > > > usepeerdns
> > > >
> > > > As advised.  Use Midnight Commander (mc) to add the above line to
> > > > /etc/ppp/options (I am not allowed to use kedit)
> > > >
> > > > Start configuring ADSL and connect to ISP.  DNS added
> > automatically
> > > > without asking for
> > > >
> > > > # cat /etc/resolv.conf
> > > > nameserver 202.123.77.209
> > > > nameserver 202.123.77.213
> > > >
> > > >
> > > > root@ttyp0[root]# ifconfig ppp0
> > > > ppp0      Link encap:Point-to-Point Protocol
> > > >           inet addr:202.123.68.95  P-t-P:202.123.71.254
> > > > Mask:255.255.255.255
> > > >           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492
> > Metric:1
> > > >           RX packets:7 errors:0 dropped:0 overruns:0 frame:0
> > > >           TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
> > > >           collisions:0 txqueuelen:3
> > > >           RX bytes:208 (208.0 b)  TX bytes:97 (97.0 b)
> > > >
> > > > ISP connected but still fail to connect to Internet.
> > > >
> > > > root@ttyp0[root]# poff
> > > > /usr/bin/poff: More than one pppd running and no -a option and
> > > > no arguments supplied. Nothing stopped.
> > > >
> > > > I am not allowed to disconnect.
> > > >
> > > > B.Regards
> > > > Stephen

_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: