Follow these steps to connect to your ISP via dial-up modem:
bash$ ping www.yahoo.com PING www.yahoo.com(66.218.71.83) from 64.152.245.119 : 56(84) bytes of data. 64 bytes from www.yahoo.com (66.218.71.83): icmp_seq=0 ttl=58 time=236.931 msec 64 bytes from www.yahoo.com (66.218.71.83): icmp_seq=1 ttl=58 time=229.074 msec bash$ ping www.google.com bash$ su - root # ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 ppp0 Link encap:Point-to-Point Protocol inet addr:64.158.37.63 P-t-P:209.244.43.188 Mask:255.255.255.255 # netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 209.244.43.183 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0 127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo 0.0.0.0 209.244.43.183 0.0.0.0 UG 40 0 0 ppp0
If you are getting the connection and getting the local IP address and Remote IP address from KPPP dialer but you are not able to do ping on a remote host like 'ping www.yahoo.com' then do:
bash$ su - root # ifconfig See the listing above and temporarily disable other interfaces like eth0, eth1 # ifconfig eth0 down # ifconfig eth1 down # ifconfig eth2 down # ifconfig This should list only ppp0 and lo
bash$ ping www.yahoo.com If connection is okay, then do: bash$ su - root # ifconfig eth0 up # ifconfig eth1 up # ifconfig eth2 up # ifconfig
If you still have problems then refer to the KPPP user guides and FAQs as below:
$ rpm -ql kdenetwork-ppp $ cd /usr/share/doc/HTML/en/kppp $ docbook2html kppp-faq.docbook 1> kppp-faq.html $ docbook2html index.docbook 1> index.html
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |