The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

Next Previous Contents

2. Dial-up ISP Internet Connection

Follow these steps to connect to your ISP via dial-up modem:

After doing the above steps, you would have connected to internet. To test do:
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

You will see the listing like above. If you are not able to do 'ping www.yahoo.com' or 'ping www.google.com' then there is some trouble. See the next section 'Troubleshooting'

2.1 Troubleshooting ISP Connection

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

Once other interfaces like eth0, eth1, eth2 are disabled, now disconnect and reconnect with KPPP dialer. After the connection to internet is successful, you can re-enable other interfaces as below:
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


Next Previous Contents


Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру