2. Dial-up ISP Internet Connection
Follow these steps to connect to your ISP via dial-up modem:
- You should have installed the packages kdenetwork-ppp*.rpm and ppp*.rpm
- At bash prompt type '/usr/bin/kppp'. This will bring up the KPPP dialog boxes.
- On 'Accounts' tab setup the 'New Connection', and click the following tabs:
- On 'Dial' tab use Authentication='PAP/CHAP', yes to 'Store Password'
- On 'IP' tab select 'Dyanamic IP Address' and uncheck 'Auto-configure hostname'
- On 'Gateway' tab select 'Default Gateway' and check 'Assign the Default Route'
- On 'DNS' tab select 'Configuration Automatic' and check 'Disable existing DNS'
- On 'Login Script' tab - do nothing here
- On 'Execute' tab - do nothing here
- On 'Accounting' tab - do nothing here
- On 'Device' tab select the proper modem device like ttyS1(com1), ttyS2 (com2)
- On 'Modem' tab 'Query Modem' to see the results. If no results come up, go to device tab and pick the proper device.
- Enter login ID and password and connect.
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