Red Hat Networking - HELP! Can get dialup connection to ISP but can't access 'net past that

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Networking > January 2004 > HELP! Can get dialup connection to ISP but can't access 'net past that





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author HELP! Can get dialup connection to ISP but can't access 'net past that
Daniel Hansen

2004-01-23, 7:32 pm

I'm attempting to connect my RH Linux box to the 'net via dialup for the first time.

I can get a dialup connection to my ISP but cannot see anything beyond that. Not even concerned about resolving names at this point -- I can't even
ping a straight IP address. I can access the box from my local Windows desktop (ssh/ftp/http) over an ethernet connection just fine, so my local net
seems (at least partially) OK.

route/ifconfig output and sanitized content of various config files follows.

HELP!!


========================================
========================================

output of route -n
.................................................................................
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
111.22.333.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 lo
0.0.0.0 111.22.333.1 0.0.0.0 UG 0 0 0 eth0
========================================
========================================

output of ifconfig
.................................................................................
eth0 Link encap:Ethernet HWaddr 00:60:97:2D:76:76
inet addr:111.22.333.1 Bcast:111.22.333.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1037 errors:0 dropped:0 overruns:0 frame:0
TX packets:1059 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:71950 (70.2 Kb) TX bytes:78004 (76.1 Kb)
Interrupt:5 Base address:0x220

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.255.255.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:190 errors:0 dropped:0 overruns:0 frame:0
TX packets:190 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17703 (17.2 Kb) TX bytes:17703 (17.2 Kb)

========================================
========================================

/etc/hosts
.................................................................................
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
111.22.333.1 nikto.foo.com
111.22.333.1 nikto
========================================
========================================

/etc/host.conf
.................................................................................
order hosts,bind
========================================
========================================

/etc/ppp/ppp-on
.................................................................................
#!/bin/sh
#
# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command. However, it is simple.
#
# These are the parameters. Change as needed.
TELEPHONE=1-555-666-7777 # The telephone number for the connection
ACCOUNT=me@myisp.com # The account name for logon (as in 'George Burns')
PASSWORD=thepassword # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
#LOCAL_IP=111.22.333.1 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
#
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
#
# This is the location of the script which dials the phone and logs
# in. Please use the absolute file name as the $PATH variable is not
# used on the connect option. (To do so on a 'root' account would be
# a security hole so don't ask.)
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
# Initiate the connection
#
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS2 38400 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

Dan Hansen
http://www.wildwisconsin.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com